pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Apr  7 12:28:15 UTC 2022

Modified Files:
        pkgsrc/devel/py-flit: Makefile PLIST distinfo
        pkgsrc/devel/py-flit_core: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-flit/files: setup.py

Log Message:
py-flit_core py-flit: updated to 3.7.1

Version 3.7.1

Fix building packages which need execution to get the version number, and have a relative import in __init__.py.

Version 3.7

Support for external data files such as man pages or Jupyter extension support files.
Project names are now lowercase in wheel filenames and .dist-info folder names, in line with the specification.
Improved support for bootstrapping a Python environment, e.g. for downstream packagers. flit_core.wheel is usable with python -m to create wheels before the build tool is available, and flit_core 
sdists also include a script to install itself from a wheel before installer is available.
Use newer importlib APIs, fixing some deprecation warnings


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-flit/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-flit/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-flit/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-flit/files/setup.py
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-flit_core/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-flit_core/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-flit_core/distinfo

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-flit/Makefile
diff -u pkgsrc/devel/py-flit/Makefile:1.3 pkgsrc/devel/py-flit/Makefile:1.4
--- pkgsrc/devel/py-flit/Makefile:1.3   Mon Jan 10 19:17:10 2022
+++ pkgsrc/devel/py-flit/Makefile       Thu Apr  7 12:28:15 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/01/10 19:17:10 adam Exp $
+# $NetBSD: Makefile,v 1.4 2022/04/07 12:28:15 adam Exp $
 
-# Important: Re-generate files/setup.py on update.
-DISTNAME=      flit-3.6.0
+DISTNAME=      flit-3.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flit/}
@@ -13,9 +12,9 @@ LICENSE=      modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
 DEPENDS+=      ${PYPKGPREFIX}-flit_core-${PKGVERSION_NOREV}:../../devel/py-flit_core
+DEPENDS+=      ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=0:../../textproc/py-tomli
 DEPENDS+=      ${PYPKGPREFIX}-tomli_w>=0:../../textproc/py-tomli_w
-DEPENDS+=      ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-responses>=0:../../net/py-responses
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.7.3:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
@@ -25,15 +24,12 @@ USE_LANGUAGES=      # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-pre-configure:
-       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} flit flit-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flit/PLIST
diff -u pkgsrc/devel/py-flit/PLIST:1.2 pkgsrc/devel/py-flit/PLIST:1.3
--- pkgsrc/devel/py-flit/PLIST:1.2      Mon Jan 10 19:17:10 2022
+++ pkgsrc/devel/py-flit/PLIST  Thu Apr  7 12:28:15 2022
@@ -1,77 +1,57 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/10 19:17:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/04/07 12:28:15 adam Exp $
 bin/flit-${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}/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
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/flit/__init__.py
 ${PYSITELIB}/flit/__init__.pyc
-${PYSITELIB}/flit/__init__.pyo
 ${PYSITELIB}/flit/__main__.py
 ${PYSITELIB}/flit/__main__.pyc
-${PYSITELIB}/flit/__main__.pyo
 ${PYSITELIB}/flit/_get_dirs.py
 ${PYSITELIB}/flit/_get_dirs.pyc
-${PYSITELIB}/flit/_get_dirs.pyo
 ${PYSITELIB}/flit/build.py
 ${PYSITELIB}/flit/build.pyc
-${PYSITELIB}/flit/build.pyo
 ${PYSITELIB}/flit/buildapi.py
 ${PYSITELIB}/flit/buildapi.pyc
-${PYSITELIB}/flit/buildapi.pyo
 ${PYSITELIB}/flit/config.py
 ${PYSITELIB}/flit/config.pyc
-${PYSITELIB}/flit/config.pyo
 ${PYSITELIB}/flit/init.py
 ${PYSITELIB}/flit/init.pyc
-${PYSITELIB}/flit/init.pyo
 ${PYSITELIB}/flit/install.py
 ${PYSITELIB}/flit/install.pyc
-${PYSITELIB}/flit/install.pyo
 ${PYSITELIB}/flit/license_templates/apache
 ${PYSITELIB}/flit/license_templates/gpl3
 ${PYSITELIB}/flit/license_templates/mit
 ${PYSITELIB}/flit/log.py
 ${PYSITELIB}/flit/log.pyc
