From 0d20fd01616e30ddef346b45e2963eab1dc0407d Mon Sep 17 00:00:00 2001 From: Reed Wade Date: Thu, 9 Jan 2020 21:49:25 +0100 Subject: [PATCH] New package: python-tldextract-2.2.2 --- srcpkgs/python-tldextract/template | 23 +++++++++++++++++++++++ srcpkgs/python3-tldextract | 1 + 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/python-tldextract/template create mode 120000 srcpkgs/python3-tldextract diff --git a/srcpkgs/python-tldextract/template b/srcpkgs/python-tldextract/template new file mode 100644 index 00000000000..63a3df953e8 --- /dev/null +++ b/srcpkgs/python-tldextract/template @@ -0,0 +1,23 @@ +# Template file for 'python-tldextract' +pkgname=python-tldextract +version=2.2.2 +revision=1 +archs=noarch +wrksrc="tldextract-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="separates gTLD or ccTLD from the registered domain/subdomains of a URL" +maintainer="Alessio Sergi " +license="Apache-2.0" +homepage="https://pyopenssl.org/" +distfiles="${PYPI_SITE}/t/tldextract/tldextract-${version}.tar.gz" +checksum=9aa21a1f7827df4209e242ec4fc2293af5940ec730cde46ea80f66ed97bfc808 + +python3-tldextract_package() { + archs=noarch + depends="python3" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-tldextract b/srcpkgs/python3-tldextract new file mode 120000 index 00000000000..8b14cd86dd8 --- /dev/null +++ b/srcpkgs/python3-tldextract @@ -0,0 +1 @@ +python-tldextract \ No newline at end of file