aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2015-11-16 04:22:45 +0800
committerrm <rm@FreeBSD.org>2015-11-16 04:22:45 +0800
commita4d553ff019f84de699b541da71b71add65d7e59 (patch)
treed3481755b7f878ca9d190445cfea5c6b76b453c4 /www
parent2c587d845d7524d2b7bbe38db359f0b07d10a45c (diff)
downloadfreebsd-ports-gnome-a4d553ff019f84de699b541da71b71add65d7e59.tar.gz
freebsd-ports-gnome-a4d553ff019f84de699b541da71b71add65d7e59.tar.zst
freebsd-ports-gnome-a4d553ff019f84de699b541da71b71add65d7e59.zip
This module is for generating random, valid web navigator's configs
& User-Agent HTTP headers. WWW: https://pypi.python.org/pypi/user_agent
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-user_agent/Makefile20
-rw-r--r--www/py-user_agent/distinfo2
-rw-r--r--www/py-user_agent/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4c3fe18b5db5..920260a092fb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1758,6 +1758,7 @@
SUBDIR += py-uliweb
SUBDIR += py-urlgrabber
SUBDIR += py-urljr
+ SUBDIR += py-user_agent
SUBDIR += py-utidy
SUBDIR += py-w3lib
SUBDIR += py-waitress
diff --git a/www/py-user_agent/Makefile b/www/py-user_agent/Makefile
new file mode 100644
index 000000000000..8eb0550e1b67
--- /dev/null
+++ b/www/py-user_agent/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= user_agent
+PORTVERSION= 0.1.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= Generates random, valid User-Agent values
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+
+NO_ARCH= yes
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-user_agent/distinfo b/www/py-user_agent/distinfo
new file mode 100644
index 000000000000..fc0037fe4809
--- /dev/null
+++ b/www/py-user_agent/distinfo
@@ -0,0 +1,2 @@
+SHA256 (user_agent-0.1.0.tar.gz) = 486dcba313f2ef1b25e264cf550cad689a761169b912b0181ac71e0f2c3a0b88
+SIZE (user_agent-0.1.0.tar.gz) = 4582
diff --git a/www/py-user_agent/pkg-descr b/www/py-user_agent/pkg-descr
new file mode 100644
index 000000000000..4ac5e2af28ef
--- /dev/null
+++ b/www/py-user_agent/pkg-descr
@@ -0,0 +1,4 @@
+This module is for generating random, valid web navigator's configs
+& User-Agent HTTP headers.
+
+WWW: https://pypi.python.org/pypi/user_agent