Add a python3 FLAVOR.

This commit is contained in:
ajacoutot 2015-07-16 21:18:48 +00:00
parent fb9ff99456
commit 48bb298312
4 changed files with 39 additions and 30 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.14 2015/04/02 14:21:14 jasper Exp $
# $OpenBSD: Makefile,v 1.15 2015/07/16 21:18:48 ajacoutot Exp $
COMMENT = code coverage measurement for Python
MODPY_EGG_VERSION = 3.7.1
DISTNAME = coverage-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = devel
@ -15,12 +16,14 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ${MODPY_WANTLIB} pthread
MODPY_PI = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
FLAVORS = python3
FLAVOR ?=
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.no-python3,v 1.1 2015/07/16 21:18:48 ajacoutot Exp $
bin/coverage
bin/coverage2

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.python3,v 1.1 2015/07/16 21:18:48 ajacoutot Exp $
bin/coverage3

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.6 2014/05/01 13:05:29 benoit Exp $
bin/coverage
@comment $OpenBSD: PLIST,v 1.7 2015/07/16 21:18:48 ajacoutot Exp $
%%python3%%
!%%python3%%
bin/coverage-${MODPY_VERSION}
bin/coverage2
lib/python${MODPY_VERSION}/site-packages/coverage/
lib/python${MODPY_VERSION}/site-packages/coverage-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/coverage-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -11,35 +11,45 @@ lib/python${MODPY_VERSION}/site-packages/coverage-${MODPY_EGG_VERSION}-py${MODPY
lib/python${MODPY_VERSION}/site-packages/coverage-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/coverage-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/coverage/__init__.py
lib/python${MODPY_VERSION}/site-packages/coverage/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/__main__.py
lib/python${MODPY_VERSION}/site-packages/coverage/__main__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}annotate.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}backward.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}bytecode.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}cmdline.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}codeunit.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}collector.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}control.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}data.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}debug.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}execfile.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}files.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}html.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}misc.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}phystokens.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}report.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}results.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}summary.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}templite.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/${MODPY_PYCACHE}xmlreport.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/coverage/annotate.py
lib/python${MODPY_VERSION}/site-packages/coverage/annotate.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/backward.py
lib/python${MODPY_VERSION}/site-packages/coverage/backward.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/bytecode.py
lib/python${MODPY_VERSION}/site-packages/coverage/bytecode.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/cmdline.py
lib/python${MODPY_VERSION}/site-packages/coverage/cmdline.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/codeunit.py
lib/python${MODPY_VERSION}/site-packages/coverage/codeunit.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/collector.py
lib/python${MODPY_VERSION}/site-packages/coverage/collector.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/config.py
lib/python${MODPY_VERSION}/site-packages/coverage/config.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/control.py
lib/python${MODPY_VERSION}/site-packages/coverage/control.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/data.py
lib/python${MODPY_VERSION}/site-packages/coverage/data.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/debug.py
lib/python${MODPY_VERSION}/site-packages/coverage/debug.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/execfile.py
lib/python${MODPY_VERSION}/site-packages/coverage/execfile.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/files.py
lib/python${MODPY_VERSION}/site-packages/coverage/files.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/html.py
lib/python${MODPY_VERSION}/site-packages/coverage/html.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/
lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/coverage_html.js
lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/index.html
@ -52,21 +62,12 @@ lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/keybd_open.png
lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/pyfile.html
lib/python${MODPY_VERSION}/site-packages/coverage/htmlfiles/style.css
lib/python${MODPY_VERSION}/site-packages/coverage/misc.py
lib/python${MODPY_VERSION}/site-packages/coverage/misc.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/parser.py
lib/python${MODPY_VERSION}/site-packages/coverage/parser.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/phystokens.py
lib/python${MODPY_VERSION}/site-packages/coverage/phystokens.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/report.py
lib/python${MODPY_VERSION}/site-packages/coverage/report.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/results.py
lib/python${MODPY_VERSION}/site-packages/coverage/results.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/summary.py
lib/python${MODPY_VERSION}/site-packages/coverage/summary.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/templite.py
lib/python${MODPY_VERSION}/site-packages/coverage/templite.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/tracer.so
lib/python${MODPY_VERSION}/site-packages/coverage/version.py
lib/python${MODPY_VERSION}/site-packages/coverage/version.pyc
lib/python${MODPY_VERSION}/site-packages/coverage/xmlreport.py
lib/python${MODPY_VERSION}/site-packages/coverage/xmlreport.pyc