diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-18 15:17:28 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-18 19:32:33 +0000 |
commit | b6c18774d963bfcf1de065a713238b5ad35cef38 (patch) | |
tree | 8f76590d59e814c9b7f4534bbb2582cbb36a3899 | |
parent | 0d8505beba92ba20d7eddb4cb09c11d5d7c8ecd4 (diff) | |
download | aports-b6c18774d963bfcf1de065a713238b5ad35cef38.tar.bz2 aports-b6c18774d963bfcf1de065a713238b5ad35cef38.tar.xz |
testing/py3-giturlparse: new aport
https://github.com/nephila/giturlparse
Parse and Rewrite git URLs
-rw-r--r-- | testing/py3-giturlparse/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-giturlparse/APKBUILD b/testing/py3-giturlparse/APKBUILD new file mode 100644 index 0000000000..e9b8b1f090 --- /dev/null +++ b/testing/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" |