switch to python3-only

Suggested by sthen@, OK ajacoutot@
This commit is contained in:
czarkoff 2016-09-16 08:54:57 +00:00
parent 4e2b35d20f
commit 416d9c0439
2 changed files with 5 additions and 13 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2016/09/14 13:02:10 czarkoff Exp $
# $OpenBSD: Makefile,v 1.6 2016/09/16 08:54:57 czarkoff Exp $
COMMENT = SVG scrubber
MODPY_EGG_VERSION = 0.35
REVISION = 0
CATEGORIES = graphics
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
HOMEPAGE = http://www.codedread.com/scour/
@ -14,18 +15,9 @@ GH_TAGNAME = v${MODPY_EGG_VERSION}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
# Explicitly set PKGNAME because otherwise it is set too late, so that REVISION
# and EPOCH are put into wrong spot
PKGNAME = scour-${MODPY_EGG_VERSION}
# Prevent MODPY's removal of ${FLAVOR_EXT}
FULLPKGNAME = ${PKGNAME}${FLAVOR_EXT}
do-test:
@cd ${WRKDIST} && ${MODPY_BIN} testscour.py
@cd ${WRKDIST} && ${MODPY_BIN} testcss.py

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2016/08/16 11:48:20 czarkoff Exp $
@comment $OpenBSD: PLIST,v 1.3 2016/09/16 08:54:57 czarkoff Exp $
bin/scour
lib/python${MODPY_VERSION}/site-packages/scour/
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
@ -10,7 +10,7 @@ lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VE
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/scour-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/scour/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/scour/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/scour/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/scour/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/scour/${MODPY_PYCACHE}scour.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/scour/${MODPY_PYCACHE}svg_regex.${MODPY_PYC_MAGIC_TAG}pyc