freebsd-ports/devel/py-distutils-extra/Makefile
Sunpoet Po-Chuan Hsieh f4b8526f06 - Update to 2.31
- Handle python32 __pycache__

Changes:

2.31:
- auto.py: Also catch ValueError and RuntimeError on relative imports.
  Thanks Mike Terry for the patch! Add corresponding test case to test/auto.py.
- auto.py: Fix crash in module dependency generator, uncovered by previously
  added test case.

2.30:
- auto.py, debian/local/python-mkdebian: Properly support GI repository module
  detection. Thanks to Owais Lone for the patch! (LP: #806533)
- test/auto.py: Add GI test case. Add gir1.2-glib-2.0 build dependency for the
  test case.
- debian/local/python-mkdebian: Call dh_icons. (LP: #881021)

Feature safe:	yes
2012-03-13 17:06:53 +00:00

44 lines
1 KiB
Makefile

# New ports collection makefile for: py-distutils-extra
# Date created: 07 Mar 2010
# Whom: Ju Pengfei <jupengfei@gmail.com>
#
# $FreeBSD$
#
PORTNAME= distutils-extra
PORTVERSION= 2.31
CATEGORIES= devel python
MASTER_SITES= https://launchpadlibrarian.net/84711319/ \
LOCAL/sunpoet
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Add support for i18n, documentation and icons to distutils
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= python_distutils_extra
PYDISTUTILS_NOEGGINFO= yes
PLIST_SUB= PYTHON_SUFFIX=${PYTHON_SUFFIX}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 320
PLIST_SUB+= PYTHON32=""
.else
PLIST_SUB+= PYTHON32="@comment "
.endif
post-install:
.if ${PYTHON_REL} >= 320
.for py in __init__.py command/__init__.py command/build_extra.py
${PYTHON_CMD} -m compileall ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}/DistUtilsExtra/${py}
.endfor
.endif
.include <bsd.port.post.mk>