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')
7 pkgdesc="Provides utility functions for working with the color names and color value formats defined by the HTML and CSS specifications."
9 url="http://docs.b-list.org/webcolors/1.3.1"
11 makedepends=('python-distribute' 'python2-distribute')
13 source=("http://pypi.python.org/packages/source/w/webcolors/webcolors-${pkgver}.tar.gz")
14 md5sums=('aeb4f33be6c26ec7f76a78c2d88cfb0c')
16 package_python-webcolors() {
18 conflicts=(python-webcolors-hg)
19 cd "${srcdir}/webcolors-${pkgver}"
20 python setup.py install --root="$pkgdir/" --optimize=1
23 package_python2-webcolors() {
25 conflicts=(python2-webcolors-hg)
26 cd "${srcdir}/webcolors-${pkgver}"
27 python2 setup.py install --root="$pkgdir/" --optimize=1