git: 1ce890d549a0 - main - devel/py-ordered-set: convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Mar 2025 16:12:18 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ce890d549a04122246c84cb843815021d4ee966
commit 1ce890d549a04122246c84cb843815021d4ee966
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-08-06 13:53:06 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-03-13 16:12:03 +0000
devel/py-ordered-set: convert to USE_PYTHON=pep517
setup.py only still exists for some kind of legacy compatibility;
the package itself uses flit-core to build. The correct pytest
configuration is included in the PEP-517 configuration.
No functional changes.
While here, update WWW
PR: 280661
Approved by: antoine (maintainer, via PR assignment)
Differential Revision: https://reviews.freebsd.org/D46235
---
devel/py-ordered-set/Makefile | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/devel/py-ordered-set/Makefile b/devel/py-ordered-set/Makefile
index 46ba891af420..00e92173bfc5 100644
--- a/devel/py-ordered-set/Makefile
+++ b/devel/py-ordered-set/Makefile
@@ -1,25 +1,21 @@
PORTNAME= ordered-set
PORTVERSION= 4.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= MutableSet that remembers its order, so that every entry has an index
-WWW= https://github.com/LuminosoInsight/ordered-set
+WWW= https://github.com/rspeer/ordered-set
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
NO_ARCH= yes
USES= python
-USE_PYTHON= distutils autoplist
-
-do-test:
- @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} test/test_ordered_set.py
+USE_PYTHON= autoplist pep517 pytest
.include <bsd.port.mk>