svn commit: r343455 - in head/devel/py-mock: . files
Kubilay Kocak
koobs at FreeBSD.org
Sun Feb 9 10:52:41 UTC 2014
Author: koobs
Date: Sun Feb 9 10:52:41 2014
New Revision: 343455
URL: http://svnweb.freebsd.org/changeset/ports/343455
QAT: https://qat.redports.org/buildarchive/r343455/
Log:
devel/py-mock: Modernise: AUTOPLIST, STAGE, LICENSE & more
- Enable STAGE support
- Enable AUTOPLIST support, delete pkg-plist
- Update LICENSE (BSD2CLAUSE)
- Use OPTIONS helpers
- Deprecate easy_install, delete setup.py patch
- Deprecate OPTIONSFILE override
- Remove py3k-fix-pkg-plist.inc
Approved by: portmgr (blanket)
Deleted:
head/devel/py-mock/files/
head/devel/py-mock/pkg-plist
Modified:
head/devel/py-mock/Makefile
Modified: head/devel/py-mock/Makefile
==============================================================================
--- head/devel/py-mock/Makefile Sun Feb 9 10:48:30 2014 (r343454)
+++ head/devel/py-mock/Makefile Sun Feb 9 10:52:41 2014 (r343455)
@@ -10,25 +10,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jessekempf at gmail.com
COMMENT= Mock unit tests for Python
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tox for running unit tests
-OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
-# Python3 ready
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox
-.if ${PORT_OPTIONS:MTESTS}
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox
-.endif
-
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list