-${PYSITELIB}/flit/log.pyo
 ${PYSITELIB}/flit/logo.py
 ${PYSITELIB}/flit/logo.pyc
-${PYSITELIB}/flit/logo.pyo
 ${PYSITELIB}/flit/sdist.py
 ${PYSITELIB}/flit/sdist.pyc
-${PYSITELIB}/flit/sdist.pyo
 ${PYSITELIB}/flit/tomlify.py
 ${PYSITELIB}/flit/tomlify.pyc
-${PYSITELIB}/flit/tomlify.pyo
 ${PYSITELIB}/flit/upload.py
 ${PYSITELIB}/flit/upload.pyc
-${PYSITELIB}/flit/upload.pyo
 ${PYSITELIB}/flit/validate.py
 ${PYSITELIB}/flit/validate.pyc
-${PYSITELIB}/flit/validate.pyo
 ${PYSITELIB}/flit/vcs/__init__.py
 ${PYSITELIB}/flit/vcs/__init__.pyc
-${PYSITELIB}/flit/vcs/__init__.pyo
 ${PYSITELIB}/flit/vcs/git.py
 ${PYSITELIB}/flit/vcs/git.pyc
-${PYSITELIB}/flit/vcs/git.pyo
 ${PYSITELIB}/flit/vcs/hg.py
 ${PYSITELIB}/flit/vcs/hg.pyc
-${PYSITELIB}/flit/vcs/hg.pyo
 ${PYSITELIB}/flit/vendorized/__init__.py
 ${PYSITELIB}/flit/vendorized/__init__.pyc
-${PYSITELIB}/flit/vendorized/__init__.pyo
 ${PYSITELIB}/flit/vendorized/readme/__init__.py
 ${PYSITELIB}/flit/vendorized/readme/__init__.pyc
-${PYSITELIB}/flit/vendorized/readme/__init__.pyo
 ${PYSITELIB}/flit/vendorized/readme/clean.py
 ${PYSITELIB}/flit/vendorized/readme/clean.pyc
-${PYSITELIB}/flit/vendorized/readme/clean.pyo
 ${PYSITELIB}/flit/vendorized/readme/rst.py
 ${PYSITELIB}/flit/vendorized/readme/rst.pyc
-${PYSITELIB}/flit/vendorized/readme/rst.pyo
 ${PYSITELIB}/flit/wheel.py
 ${PYSITELIB}/flit/wheel.pyc
-${PYSITELIB}/flit/wheel.pyo

Index: pkgsrc/devel/py-flit/distinfo
diff -u pkgsrc/devel/py-flit/distinfo:1.4 pkgsrc/devel/py-flit/distinfo:1.5
--- pkgsrc/devel/py-flit/distinfo:1.4   Mon Jan 10 19:17:10 2022
+++ pkgsrc/devel/py-flit/distinfo       Thu Apr  7 12:28:15 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2022/01/10 19:17:10 adam Exp $
+$NetBSD: distinfo,v 1.5 2022/04/07 12:28:15 adam Exp $
 
-BLAKE2s (flit-3.6.0.tar.gz) = 789e58530006aa94eeb37fa2aa35f81df420d9aac92055dcb77288c6f6eb61f7
-SHA512 (flit-3.6.0.tar.gz) = 6506ecc73f9e0373e84b5b90a3d567f1edad6d95561886ff1f08f37addfc39006e75ab199c376a7d18452f6b8e2cbdd9e8f59a1fc96037702c3c682dc0b5a757
-Size (flit-3.6.0.tar.gz) = 133365 bytes
+BLAKE2s (flit-3.7.1.tar.gz) = 908e5ab6ed3854977d9d04b6291cb6501c49dcee4837bec66b740b28d74bae7a
+SHA512 (flit-3.7.1.tar.gz) = 336e81b034da2f38d7decb32c8961ce62d30f6fd2cb4778b09c956eb400277673d4c94cd57cf08fa7f115f8836aadb0469197d0096f833da9317db8a4f75baed
+Size (flit-3.7.1.tar.gz) = 136642 bytes
 SHA1 (patch-tests_test__find__python__executable.py) = ba687b8828f40720da7d3bbaea60b0665d781b5b

