Add python3 flavor and enable doctest.

ok ajacoutot@
This commit is contained in:
shadchin 2016-01-11 14:22:59 +00:00
parent 79d9081335
commit a3a0466ac2
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2016/01/07 21:37:48 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2016/01/11 14:22:59 shadchin Exp $
COMMENT = simple generic functions
@ -6,11 +6,10 @@ MODPY_EGG_VERSION = 0.8.1
DISTNAME = simplegeneric-${MODPY_EGG_VERSION}
EXTRACT_SUFX = .zip
PKGNAME = py-${DISTNAME}
REVISION = 0
REVISION = 1
CATEGORIES = devel
# ZPL 2.1
# If we patch anything, we must include:
# "prominent notices stating that you changed the files and
@ -21,6 +20,7 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
FLAVORS = python3
FLAVOR ?=
.include <bsd.port.mk>

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/08/16 19:42:05 edd Exp $
@comment $OpenBSD: PLIST,v 1.2 2016/01/11 14:22:59 shadchin Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}simplegeneric.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/simplegeneric-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/simplegeneric-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/simplegeneric-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/simplegeneric-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/simplegeneric-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/simplegeneric.py
lib/python${MODPY_VERSION}/site-packages/simplegeneric.pyc