aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/Makefile1
-rw-r--r--dns/py-publicsuffix/Makefile27
-rw-r--r--dns/py-publicsuffix/distinfo2
-rw-r--r--dns/py-publicsuffix/pkg-descr10
4 files changed, 40 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 50a90d405bb6..c2daf83d4a0a 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -137,6 +137,7 @@
SUBDIR += py-easyzone
SUBDIR += py-idnkit2
SUBDIR += py-namebench
+ SUBDIR += py-publicsuffix
SUBDIR += py-twistedNames
SUBDIR += radns
SUBDIR += rbldnsd
diff --git a/dns/py-publicsuffix/Makefile b/dns/py-publicsuffix/Makefile
new file mode 100644
index 000000000000..cd8828ea943d
--- /dev/null
+++ b/dns/py-publicsuffix/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: py-publicsuffix
+# Date created: 22 June 2012
+# Whom: Dmitry Pryadko <d.pryadko@rambler-co.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= publicsuffix
+PORTVERSION= 1.0.2
+CATEGORIES= dns python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= d.pryadko@rambler-co.ru
+COMMENT= Get public suffix of domain name from Public Suffix List
+
+LICENSE= MIT
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/publicsuffix.py \
+ %%PYTHON_SITELIBDIR%%/publicsuffix.pyc \
+ %%PYTHON_SITELIBDIR%%/publicsuffix.pyo \
+ %%PYTHON_SITELIBDIR%%/publicsuffix.txt
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/dns/py-publicsuffix/distinfo b/dns/py-publicsuffix/distinfo
new file mode 100644
index 000000000000..0718990aea0e
--- /dev/null
+++ b/dns/py-publicsuffix/distinfo
@@ -0,0 +1,2 @@
+SHA256 (publicsuffix-1.0.2.tar.gz) = f6dfcb8a33fb3ac4f09e644cd26f8af6a09d1a45a019d105c8da58e289ca0096
+SIZE (publicsuffix-1.0.2.tar.gz) = 28992
diff --git a/dns/py-publicsuffix/pkg-descr b/dns/py-publicsuffix/pkg-descr
new file mode 100644
index 000000000000..aac35a549d32
--- /dev/null
+++ b/dns/py-publicsuffix/pkg-descr
@@ -0,0 +1,10 @@
+This module allows you to get the public suffix of a domain name using
+the Public Suffix List from http://publicsuffix.org
+
+A public suffix is one under which Internet users can directly register names.
+Some examples of public suffixes are .com, .co.uk and pvt.k12.wy.us.
+Accurately knowing the public suffix of a domain is useful when handling web
+browser cookies, highlighting the most important part of a domain name in a
+user interface or sorting URLs by web site
+
+WWW: http://pypi.python.org/pypi/publicsuffix/