diff options
author | jgh <jgh@FreeBSD.org> | 2012-06-28 06:25:42 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2012-06-28 06:25:42 +0800 |
commit | 1c895cd40f6eea710111912586613e8820099f3e (patch) | |
tree | 4e43eabad2113fce84f4f7fe9ab58a1ab03da79a /dns | |
parent | c32c594d0dd59605114b8da5587920358ff7d880 (diff) | |
download | freebsd-ports-gnome-1c895cd40f6eea710111912586613e8820099f3e.tar.gz freebsd-ports-gnome-1c895cd40f6eea710111912586613e8820099f3e.tar.zst freebsd-ports-gnome-1c895cd40f6eea710111912586613e8820099f3e.zip |
add new port: dns/py-publicsuffix
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/
PR: ports/169326
Submitted by: d.pryadko@rambler-co.ru
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/py-publicsuffix/Makefile | 27 | ||||
-rw-r--r-- | dns/py-publicsuffix/distinfo | 2 | ||||
-rw-r--r-- | dns/py-publicsuffix/pkg-descr | 10 |
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/ |