pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-build



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 25 22:33:40 UTC 2023

Modified Files:
        pkgsrc/devel/py-build: Makefile PLIST
Removed Files:
        pkgsrc/devel/py-build/files: setup.py

Log Message:
py-build: switch to bootstrap.mk

Add TEST_DEPENDENCIES and current test status.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-build/PLIST
cvs rdiff -u -r1.3 -r0 pkgsrc/devel/py-build/files/setup.py

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-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.15 pkgsrc/devel/py-build/Makefile:1.16
--- pkgsrc/devel/py-build/Makefile:1.15 Fri Sep  8 11:47:22 2023
+++ pkgsrc/devel/py-build/Makefile      Wed Oct 25 22:33:40 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2023/09/08 11:47:22 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2023/10/25 22:33:40 wiz Exp $
 
 DISTNAME=      build-1.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/build/}
 
@@ -12,11 +13,13 @@ LICENSE=    mit
 
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=19.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pyproject_hooks-[0-9]*:../../devel/py-pyproject_hooks
+TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
+TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
@@ -25,13 +28,15 @@ PYTHON_VERSIONS_INCOMPATIBLE=       27
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 .endif
 
-# Generated setup.py; don't use wheel.mk as it depends on py-build.
-pre-configure:
-       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pyproject-build pyproject-build-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+# needs 'make install'
+# as of 1.0.3:
+# 5 failed, 113 passed, 33 skipped, 1 xfailed, 6 errors
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/bootstrap.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-build/PLIST
diff -u pkgsrc/devel/py-build/PLIST:1.3 pkgsrc/devel/py-build/PLIST:1.4
--- pkgsrc/devel/py-build/PLIST:1.3     Thu Sep  7 12:07:18 2023
+++ pkgsrc/devel/py-build/PLIST Wed Oct 25 22:33:40 2023
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2023/09/07 12:07:18 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/10/25 22:33:40 wiz Exp $
 bin/pyproject-build-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/build/__init__.py
 ${PYSITELIB}/build/__init__.pyc
 ${PYSITELIB}/build/__init__.pyo



Home | Main Index | Thread Index | Old Index