Skip to content

Commit

Permalink
textproc/py-hashids: 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 3479790 commit f29d64d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
8 changes: 4 additions & 4 deletions textproc/py-hashids/Makefile
@@ -1,5 +1,6 @@
PORTNAME= hashids
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,12 +12,11 @@ WWW= https://github.com/davidaurelio/hashids-python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR}

USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils pytest
USE_PYTHON= autoplist concurrent pep517 pytest

NO_ARCH= yes

post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py

.include <bsd.port.mk>
18 changes: 0 additions & 18 deletions textproc/py-hashids/files/setup.py

This file was deleted.

0 comments on commit f29d64d

Please sign in to comment.