aboutsummaryrefslogtreecommitdiff
path: root/net/py-urlextract
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-07 19:41:36 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-07 19:41:36 +0000
commit571f277044cf2741f12b3f5714a3f12a3dc99252 (patch)
tree532bfd57bbb6c93350027b4804a5700e20d21a9b /net/py-urlextract
parentf0a8b8623c0011f309c1df0bc63ff26bcbe8d365 (diff)
downloadports-571f277044cf2741f12b3f5714a3f12a3dc99252.tar.gz
ports-571f277044cf2741f12b3f5714a3f12a3dc99252.zip
Add py-urlextract 0.8.3
URLExtract is python class for collecting (extracting) URLs from given text based on locating TLD. WWW: https://github.com/lipoja/URLExtract
Notes
Notes: svn path=/head/; revision=476610
Diffstat (limited to 'net/py-urlextract')
-rw-r--r--net/py-urlextract/Makefile23
-rw-r--r--net/py-urlextract/distinfo3
-rw-r--r--net/py-urlextract/pkg-descr4
3 files changed, 30 insertions, 0 deletions
diff --git a/net/py-urlextract/Makefile b/net/py-urlextract/Makefile
new file mode 100644
index 000000000000..080d600621cf
--- /dev/null
+++ b/net/py-urlextract/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= urlextract
+PORTVERSION= 0.8.3
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Collects and extracts URLs from given text
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}uritools>=0:net/py-uritools@${PY_FLAVOR}
+
+NO_ARCH= yes
+USE_PYTHON= autoplist distutils
+USES= python:3.3+
+
+.include <bsd.port.mk>
diff --git a/net/py-urlextract/distinfo b/net/py-urlextract/distinfo
new file mode 100644
index 000000000000..3d809e533816
--- /dev/null
+++ b/net/py-urlextract/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533661890
+SHA256 (urlextract-0.8.3.tar.gz) = be0ac200746bf87d3ccb024d74fe497dbc35bf8ce7f942f78fdf6cc2454787cc
+SIZE (urlextract-0.8.3.tar.gz) = 8694
diff --git a/net/py-urlextract/pkg-descr b/net/py-urlextract/pkg-descr
new file mode 100644
index 000000000000..fbd404614d10
--- /dev/null
+++ b/net/py-urlextract/pkg-descr
@@ -0,0 +1,4 @@
+URLExtract is python class for collecting (extracting) URLs from given text
+based on locating TLD.
+
+WWW: https://github.com/lipoja/URLExtract