diff options
author | Michał Polański <michal@polanski.me> | 2020-10-18 17:54:32 +0200 |
---|---|---|
committer | Michał Polański <michal@polanski.me> | 2020-10-18 17:54:32 +0200 |
commit | e597599f1ffd02a14fa84192326d3effe9659da4 (patch) | |
tree | 4cfe455e8e6884daf180155f23b4b6f27025a7d1 | |
parent | 5c399b661c8f0a50b02ce53be31483fc5b83004b (diff) |
testing/py3-uritools: new aport
Python functions for URI parsing, classification, and composition
https://github.com/tkem/uritools
-rw-r--r-- | testing/py3-uritools/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-uritools/APKBUILD b/testing/py3-uritools/APKBUILD new file mode 100644 index 00000000000..6b4ce074d4c --- /dev/null +++ b/testing/py3-uritools/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michał Polański <michal@polanski.me> +# Maintainer: Michał Polański <michal@polanski.me> +pkgname=py3-uritools +_pkgname=uritools +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Python functions for URI parsing, classification, and composition" +url="https://github.com/tkem/uritools" +license="MIT" +arch="noarch" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="$_pkgname-$pkgver.tar.gz::https://github.com/tkem/uritools/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build +} + +sha512sums="54b29a4a086e2f2a4ac9c26c2e97e1c7acb62cc332b1f0fd0ca0c7d04dc547781fcb01894de4803747a7ff2da14953a2a47150068623aeb3bb10ed26368c429e uritools-3.0.0.tar.gz" |