Skip to content

Commit

Permalink
devel/py-userpath: 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 b28ce2b commit 76c9d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
9 changes: 3 additions & 6 deletions devel/py-userpath/Makefile
@@ -1,6 +1,6 @@
PORTNAME= userpath
PORTVERSION= 1.8.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,15 +12,12 @@ WWW= https://github.com/ofek/userpath
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR}

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

NO_ARCH= yes

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

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

This file was deleted.

0 comments on commit 76c9d7f

Please sign in to comment.