summaryrefslogtreecommitdiff
path: root/textproc/py-python-gettext/Makefile
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2016-01-16 13:25:49 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2016-01-16 13:25:49 +0000
commit3c9186abba3d55c0bef93e506c47d652e5c64d16 (patch)
treef3bc715b33f7b763e1ea7828d2d7431718999aad /textproc/py-python-gettext/Makefile
parenttextproc/py-gettext: rename to match upstream name (diff)
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.
Notes
Notes: svn path=/head/; revision=406220
Diffstat (limited to 'textproc/py-python-gettext/Makefile')
-rw-r--r--textproc/py-python-gettext/Makefile14
1 files changed, 4 insertions, 10 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>