diff options
author | William Pitcock <nenolod@dereferenced.org> | 2013-08-31 20:32:09 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2013-08-31 20:32:09 +0000 |
commit | 1f5b74ca6649c3c5cb2dbcf29dd06baa218cc8c7 (patch) | |
tree | 513efe14fc51cd435f42c4cb23a2e452a37424f2 /testing/py-tinycss | |
parent | e0b9a74a8039713bc995692a901a0b49bb3fe285 (diff) | |
download | aports-1f5b74ca6649c3c5cb2dbcf29dd06baa218cc8c7.tar.bz2 aports-1f5b74ca6649c3c5cb2dbcf29dd06baa218cc8c7.tar.xz |
testing/py-tinycss: new aport
Diffstat (limited to 'testing/py-tinycss')
-rw-r--r-- | testing/py-tinycss/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-tinycss/APKBUILD b/testing/py-tinycss/APKBUILD new file mode 100644 index 0000000000..497c65e9ac --- /dev/null +++ b/testing/py-tinycss/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=py-tinycss +pkgver=0.3 +pkgrel=0 +pkgdesc="tiny CSS parser for python" +url="http://pythonhosted.org/tinycss" +arch="all" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/t/tinycss/tinycss-$pkgver.tar.gz" + +_builddir="$srcdir"/tinycss-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="13999e54453d4fbc9d1539f4b95d235e tinycss-0.3.tar.gz" +sha256sums="a4adabd1c417080372c789220f7f9985995e74f2fb612848306872a232862cde tinycss-0.3.tar.gz" +sha512sums="1fdf29777ee7b3ef39cf2169d8f464a7e5aea850de8a7976acf3ed9e73e831ea0d7ee52b4c8c9979b2263509cbffe1bde85cf6da178ddeaac9009ace7a2b4441 tinycss-0.3.tar.gz" |