diff options
Diffstat (limited to 'community/py3-giturlparse/APKBUILD')
-rw-r--r-- | community/py3-giturlparse/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-giturlparse/APKBUILD b/community/py3-giturlparse/APKBUILD new file mode 100644 index 0000000000..e9b8b1f090 --- /dev/null +++ b/community/py3-giturlparse/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Leo <thinkabit.ukim@gmail.com> +pkgname=py3-giturlparse +pkgver=0.9.2 +pkgrel=0 +pkgdesc="Parse and Rewrite git URLs" +url="https://github.com/nephila/giturlparse" +arch="noarch" +license="Apache-2.0" +depends="python3" +makedepends="py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/nephila/giturlparse/archive/0.9.2.tar.gz" +builddir="$srcdir/giturlparse-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" + rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests +} + +sha512sums="b82bb96f4b0a242364a0173b15fefc507dec85c176aa0fc679c4554f71ec6a11b18b8886e34b5ce080759d56070a9126f54167dda89be592db0f6df4728bfd4c py3-giturlparse-0.9.2.tar.gz" |