diff options
Diffstat (limited to 'misc/py-distutils')
-rw-r--r-- | misc/py-distutils/Makefile | 10 | ||||
-rw-r--r-- | misc/py-distutils/distinfo | 2 | ||||
-rw-r--r-- | misc/py-distutils/pkg-plist | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/misc/py-distutils/Makefile b/misc/py-distutils/Makefile index cbac6833b3b9..451c9f1760fd 100644 --- a/misc/py-distutils/Makefile +++ b/misc/py-distutils/Makefile @@ -6,7 +6,7 @@ # PORTNAME= distutils -PORTVERSION= 1.0 +PORTVERSION= 1.0.2 CATEGORIES= misc python MASTER_SITES= http://www.python.org/sigs/distutils-sig/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,10 +16,16 @@ MAINTAINER= tg@FreeBSD.org USE_PYTHON= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} > 211 +IGNORE= "Use the version distributed with ${PYTHON_VERSION}" +.endif + do-build: @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build) do-install: @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/misc/py-distutils/distinfo b/misc/py-distutils/distinfo index 5866fe7abd0c..fc9cd649c7f7 100644 --- a/misc/py-distutils/distinfo +++ b/misc/py-distutils/distinfo @@ -1 +1 @@ -MD5 (Distutils-1.0.tar.gz) = 60c657e6602d7f608e786c61bf18fa0f +MD5 (Distutils-1.0.2.tar.gz) = eebcae8764a2df67cbaca08f695f0d75 diff --git a/misc/py-distutils/pkg-plist b/misc/py-distutils/pkg-plist index e50bc84d77e2..aac3187cb83e 100644 --- a/misc/py-distutils/pkg-plist +++ b/misc/py-distutils/pkg-plist @@ -66,6 +66,8 @@ lib/%%PYTHON_VERSION%%/site-packages/distutils/filelist.py lib/%%PYTHON_VERSION%%/site-packages/distutils/filelist.pyc lib/%%PYTHON_VERSION%%/site-packages/distutils/msvccompiler.py lib/%%PYTHON_VERSION%%/site-packages/distutils/msvccompiler.pyc +lib/%%PYTHON_VERSION%%/site-packages/distutils/mwerkscompiler.py +lib/%%PYTHON_VERSION%%/site-packages/distutils/mwerkscompiler.pyc lib/%%PYTHON_VERSION%%/site-packages/distutils/spawn.py lib/%%PYTHON_VERSION%%/site-packages/distutils/spawn.pyc lib/%%PYTHON_VERSION%%/site-packages/distutils/sysconfig.py |