summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-11-21 11:49:55 +0000
committerfhajny <fhajny@pkgsrc.org>2016-11-21 11:49:55 +0000
commitf2b26c07744d7371afd41932ad6909ce104768b4 (patch)
tree53511de6eb52803a9d4e932dc857d5c0e267d605 /net
parentc693ffbca26b786d1765be63b23e54660a40ad78 (diff)
downloadpkgsrc-f2b26c07744d7371afd41932ad6909ce104768b4.tar.gz
Import net/py-tldextract 2.0.2.
tldextract accurately separates the gTLD or ccTLD (generic or country code top-level domain) from the registered domain and subdomains of a URL.
Diffstat (limited to 'net')
-rw-r--r--net/py-tldextract/DESCR3
-rw-r--r--net/py-tldextract/Makefile21
-rw-r--r--net/py-tldextract/PLIST24
-rw-r--r--net/py-tldextract/distinfo6
4 files changed, 54 insertions, 0 deletions
diff --git a/net/py-tldextract/DESCR b/net/py-tldextract/DESCR
new file mode 100644
index 00000000000..1af56fae1ab
--- /dev/null
+++ b/net/py-tldextract/DESCR
@@ -0,0 +1,3 @@
+tldextract accurately separates the gTLD or ccTLD (generic or
+country code top-level domain) from the registered domain and
+subdomains of a URL.
diff --git a/net/py-tldextract/Makefile b/net/py-tldextract/Makefile
new file mode 100644
index 00000000000..3414ee80196
--- /dev/null
+++ b/net/py-tldextract/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/11/21 11:49:55 fhajny Exp $
+
+DISTNAME= tldextract-2.0.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=john-kurkowski/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/john-kurkowski/tldextract/
+COMMENT= Accurately separate the TLD from the registered domain and subdomains
+LICENSE= modified-bsd
+
+GITHUB_PROJECT= tldextract
+GITHUB_TAG= ${PKGVERSION}
+
+DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
+DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-tldextract/PLIST b/net/py-tldextract/PLIST
new file mode 100644
index 00000000000..e1a00c3d5d1
--- /dev/null
+++ b/net/py-tldextract/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2016/11/21 11:49:55 fhajny Exp $
+bin/tldextract
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/tldextract/.tld_set_snapshot
+${PYSITELIB}/tldextract/__init__.py
+${PYSITELIB}/tldextract/__init__.pyc
+${PYSITELIB}/tldextract/__init__.pyo
+${PYSITELIB}/tldextract/__main__.py
+${PYSITELIB}/tldextract/__main__.pyc
+${PYSITELIB}/tldextract/__main__.pyo
+${PYSITELIB}/tldextract/cli.py
+${PYSITELIB}/tldextract/cli.pyc
+${PYSITELIB}/tldextract/cli.pyo
+${PYSITELIB}/tldextract/remote.py
+${PYSITELIB}/tldextract/remote.pyc
+${PYSITELIB}/tldextract/remote.pyo
+${PYSITELIB}/tldextract/tldextract.py
+${PYSITELIB}/tldextract/tldextract.pyc
+${PYSITELIB}/tldextract/tldextract.pyo
diff --git a/net/py-tldextract/distinfo b/net/py-tldextract/distinfo
new file mode 100644
index 00000000000..a0fd0ec8abd
--- /dev/null
+++ b/net/py-tldextract/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/11/21 11:49:55 fhajny Exp $
+
+SHA1 (tldextract-2.0.2.tar.gz) = 383e0fb6df8ecae1a5574b211a1217e9e4f0749d
+RMD160 (tldextract-2.0.2.tar.gz) = c6ecb1e14cab4e7280c90eba759e794e6bb48e45
+SHA512 (tldextract-2.0.2.tar.gz) = 66a2ad81417be83b0cd44796cb546ad646691b2480fb8c5b3bc8e1857295edaf7fb6bace90bc10dcca7cc1961ff64f8df4cd1622f33afb973aa72c3d6f8e993c
+Size (tldextract-2.0.2.tar.gz) = 60259 bytes