Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9351B782B9C for ; Mon, 9 Dec 2019 16:41:18 +0000 (UTC) Received: (Migadu outbound); Mon, 09 Dec 2019 16:41:17 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from loki.galenabell.com (24-181-218-135.dhcp.hckr.nc.charter.com [24.181.218.135]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 26B53C96-5CF7-42A8-976C-7A0704A973A5.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 09 Dec 2019 16:41:17 +0000 From: Galen Abell To: alpine-aports@lists.alpinelinux.org Cc: Galen Abell Subject: [PATCH] testing/py3-tldextract: new aport Date: Mon, 9 Dec 2019 17:41:08 +0100 Message-Id: <20191209164108.14284-1-galen@galenabell.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=WpM8z08atO4/D+/jNxiCmPoFaErSU4kV7BaiV5aPML4=;c=relaxed/simple;d=galenabell.com;h=from:subject:date:to;s=default;b=yhp6vcrcYLOzMYQd52tvN507ADSIZrXPt8SbBDTN760STU8sje6I4LoAu9lPxVyO4FuA0oKu1ApJla36ujTWUIn6KEg6czUOq5Nc414oBsZyXX4mn3aJEdblxMdkDokoGEAhvSVt5yshSmhCYF8JKy5IcYV6bJlGCs9c04tD8OA= https://github.com/john-kurkowski/tldextract Accurately separate the TLD from the registered domain and subdomains of a URL testing/ --- testing/py3-tldextract/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-tldextract/APKBUILD 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 +# Maintainer: Galen Abell +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" -- 2.24.0