graphics/py-pymaging: convert to pep517
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= pymaging
|
||||
PORTVERSION= g20130908
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= g
|
||||
DISTVERSION= 20130908
|
||||
CATEGORIES= graphics python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
@@ -11,8 +11,11 @@ WWW= https://pymaging.rtfd.org
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ojii
|
||||
@@ -20,4 +23,9 @@ GH_TAGNAME= 596a08f
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E \
|
||||
-e "/^[[:blank:]]+version[[:blank:]]*=/s/__version__/${DISTVERSION}/" \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user