Index: pkgsrc/devel/py-flit_core/Makefile
diff -u pkgsrc/devel/py-flit_core/Makefile:1.4 pkgsrc/devel/py-flit_core/Makefile:1.5
--- pkgsrc/devel/py-flit_core/Makefile:1.4      Tue Jan 25 21:51:58 2022
+++ pkgsrc/devel/py-flit_core/Makefile  Thu Apr  7 12:28:15 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2022/01/25 21:51:58 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/04/07 12:28:15 adam Exp $
 
-DISTNAME=      flit_core-3.6.0
+DISTNAME=      flit_core-3.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flit-core/}
@@ -17,5 +17,8 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} flit_core/tests
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flit_core/PLIST
diff -u pkgsrc/devel/py-flit_core/PLIST:1.3 pkgsrc/devel/py-flit_core/PLIST:1.4
--- pkgsrc/devel/py-flit_core/PLIST:1.3 Tue Jan 11 21:49:03 2022
+++ pkgsrc/devel/py-flit_core/PLIST     Thu Apr  7 12:28:15 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/11 21:49:03 nros Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/04/07 12:28:15 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -29,6 +29,11 @@ ${PYSITELIB}/flit_core/tests/samples/con
 ${PYSITELIB}/flit_core/tests/samples/constructed_version/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/extras-dev-conflict.toml
 ${PYSITELIB}/flit_core/tests/samples/extras.toml
+${PYSITELIB}/flit_core/tests/samples/imported_version/package1/__init__.py
+${PYSITELIB}/flit_core/tests/samples/imported_version/package1/__init__.pyc
+${PYSITELIB}/flit_core/tests/samples/imported_version/package1/_version.py
+${PYSITELIB}/flit_core/tests/samples/imported_version/package1/_version.pyc
+${PYSITELIB}/flit_core/tests/samples/imported_version/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/inclusion/LICENSES/README
 ${PYSITELIB}/flit_core/tests/samples/inclusion/doc/subdir/test.txt
 ${PYSITELIB}/flit_core/tests/samples/inclusion/doc/test.rst
@@ -85,6 +90,12 @@ ${PYSITELIB}/flit_core/tests/samples/req
 ${PYSITELIB}/flit_core/tests/samples/requires-envmark.toml
 ${PYSITELIB}/flit_core/tests/samples/requires-extra-envmark.toml
 ${PYSITELIB}/flit_core/tests/samples/requires-requests.toml
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/LICENSE
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/README.rst
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/data/share/man/man1/foo.1
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/module1.py
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/module1.pyc
+${PYSITELIB}/flit_core/tests/samples/with_data_dir/pyproject.toml
 ${PYSITELIB}/flit_core/tests/test_build_thyself.py
 ${PYSITELIB}/flit_core/tests/test_build_thyself.pyc
 ${PYSITELIB}/flit_core/tests/test_buildapi.py

Index: pkgsrc/devel/py-flit_core/distinfo
diff -u pkgsrc/devel/py-flit_core/distinfo:1.1 pkgsrc/devel/py-flit_core/distinfo:1.2
--- pkgsrc/devel/py-flit_core/distinfo:1.1      Mon Jan 10 19:22:44 2022
+++ pkgsrc/devel/py-flit_core/distinfo  Thu Apr  7 12:28:15 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/01/10 19:22:44 adam Exp $
+$NetBSD: distinfo,v 1.2 2022/04/07 12:28:15 adam Exp $
 
-BLAKE2s (flit_core-3.6.0.tar.gz) = 3b6fa5b5cb59735775a7c34cb4c11f4d4abcd44e0ccf5e480abd747dd928d17d
-SHA512 (flit_core-3.6.0.tar.gz) = 6a217a6e7d8c4f81491314987ff1510f1cede233213982d9f7b2705ab5b1a7fb4b337ad9daa5ff824ed00034ba1d53215d56def86909240d49265e628ffb83b2
-Size (flit_core-3.6.0.tar.gz) = 37534 bytes
+BLAKE2s (flit_core-3.7.1.tar.gz) = 3a1a14c0525759d7a6c88e243fec45d96ce3517476628592c57b08678c775513
+SHA512 (flit_core-3.7.1.tar.gz) = 8c477bcd2924a93b51e6f3d8bbc3599929663c8d5addf16062e8e1b6c5acd740a4e4905b144092efb6e38e9700479525013831a53e055438f94c1e53ff5c6f8d
+Size (flit_core-3.7.1.tar.gz) = 40330 bytes



Home | Main Index | Thread Index | Old Index