updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / python-webcolors / PKGBUILD
blobe3285aa5f4e5dca6dafe31179236061a76519aca
1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
3 pkgname=python-webcolors
4 true && pkgname=('python-webcolors' 'python2-webcolors')
5 pkgver=1.3.1
6 pkgrel=1
7 pkgdesc="Provides utility functions for working with the color names and color value formats defined by the HTML and CSS specifications."
8 arch=(any)
9 url="http://docs.b-list.org/webcolors/1.3.1"
10 license=(BSD)
11 makedepends=('python-distribute' 'python2-distribute')
12 changelog=Changelog
13 source=("http://pypi.python.org/packages/source/w/webcolors/webcolors-${pkgver}.tar.gz")
14 md5sums=('aeb4f33be6c26ec7f76a78c2d88cfb0c')
16 package_python-webcolors() {
17   depends=(python)
18   conflicts=(python-webcolors-hg)
19   cd "${srcdir}/webcolors-${pkgver}"
20   python setup.py install --root="$pkgdir/" --optimize=1
23 package_python2-webcolors() {
24   depends=(python2)
25   conflicts=(python2-webcolors-hg)
26   cd "${srcdir}/webcolors-${pkgver}"
27   python2 setup.py install --root="$pkgdir/" --optimize=1