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:           Sun Nov  3 07:50:30 UTC 2024

Modified Files:
        pkgsrc/devel/py-flit: Makefile distinfo
        pkgsrc/devel/py-flit/patches:
            patch-tests_test__find__python__executable.py
        pkgsrc/devel/py-flit_core: Makefile PLIST distinfo

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

Version 3.10.1

- The sdist of ``flit_core`` now includes the corresponding tests
  These were missing in 3.10.

Version 3.10

- ``flit publish`` can now use PyPI tokens stored in keyring
  either project tokens with a 'username' like
  :samp:`pypi_token:project:{project_name}` (use the `normalised form of the
  name <https://packaging.python.org/en/latest/specifications/name-normalization/>`_)
  or user tokens
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable
- Flit will work with current development versions of Pythona again
- The ``flit`` command line package now requires Python 3.8 or above
  ``flit_core`` still works with Python 3.6 or above.
- The metadata in packages now has the names of optional dependency groups
  ("extras") normalised, complying with version 2.3 of the metadata standard
- The ``flit`` command line package now depends on pip
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by ``flit_core.buildapi``
  build requirement, to protect against changes in future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``
- Flit now has a ``SECURITY.md`` file in the Github repository
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-flit/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-flit/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-flit_core/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-flit_core/PLIST
cvs rdiff -u -r1.4 -r1.5 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.8 pkgsrc/devel/py-flit/Makefile:1.9
--- pkgsrc/devel/py-flit/Makefile:1.8   Sat Oct 28 19:57:00 2023
+++ pkgsrc/devel/py-flit/Makefile       Sun Nov  3 07:50:30 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2023/10/28 19:57:00 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2024/11/03 07:50:30 adam Exp $
 
-DISTNAME=      flit-3.9.0
+DISTNAME=      flit-3.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flit/}
 
@@ -13,24 +12,19 @@ LICENSE=    modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 DEPENDS+=      ${PYPKGPREFIX}-flit_core-${PKGVERSION_NOREV}{,nb*}:../../devel/py-flit_core
+DEPENDS+=      ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-tomli_w-[0-9]*:../../textproc/py-tomli_w
 TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.7.3:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 TEST_DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} flit flit-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flit/distinfo
diff -u pkgsrc/devel/py-flit/distinfo:1.7 pkgsrc/devel/py-flit/distinfo:1.8
--- pkgsrc/devel/py-flit/distinfo:1.7   Mon May 15 07:18:20 2023
+++ pkgsrc/devel/py-flit/distinfo       Sun Nov  3 07:50:30 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2023/05/15 07:18:20 adam Exp $
+$NetBSD: distinfo,v 1.8 2024/11/03 07:50:30 adam Exp $
 
-BLAKE2s (flit-3.9.0.tar.gz) = ff2ac501bbf196c994b69037c67dd3647e1e324494b1a17f0cfd80d150fe967d
-SHA512 (flit-3.9.0.tar.gz) = 3cbca4530fe463e27fb43130e0d00681e63434bdd552bd61b4a2f3b7967729d9d9a49c69b1a2380ed99bcca1e66a38e592f41cbe38a471d3e7297ab00cdabc29
-Size (flit-3.9.0.tar.gz) = 141104 bytes
-SHA1 (patch-tests_test__find__python__executable.py) = ba687b8828f40720da7d3bbaea60b0665d781b5b
+BLAKE2s (flit-3.10.1.tar.gz) = cdf1a68e5c47f5d421e5ce40e7939ba1ad62b75012b052a72b4851e9c101e6a7
+SHA512 (flit-3.10.1.tar.gz) = 37ff7e4de10d4b123cee854e692511574748a050d177e50f06330223ae94a4347e358ff07ca9545c3c8346c51c6734227808929f59401fdd062498d6bf69209a
+Size (flit-3.10.1.tar.gz) = 143162 bytes
+SHA1 (patch-tests_test__find__python__executable.py) = 2b7c61dca228c54db79ce9a78608c4b5c03800bb

