diff options
-rw-r--r-- | news/Makefile | 1 | ||||
-rw-r--r-- | news/py-pynzb/Makefile | 33 | ||||
-rw-r--r-- | news/py-pynzb/distinfo | 3 | ||||
-rw-r--r-- | news/py-pynzb/pkg-descr | 8 | ||||
-rw-r--r-- | news/py-pynzb/pkg-plist | 27 |
5 files changed, 72 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile index c34c30f7a32b..3f2684f7963e 100644 --- a/news/Makefile +++ b/news/Makefile @@ -81,6 +81,7 @@ SUBDIR += papercut SUBDIR += pgpmoose SUBDIR += plor + SUBDIR += py-pynzb SUBDIR += py-twistedNews SUBDIR += py-yenc SUBDIR += pyne diff --git a/news/py-pynzb/Makefile b/news/py-pynzb/Makefile new file mode 100644 index 000000000000..33689c525a2b --- /dev/null +++ b/news/py-pynzb/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: pynzb +# Date created: Wed Apr 7 13:06:51 UTC 2010 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= pynzb +PORTVERSION= 0.1.0 +CATEGORIES= news python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= A unified API for parsing NZB files + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS= easy_install +PYDISTUTILS_NOEGGINFO= yes + +OPTIONS= LXML "Add support for py-lxml" Off \ + ELEMENTTREE "Add support for py-elementtree" Off + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_LXML) +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.1:${PORTSDIR}/devel/py-lxml +.endif + +.if !defined(WITHOUT_ELEMENTTREE) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree +.endif + +.include <bsd.port.post.mk> diff --git a/news/py-pynzb/distinfo b/news/py-pynzb/distinfo new file mode 100644 index 000000000000..3524d9911172 --- /dev/null +++ b/news/py-pynzb/distinfo @@ -0,0 +1,3 @@ +MD5 (pynzb-0.1.0.tar.gz) = 63c74a36348ac28aa99732dcb8be8c59 +SHA256 (pynzb-0.1.0.tar.gz) = 0735b3889a1174bbb65418ee503629d3f5e4a63f04b16f46ffba18253ec3ef17 +SIZE (pynzb-0.1.0.tar.gz) = 5598 diff --git a/news/py-pynzb/pkg-descr b/news/py-pynzb/pkg-descr new file mode 100644 index 000000000000..6ac35bd7e3ce --- /dev/null +++ b/news/py-pynzb/pkg-descr @@ -0,0 +1,8 @@ +NZB is an XML-based file format for retrieving posts from NNTP +(Usenet) servers. + +Since NZB is XML-based, it's relatively easy to build one-off parsers +to parse NZB files. This project is an attempt to consolidate those +many one-off NZB parsers into one simple interface. + +WWW: http://pypi.python.org/pypi/pynzb/ diff --git a/news/py-pynzb/pkg-plist b/news/py-pynzb/pkg-plist new file mode 100644 index 000000000000..cf2bb6e0cc52 --- /dev/null +++ b/news/py-pynzb/pkg-plist @@ -0,0 +1,27 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/base.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/etree_nzb.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/expat_nzb.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/lxml_nzb.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/tests.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/base.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/etree_nzb.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/expat_nzb.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/lxml_nzb.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/tests.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/base.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/etree_nzb.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/expat_nzb.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/lxml_nzb.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb/tests.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pynzb +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |