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.
This commit is contained in:
Ruslan Makhmatkhanov 2016-01-16 13:25:49 +00:00
parent 28242ae833
commit 3c9186abba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406220
2 changed files with 6 additions and 12 deletions

View file

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

View file

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