Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4E44D84E9E for ; Wed, 25 Oct 2023 22:33:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id NdFKOaGXxU6h for ; Wed, 25 Oct 2023 22:33:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AE3BA84E59 for ; Wed, 25 Oct 2023 22:33:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A74D5FADC; Wed, 25 Oct 2023 22:33:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1698273220216420" MIME-Version: 1.0 Date: Wed, 25 Oct 2023 22:33:40 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-build To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20231025223340.A74D5FADC@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1698273220216420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1698273220216420 Content-Disposition: inline Content-Length: 2749 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1698273220216420--