pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/py-installer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 25 22:01:57 UTC 2023

Modified Files:
        pkgsrc/misc/py-installer: Makefile PLIST

Log Message:
py-installer: only use py-flit_core for building

This is relevant because this is on the recommended bootstrap path for
Python module distributions.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/py-installer/Makefile \
    pkgsrc/misc/py-installer/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-installer/Makefile
diff -u pkgsrc/misc/py-installer/Makefile:1.1 pkgsrc/misc/py-installer/Makefile:1.2
--- pkgsrc/misc/py-installer/Makefile:1.1       Mon Apr 17 10:36:49 2023
+++ pkgsrc/misc/py-installer/Makefile   Wed Oct 25 22:01:57 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2023/04/17 10:36:49 adam Exp $
+# $NetBSD: Makefile,v 1.2 2023/10/25 22:01:57 wiz Exp $
 
 DISTNAME=      installer-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/installer/}
 
@@ -19,8 +20,17 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+PY_PATCHPLIST= yes
+INSTALL_ENV+=  PYTHONPATH=${WRKSRC}/src
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m flit_core.wheel
+
+do-install:
+       cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} -m installer --destdir ${DESTDIR} --prefix ${PREFIX} dist/*.whl
+
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/wheel.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-installer/PLIST
diff -u pkgsrc/misc/py-installer/PLIST:1.1 pkgsrc/misc/py-installer/PLIST:1.2
--- pkgsrc/misc/py-installer/PLIST:1.1  Mon Apr 17 10:36:49 2023
+++ pkgsrc/misc/py-installer/PLIST      Wed Oct 25 22:01:57 2023
@@ -1,19 +1,20 @@
-@comment $NetBSD: PLIST,v 1.1 2023/04/17 10:36:49 adam Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+@comment $NetBSD: PLIST,v 1.2 2023/10/25 22:01:57 wiz Exp $
+${PYSITELIB}/installer-${PKGVERSION}.dist-info/LICENSE
+${PYSITELIB}/installer-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/installer-${PKGVERSION}.dist-info/RECORD
+${PYSITELIB}/installer-${PKGVERSION}.dist-info/WHEEL
 ${PYSITELIB}/installer/__init__.py
 ${PYSITELIB}/installer/__init__.pyc
+${PYSITELIB}/installer/__init__.pyo
 ${PYSITELIB}/installer/__main__.py
 ${PYSITELIB}/installer/__main__.pyc
+${PYSITELIB}/installer/__main__.pyo
 ${PYSITELIB}/installer/_core.py
 ${PYSITELIB}/installer/_core.pyc
+${PYSITELIB}/installer/_core.pyo
 ${PYSITELIB}/installer/_scripts/__init__.py
 ${PYSITELIB}/installer/_scripts/__init__.pyc
+${PYSITELIB}/installer/_scripts/__init__.pyo
 ${PYSITELIB}/installer/_scripts/t32.exe
 ${PYSITELIB}/installer/_scripts/t64-arm.exe
 ${PYSITELIB}/installer/_scripts/t64.exe
@@ -24,14 +25,20 @@ ${PYSITELIB}/installer/_scripts/w64.exe
 ${PYSITELIB}/installer/_scripts/w_arm.exe
 ${PYSITELIB}/installer/destinations.py
 ${PYSITELIB}/installer/destinations.pyc
+${PYSITELIB}/installer/destinations.pyo
 ${PYSITELIB}/installer/exceptions.py
 ${PYSITELIB}/installer/exceptions.pyc
+${PYSITELIB}/installer/exceptions.pyo
 ${PYSITELIB}/installer/py.typed
 ${PYSITELIB}/installer/records.py
 ${PYSITELIB}/installer/records.pyc
+${PYSITELIB}/installer/records.pyo
 ${PYSITELIB}/installer/scripts.py
 ${PYSITELIB}/installer/scripts.pyc
+${PYSITELIB}/installer/scripts.pyo
 ${PYSITELIB}/installer/sources.py
 ${PYSITELIB}/installer/sources.pyc
+${PYSITELIB}/installer/sources.pyo
 ${PYSITELIB}/installer/utils.py
 ${PYSITELIB}/installer/utils.pyc
+${PYSITELIB}/installer/utils.pyo



Home | Main Index | Thread Index | Old Index