mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/py-simpleparse: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
0074177e04
commit
6cd87c52f9
@ -1,5 +1,6 @@
|
|||||||
PORTNAME= simpleparse
|
PORTNAME= simpleparse
|
||||||
PORTVERSION= 2.2.4
|
PORTVERSION= 2.2.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -10,8 +11,11 @@ COMMENT= Python EBNF parser generator (with mx.TextTools derivative)
|
|||||||
WWW= https://simpleparse.sourceforge.net/ \
|
WWW= https://simpleparse.sourceforge.net/ \
|
||||||
https://github.com/mcfletch/simpleparse
|
https://github.com/mcfletch/simpleparse
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
USE_PYTHON= autoplist concurrent distutils
|
USE_PYTHON= autoplist concurrent pep517
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
--- setup.py.orig 2020-03-07 01:30:49 UTC
|
--- setup.py.orig 2020-03-07 01:41:28 UTC
|
||||||
+++ setup.py
|
+++ setup.py
|
||||||
@@ -29,7 +29,7 @@ if sys.platform == 'win32':
|
@@ -29,9 +29,9 @@ if __name__ == "__main__":
|
||||||
)['define'] = 'BAD_STATIC_FORWARD'
|
)['define'] = 'BAD_STATIC_FORWARD'
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
- packages = find_packages(HERE)
|
- packages = find_packages(HERE)
|
||||||
+ packages = find_packages(exclude=['examples*', 'tests*'])
|
+ packages = find_packages(exclude=['examples*', 'tests*'])
|
||||||
setup (
|
setup (
|
||||||
name = "SimpleParse",
|
- name = "SimpleParse",
|
||||||
|
+ name = "simpleparse",
|
||||||
version = findVersion(),
|
version = findVersion(),
|
||||||
|
description = "A Parser Generator for Python (w/mxTextTools derivative)",
|
||||||
|
author = "Mike C. Fletcher",
|
||||||
|
Loading…
Reference in New Issue
Block a user