diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2012-03-02 09:28:52 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-03-02 09:28:52 +0000 |
commit | 6851117d984ab68e313a0fe6c4de61c4f14a00f6 (patch) | |
tree | 47a747830061f982a961544e1b9fc5e2578406bb /converters | |
parent | 416b48c8559993d0b90f0e3f0bea46e242497deb (diff) | |
download | ports-6851117d984ab68e313a0fe6c4de61c4f14a00f6.tar.gz ports-6851117d984ab68e313a0fe6c4de61c4f14a00f6.zip |
Notes
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/py-zfec/Makefile | 38 | ||||
-rw-r--r-- | converters/py-zfec/distinfo | 2 | ||||
-rw-r--r-- | converters/py-zfec/files/patch-setup.py | 10 | ||||
-rw-r--r-- | converters/py-zfec/pkg-descr | 10 | ||||
-rw-r--r-- | converters/py-zfec/pkg-plist | 52 |
6 files changed, 113 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 98c2cc1a2745..79a747ebda18 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -134,6 +134,7 @@ SUBDIR += py-pisa SUBDIR += py-svglib SUBDIR += py-unidecode + SUBDIR += py-zfec SUBDIR += rcctools SUBDIR += recode SUBDIR += ruby-bsdconv diff --git a/converters/py-zfec/Makefile b/converters/py-zfec/Makefile new file mode 100644 index 000000000000..3ea18818b701 --- /dev/null +++ b/converters/py-zfec/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: py-zfec +# Date created: 2 March 2012 +# Whom: Kevin Lo <kevlo@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= zfec +PORTVERSION= 1.4.22 +CATEGORIES= converters python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= A fast erasure codec + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING.GPL + +BUILD_DEPENDS= darcsver:${PORTSDIR}/devel/py-darcsver \ + unsort:${PORTSDIR}/devel/py-pyutil +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_NOEGGINFO= yes +PYEASYINSTALL_ARCHDEP= yes + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for DOC in COPYING.GPL COPYING.TGPPL.html README.rst TODO changelog + ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/converters/py-zfec/distinfo b/converters/py-zfec/distinfo new file mode 100644 index 000000000000..1ca81b6b4728 --- /dev/null +++ b/converters/py-zfec/distinfo @@ -0,0 +1,2 @@ +SHA256 (zfec-1.4.22.tar.gz) = e8eafa0940a9622ed3ea80f60485b89ee28b9a581988cb669136b632282aca7b +SIZE (zfec-1.4.22.tar.gz) = 162680 diff --git a/converters/py-zfec/files/patch-setup.py b/converters/py-zfec/files/patch-setup.py new file mode 100644 index 000000000000..b5047d10bd45 --- /dev/null +++ b/converters/py-zfec/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2012-03-02 17:06:05.000000000 +0800 ++++ setup.py 2012-03-02 17:06:28.000000000 +0800 +@@ -161,7 +161,6 @@ + tests_require=tests_require, + packages=find_packages(), + include_package_data=True, +- data_files=data_files, + setup_requires=setup_requires, + classifiers=trove_classifiers, + entry_points = { 'console_scripts': [ 'zfec = %s.cmdline_zfec:main' % PKG, 'zunfec = %s.cmdline_zunfec:main' % PKG ] }, diff --git a/converters/py-zfec/pkg-descr b/converters/py-zfec/pkg-descr new file mode 100644 index 000000000000..37742eb887dc --- /dev/null +++ b/converters/py-zfec/pkg-descr @@ -0,0 +1,10 @@ +A fast erasure codec which can be used with the command-line, C, +Python, or Haskell. + +Fast, portable, programmable erasure coding a.k.a. "forward error +correction": the generation of redundant blocks of information such +that if some blocks are lost then the original data can be recovered +from the remaining blocks. The zfec package includes command-line +tools, C API, Python API, and Haskell API. + +WWW: http://pypi.python.org/pypi/zfec/ diff --git a/converters/py-zfec/pkg-plist b/converters/py-zfec/pkg-plist new file mode 100644 index 000000000000..bc306ad2c776 --- /dev/null +++ b/converters/py-zfec/pkg-plist @@ -0,0 +1,52 @@ +bin/zfec +bin/zunfec +%%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/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/stdeb.cfg +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_fec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_fec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_fec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_fec.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_fecmodule.c +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_version.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_version.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/_version.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zfec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zfec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zfec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zunfec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zunfec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/cmdline_zunfec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/easyfec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/easyfec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/easyfec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/fec.c +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/fec.h +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/filefec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/filefec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/filefec.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/test_zfec.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/test_zfec.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test/test_zfec.pyo +%%PORTDOCS%%%%DOCSDIR%%/COPYING.GPL +%%PORTDOCS%%%%DOCSDIR%%/COPYING.TGPPL.html +%%PORTDOCS%%%%DOCSDIR%%/README.rst +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/changelog +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec/test +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/zfec +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |