Skip to content

Commit

Permalink
devel/py-rstr: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for dependency and package change
  • Loading branch information
sunpoet committed Mar 21, 2023
1 parent 452fd7d commit 42fd710
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 5 additions & 4 deletions devel/py-rstr/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rstr
PORTVERSION= 3.2.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,12 +12,12 @@ WWW= https://github.com/leapfrogonline/rstr
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

post-patch:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/

.include <bsd.port.mk>
3 changes: 0 additions & 3 deletions devel/py-rstr/files/setup.py

This file was deleted.

0 comments on commit 42fd710

Please sign in to comment.