ajacoutot bed9d2a87a Update to py-babel-1.3 which seems to unbreak the python3 FLAVOR.
I have no clue how I did not run into issue with my previous commits...

Anyway this was reported by many.
This work is mostly from nigel@
ok nigel@ sthen@
2013-09-23 18:43:26 +00:00

34 lines
639 B
Makefile

# $OpenBSD: Makefile,v 1.12 2013/09/23 18:43:26 ajacoutot Exp $
COMMENT= I18N/L10N tools for Python
MODPY_EGG_VERSION= 1.3
DISTNAME= Babel-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
CATEGORIES= devel
HOMEPAGE= http://babel.pocoo.org/
MASTER_SITES= ${MASTER_SITE_PYPI:=B/Babel/}
MODULES= lang/python
PKG_ARCH= *
# BSD
PERMIT_PACKAGE_CDROM= Yes
FLAVORS= python3
FLAVOR?=
MODPY_SETUPTOOLS= Yes
RUN_DEPENDS= devel/py-tz${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-tz${MODPY_FLAVOR}
.if ${FLAVOR:Mpython3}
post-install:
mv ${PREFIX}/bin/pybabel \
${PREFIX}/bin/pybabel${MODPY_BIN_SUFFIX}
.endif
.include <bsd.port.mk>