Index: pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py
diff -u pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py:1.1 pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py:1.2
--- pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py:1.1      Fri Dec  4 23:29:32 2020
+++ pkgsrc/devel/py-flit/patches/patch-tests_test__find__python__executable.py  Sun Nov  3 07:50:30 2024
@@ -1,15 +1,15 @@
-$NetBSD: patch-tests_test__find__python__executable.py,v 1.1 2020/12/04 23:29:32 riastradh Exp $
+$NetBSD: patch-tests_test__find__python__executable.py,v 1.2 2024/11/03 07:50:30 adam Exp $
 
 Disable test that expects `python' per se to appear in PATH, which it
 generally does not in pkgsrc.
 
---- tests/test_find_python_executable.py.orig  2020-09-06 10:55:07.000000000 +0000
+--- tests/test_find_python_executable.py.orig  2024-11-02 16:21:55.873429800 +0000
 +++ tests/test_find_python_executable.py
-@@ -20,6 +20,7 @@ def test_abs():
+@@ -23,6 +23,7 @@ def test_abs():
  
  
  def test_find_in_path():
 +    return
-     assert os.path.isabs(find_python_executable("python"))
+     assert isabs(find_python_executable("python"))
  
  

Index: pkgsrc/devel/py-flit_core/Makefile
diff -u pkgsrc/devel/py-flit_core/Makefile:1.8 pkgsrc/devel/py-flit_core/Makefile:1.9
--- pkgsrc/devel/py-flit_core/Makefile:1.8      Wed Oct 25 21:46:36 2023
+++ pkgsrc/devel/py-flit_core/Makefile  Sun Nov  3 07:50:30 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2023/10/25 21:46:36 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2024/11/03 07:50:30 adam Exp $
 
-DISTNAME=      flit_core-3.9.0
+DISTNAME=      flit_core-3.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flit-core/}
 
@@ -15,9 +14,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]
 TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 
 USE_LANGUAGES= # none
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-PY_PATCHPLIST=                 yes
+PY_PATCHPLIST= yes
 
 do-build:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m flit_core.wheel
@@ -27,7 +24,7 @@ do-install:
        find ${DESTDIR}${PREFIX}/${PYSITELIB} -name *.py | ${PYTHONBIN} -m py_compile -
 
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} flit_core/tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests_core
 
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flit_core/PLIST
diff -u pkgsrc/devel/py-flit_core/PLIST:1.6 pkgsrc/devel/py-flit_core/PLIST:1.7
--- pkgsrc/devel/py-flit_core/PLIST:1.6 Wed Oct 25 21:46:36 2023
+++ pkgsrc/devel/py-flit_core/PLIST     Sun Nov  3 07:50:30 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/10/25 21:46:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/11/03 07:50:30 adam Exp $
 ${PYSITELIB}/flit_core-${PKGVERSION}.dist-info/LICENSE
 ${PYSITELIB}/flit_core-${PKGVERSION}.dist-info/METADATA
 ${PYSITELIB}/flit_core-${PKGVERSION}.dist-info/RECORD
@@ -13,107 +13,6 @@ ${PYSITELIB}/flit_core/config.py
 ${PYSITELIB}/flit_core/config.pyc
 ${PYSITELIB}/flit_core/sdist.py
 ${PYSITELIB}/flit_core/sdist.pyc
-${PYSITELIB}/flit_core/tests/__init__.py
-${PYSITELIB}/flit_core/tests/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/EG_README.rst
-${PYSITELIB}/flit_core/tests/samples/bad-description-ext.toml
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/module1.py
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/src/module1.py
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/src/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/constructed_version/module1.py
-${PYSITELIB}/flit_core/tests/samples/constructed_version/module1.pyc
-${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/subsubdir/test.md
-${PYSITELIB}/flit_core/tests/samples/inclusion/doc/subdir/test.txt
-${PYSITELIB}/flit_core/tests/samples/inclusion/doc/test.rst
-${PYSITELIB}/flit_core/tests/samples/inclusion/doc/test.txt
-${PYSITELIB}/flit_core/tests/samples/inclusion/module1.py
-${PYSITELIB}/flit_core/tests/samples/inclusion/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/inclusion/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/invalid_version1.py
-${PYSITELIB}/flit_core/tests/samples/invalid_version1.pyc
-${PYSITELIB}/flit_core/tests/samples/missing-description-file.toml
-${PYSITELIB}/flit_core/tests/samples/misspelled-key.toml
-${PYSITELIB}/flit_core/tests/samples/module1-pkg.ini
-${PYSITELIB}/flit_core/tests/samples/module1-pkg.toml
-${PYSITELIB}/flit_core/tests/samples/module1.py
-${PYSITELIB}/flit_core/tests/samples/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/module2.py
-${PYSITELIB}/flit_core/tests/samples/module2.pyc
-${PYSITELIB}/flit_core/tests/samples/moduleunimportable.py
-${PYSITELIB}/flit_core/tests/samples/moduleunimportable.pyc
-${PYSITELIB}/flit_core/tests/samples/moduleunimportabledouble.py
-${PYSITELIB}/flit_core/tests/samples/moduleunimportabledouble.pyc
-${PYSITELIB}/flit_core/tests/samples/my-description.rst
-${PYSITELIB}/flit_core/tests/samples/no_docstring-pkg.toml
-${PYSITELIB}/flit_core/tests/samples/no_docstring.py
-${PYSITELIB}/flit_core/tests/samples/no_docstring.pyc
-${PYSITELIB}/flit_core/tests/samples/normalization/my_python_module.py
-${PYSITELIB}/flit_core/tests/samples/normalization/my_python_module.pyc
-${PYSITELIB}/flit_core/tests/samples/normalization/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/ns1-pkg/EG_README.rst
-${PYSITELIB}/flit_core/tests/samples/ns1-pkg/ns1/pkg/__init__.py
-${PYSITELIB}/flit_core/tests/samples/ns1-pkg/ns1/pkg/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/ns1-pkg/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/package1.toml
-${PYSITELIB}/flit_core/tests/samples/package1/__init__.py
-${PYSITELIB}/flit_core/tests/samples/package1/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/data_dir/foo.sh
-${PYSITELIB}/flit_core/tests/samples/package1/foo.py
-${PYSITELIB}/flit_core/tests/samples/package1/foo.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg/__init__.py
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg/sp_data_dir/test.json
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg2/__init__.py
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg2/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/pep517/LICENSE
-${PYSITELIB}/flit_core/tests/samples/pep517/README.rst
-${PYSITELIB}/flit_core/tests/samples/pep517/module1.py
-${PYSITELIB}/flit_core/tests/samples/pep517/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/pep517/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/pep621/LICENSE
-${PYSITELIB}/flit_core/tests/samples/pep621/README.rst
-${PYSITELIB}/flit_core/tests/samples/pep621/module1a.py
-${PYSITELIB}/flit_core/tests/samples/pep621/module1a.pyc
-${PYSITELIB}/flit_core/tests/samples/pep621/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/README.rst
-${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/module1.py
-${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/pyproject.toml
-${PYSITELIB}/flit_core/tests/samples/requires-dev.toml
-${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
-${PYSITELIB}/flit_core/tests/test_buildapi.pyc
-${PYSITELIB}/flit_core/tests/test_common.py
-${PYSITELIB}/flit_core/tests/test_common.pyc
-${PYSITELIB}/flit_core/tests/test_config.py
-${PYSITELIB}/flit_core/tests/test_config.pyc
-${PYSITELIB}/flit_core/tests/test_sdist.py
-${PYSITELIB}/flit_core/tests/test_sdist.pyc
-${PYSITELIB}/flit_core/tests/test_versionno.py
-${PYSITELIB}/flit_core/tests/test_versionno.pyc
-${PYSITELIB}/flit_core/tests/test_wheel.py
-${PYSITELIB}/flit_core/tests/test_wheel.pyc
 ${PYSITELIB}/flit_core/vendor/README
 ${PYSITELIB}/flit_core/vendor/__init__.py
 ${PYSITELIB}/flit_core/vendor/__init__.pyc

Index: pkgsrc/devel/py-flit_core/distinfo
diff -u pkgsrc/devel/py-flit_core/distinfo:1.4 pkgsrc/devel/py-flit_core/distinfo:1.5
--- pkgsrc/devel/py-flit_core/distinfo:1.4      Mon May 15 07:18:20 2023
+++ pkgsrc/devel/py-flit_core/distinfo  Sun Nov  3 07:50:30 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/05/15 07:18:20 adam Exp $
+$NetBSD: distinfo,v 1.5 2024/11/03 07:50:30 adam Exp $
 
-BLAKE2s (flit_core-3.9.0.tar.gz) = 0f03b67d88fa4bbb04765266458197d8ba3c9c7edc58beffdc3cbdb7f399eebd
-SHA512 (flit_core-3.9.0.tar.gz) = 1205589930d2c51d6aa6b2533a122a912e63b157e94adba2a0649a58d324fa98a5b84609d9b53e9d236f1cdb6a6984de2cefcf2f11abc2cd83956df21f269ad6
-Size (flit_core-3.9.0.tar.gz) = 41917 bytes
+BLAKE2s (flit_core-3.10.1.tar.gz) = 493f66a39f7915dbb9181bbaf5327363987dae6927aea55a7a3e721b241a6674
+SHA512 (flit_core-3.10.1.tar.gz) = ac0d39b6ee35b553fc8f7f3f6e558fdc32714ed64d6c506da7913ef95d00780b5f86894d9b042f32cdc51d38ec515fa02f1154b0edbc81d8e53475788c444b08
+Size (flit_core-3.10.1.tar.gz) = 42842 bytes



Home | Main Index | Thread Index | Old Index