diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
commit | c82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch) | |
tree | 74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-purl/APKBUILD | |
parent | d463d1589d67f322eabd49166a2bdb78de0d0a34 (diff) | |
download | aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2 aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz |
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-purl/APKBUILD')
-rw-r--r-- | main/py-purl/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-purl/APKBUILD b/main/py-purl/APKBUILD new file mode 100644 index 0000000000..82e8f3b78f --- /dev/null +++ b/main/py-purl/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-purl +_pkgname=purl +pkgver=1.1 +pkgrel=0 +pkgdesc="An immutable Python URL class for easy URL-building and manipulation" +url="https://github.com/codeinthehole/purl" +arch="noarch" +license="MIT" +depends="python py-six" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$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="18e85232396ce60d2e77baed7c5c90e4 purl-1.1.tar.gz" +sha256sums="117d2ae7476e3108f4235bb833d6da2ac72c73c3711834f012c3ae576d909c10 purl-1.1.tar.gz" +sha512sums="80902315f3b897baf1c2a3e2f9bff89f692416fb79fa119b83aee28ae85d4d3afb3c099a3264ffa8abf15d9aea97ad287e1a80e4d516679740be946aa5a4741a purl-1.1.tar.gz" |