diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2016-01-16 13:25:49 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2016-01-16 13:25:49 +0000 |
commit | 3c9186abba3d55c0bef93e506c47d652e5c64d16 (patch) | |
tree | f3bc715b33f7b763e1ea7828d2d7431718999aad /textproc | |
parent | 28242ae8330c20b1a3466dfee790bc6012dd2b89 (diff) | |
download | freebsd-ports-3c9186abba3d55c0bef93e506c47d652e5c64d16.zip |
textproc/py-python-gettext: update to 3.0
changelog:
* Use u” strings again for easier cross Python 2/3 code.
* Fix plural form support under Python 3.x.
* Break dependency on unittest2 for Python 2.7.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-python-gettext/Makefile | 14 | ||||
-rw-r--r-- | textproc/py-python-gettext/distinfo | 4 |
2 files changed, 6 insertions, 12 deletions
diff --git a/textproc/py-python-gettext/Makefile b/textproc/py-python-gettext/Makefile index 68c2e8b433f2..ccfd75ba3977 100644 --- a/textproc/py-python-gettext/Makefile +++ b/textproc/py-python-gettext/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= python-gettext -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 3.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +11,8 @@ COMMENT= Python Gettext po to mo file compiler LICENSE= BSD2CLAUSE +NO_ARCH= yes USES= python zip -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} <= 3000 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/py-python-gettext/distinfo b/textproc/py-python-gettext/distinfo index 5028406ee426..d1e7f7354f9b 100644 --- a/textproc/py-python-gettext/distinfo +++ b/textproc/py-python-gettext/distinfo @@ -1,2 +1,2 @@ -SHA256 (python-gettext-2.1.zip) = ba19fe3d2086e830f72f66617d52dc73212e3145fd545237da1f105ce5e608c5 -SIZE (python-gettext-2.1.zip) = 24193 +SHA256 (python-gettext-3.0.zip) = f40540324edc600e33df7aaf840aec7a4021d3b0615830918c231eb1d7163456 +SIZE (python-gettext-3.0.zip) = 20554 |