1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Jason Helfman 2012-06-27 22:25:42 +00:00
parent 68a7dadaef
commit 8d5d61fa74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300123
4 changed files with 40 additions and 0 deletions

View File

@ -137,6 +137,7 @@
SUBDIR += py-easyzone
SUBDIR += py-idnkit2
SUBDIR += py-namebench
SUBDIR += py-publicsuffix
SUBDIR += py-twistedNames
SUBDIR += radns
SUBDIR += rbldnsd

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (publicsuffix-1.0.2.tar.gz) = f6dfcb8a33fb3ac4f09e644cd26f8af6a09d1a45a019d105c8da58e289ca0096
SIZE (publicsuffix-1.0.2.tar.gz) = 28992

View File

@ -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/