diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-16 02:48:47 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-02 01:43:47 +0000 |
commit | aad2afe051973fa7fd6f4f9b83703c09445ff17c (patch) | |
tree | 4266144bb0c3984f784b0dd910d33fa98a72c353 /community/py3-purl | |
parent | aad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff) | |
download | aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.bz2 aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.xz |
community/py3-*: move from main/ and modernize
Diffstat (limited to 'community/py3-purl')
-rw-r--r-- | community/py3-purl/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/py3-purl/APKBUILD b/community/py3-purl/APKBUILD new file mode 100644 index 0000000000..1c2f963606 --- /dev/null +++ b/community/py3-purl/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-purl +_pkgname=purl +pkgver=1.5 +pkgrel=3 +pkgdesc="An immutable Python3 URL class for easy URL-building and manipulation" +url="https://github.com/codeinthehole/purl" +arch="noarch" +license="MIT" +depends="py3-six" +# Tests are not included in the tarball +options="!check" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +replaces="py-purl" # Backwards compatibility +provides="py-purl=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="e7ef3dbe51117c2807a5cd472967d90c9f16fc1090f2edcaf3c4fe0bbc95b8ef8d612d5ca98401caf5a94c5b0335949ac0ac490bc694e571ff516b7bf53fae32 purl-1.5.tar.gz" |