pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-bitarray
Module Name: pkgsrc
Committed By: wiz
Date: Mon Feb 20 18:10:50 UTC 2023
Modified Files:
pkgsrc/devel/py-bitarray: Makefile
Log Message:
py-bitarray: fix previous, and make 'test' target work.
All tests pass.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-bitarray/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-bitarray/Makefile
diff -u pkgsrc/devel/py-bitarray/Makefile:1.25 pkgsrc/devel/py-bitarray/Makefile:1.26
--- pkgsrc/devel/py-bitarray/Makefile:1.25 Mon Feb 20 08:47:33 2023
+++ pkgsrc/devel/py-bitarray/Makefile Mon Feb 20 18:10:50 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2023/02/20 08:47:33 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2023/02/20 18:10:50 wiz Exp $
DISTNAME= bitarray-2.7.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bitarray/}
@@ -12,15 +13,17 @@ LICENSE= python-software-foundation
# https://github.com/ilanschnell/bitarray/issues/189
SUBST_CLASSES+= pop
-SUBST_SED.pop+= -e 's,popcount,my_popcount,'
+SUBST_SED.pop+= -e 's,popcount64,my_popcount64,'
SUBST_FILES.pop+= bitarray/_bitarray.c
SUBST_FILES.pop+= bitarray/_util.c
SUBST_FILES.pop+= bitarray/bitarray.h
SUBST_MESSAGE.pop= Fix conflict with NetBSD's popcount.
SUBST_STAGE.pop= pre-configure
+DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
+
do-test:
- ${PYTHONBIN} -c 'import bitarray; bitarray.test()'
+ ${SETENV} ${TEST_ENV} ${PYTHONBIN} -c 'import bitarray; bitarray.test()'
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index