diff options
author | Galen Abell <galen@galenabell.com> | 2019-12-09 17:41:08 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-10 10:17:48 +0100 |
commit | 6d22be529cc62c56acdf90eae69107281a28e657 (patch) | |
tree | 3a2910106687cbb7d1cd00c2384c00443030e3e1 /testing/py3-tldextract | |
parent | 2befb2cb492f2ff03dd888143ffc800ca2657df9 (diff) | |
download | aports-6d22be529cc62c56acdf90eae69107281a28e657.tar.bz2 aports-6d22be529cc62c56acdf90eae69107281a28e657.tar.xz |
testing/py3-tldextract: new aport
https://github.com/john-kurkowski/tldextract
Accurately separate the TLD from the registered domain and subdomains of a URL
testing/
Diffstat (limited to 'testing/py3-tldextract')
-rw-r--r-- | testing/py3-tldextract/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-tldextract/APKBUILD b/testing/py3-tldextract/APKBUILD new file mode 100644 index 0000000000..811fa342a4 --- /dev/null +++ b/testing/py3-tldextract/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Galen Abell <galen@galenabell.com> +# Maintainer: Galen Abell <galen@galenabell.com> +pkgname="py3-tldextract" +_pyname="tldextract" +pkgver="2.2.2" +pkgrel=0 +pkgdesc="Accurately separate the TLD from the registered domain and subdomains of a URL" +url="https://github.com/john-kurkowski/tldextract" +arch="noarch" +license="BSD-3-Clause" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-pytest py3-responses" +source="$_pyname-$pkgver.tar.gz::https://github.com/john-kurkowski/tldextract/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="d8bd876910cb5ac2d66286eac965cc726f1bd786469da35bff1e1da32664b1c21eeb0c8f29a77f1393791285c1fc40cdf95b15d0c9d03ef77e91587bebf5b20b tldextract-2.2.2.tar.gz" |