diff options
author | rm <rm@FreeBSD.org> | 2011-12-25 20:08:12 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2011-12-25 20:08:12 +0800 |
commit | 49d5870211c2d7bdd724890b96055746994d4f26 (patch) | |
tree | 6478214341e9c74da12a647e687405630d07a22c /textproc | |
parent | 0a92f0830ec6b114ee3439e3eb52201f2b9c1a83 (diff) | |
download | freebsd-ports-gnome-49d5870211c2d7bdd724890b96055746994d4f26.tar.gz freebsd-ports-gnome-49d5870211c2d7bdd724890b96055746994d4f26.tar.zst freebsd-ports-gnome-49d5870211c2d7bdd724890b96055746994d4f26.zip |
- update to 2.0
- depend on devel/py-unittest2 conditionally (doesn't needed for python3)
Approved by: novel (mentor, implicit)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-gettext/Makefile | 13 | ||||
-rw-r--r-- | textproc/py-gettext/distinfo | 4 | ||||
-rw-r--r-- | textproc/py-gettext/pkg-plist | 2 |
3 files changed, 13 insertions, 6 deletions
diff --git a/textproc/py-gettext/Makefile b/textproc/py-gettext/Makefile index 423dcac9db9e..7ed1f0c8e0bf 100644 --- a/textproc/py-gettext/Makefile +++ b/textproc/py-gettext/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gettext -PORTVERSION= 1.2 +PORTVERSION= 2.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,11 +17,16 @@ COMMENT= Python Gettext po to mo file compiler LICENSE= BSD -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2 - +# Python3 and Pypy 1.7 ready USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= python-${PORTNAME} USE_ZIP= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} <= 300 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2 +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/py-gettext/distinfo b/textproc/py-gettext/distinfo index 2909977847d4..191f63d09db5 100644 --- a/textproc/py-gettext/distinfo +++ b/textproc/py-gettext/distinfo @@ -1,2 +1,2 @@ -SHA256 (python-gettext-1.2.zip) = e11bfa5d464964058a1df0b468208beb1e3207008da8305b7c0cc1f861ef7e44 -SIZE (python-gettext-1.2.zip) = 20524 +SHA256 (python-gettext-2.0.zip) = bb9aaea90527455164a390d613d6aecf8b0325992a2d48d7f12b8cd91fae9264 +SIZE (python-gettext-2.0.zip) = 23090 diff --git a/textproc/py-gettext/pkg-plist b/textproc/py-gettext/pkg-plist index 2a0f2ce75a11..3da8357efa03 100644 --- a/textproc/py-gettext/pkg-plist +++ b/textproc/py-gettext/pkg-plist @@ -22,6 +22,8 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test3.po %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test4.po %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test5.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test6.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test6.po %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.pyo |