Skip to content

Commit

Permalink
devel/py-parsley: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Apr 8, 2024
1 parent adaba9b commit 82b96cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion devel/py-parsley/Makefile
@@ -1,5 +1,6 @@
PORTNAME= parsley
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,8 +13,11 @@ WWW= https://github.com/pyga/parsley
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

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 concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

Expand Down
11 changes: 11 additions & 0 deletions devel/py-parsley/files/patch-setup.py
@@ -0,0 +1,11 @@
--- setup.py.orig 2015-09-09 02:45:25 UTC
+++ setup.py
@@ -6,7 +6,7 @@ setup(

from distutils.core import setup
setup(
- name="Parsley",
+ name="parsley",
version="1.3",
url="http://launchpad.net/parsley",
description="Parsing and pattern matching made easy.",

0 comments on commit 82b96cb

Please sign in to comment.