pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-frozenlist



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Dec 16 12:16:24 UTC 2023

Modified Files:
        pkgsrc/devel/py-frozenlist: Makefile PLIST distinfo

Log Message:
py-frozenlist: updated to 1.4.1

1.4.1 (2023-12-15)
==================

Packaging updates and notes for downstreams
-------------------------------------------

- Declared Python 3.12 and PyPy 3.8-3.10 supported officially
  in the distribution package metadata.

- Replaced the packaging is replaced from an old-fashioned :file:`setup.py` to an
  in-tree :pep:`517` build backend -- by :user:`webknjaz`.

  Whenever the end-users or downstream packagers need to build ``frozenlist``
  from source (a Git checkout or an sdist), they may pass a ``config_settings``
  flag ``pure-python``. If this flag is not set, a C-extension will be built
  and included into the distribution.

  Here is how this can be done with ``pip``:

  .. code-block:: console

      $ python3 -m pip install . --config-settings=pure-python=

  This will also work with ``-e | --editable``.

  The same can be achieved via ``pypa/build``:

  .. code-block:: console

      $ python3 -m build --config-setting=pure-python=

  Adding ``-w | --wheel`` can force ``pypa/build`` produce a wheel from source
  directly, as opposed to building an ``sdist`` and then building from it.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-frozenlist/Makefile \
    pkgsrc/devel/py-frozenlist/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-frozenlist/PLIST

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-frozenlist/Makefile
diff -u pkgsrc/devel/py-frozenlist/Makefile:1.5 pkgsrc/devel/py-frozenlist/Makefile:1.6
--- pkgsrc/devel/py-frozenlist/Makefile:1.5     Tue Jul 18 08:49:01 2023
+++ pkgsrc/devel/py-frozenlist/Makefile Sat Dec 16 12:16:24 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2023/07/18 08:49:01 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/12/16 12:16:24 adam Exp $
 
-DISTNAME=      frozenlist-1.4.0
+DISTNAME=      frozenlist-1.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/frozenlist/}
@@ -10,12 +10,17 @@ HOMEPAGE=   https://github.com/aio-libs/fr
 COMMENT=       List-like structure which implements collections.abc.MutableSequence
 LICENSE=       apache-2.0
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-expandvars-[0-9]*:../../misc/py-expandvars
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=47:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+.endif
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-frozenlist/distinfo
diff -u pkgsrc/devel/py-frozenlist/distinfo:1.5 pkgsrc/devel/py-frozenlist/distinfo:1.6
--- pkgsrc/devel/py-frozenlist/distinfo:1.5     Tue Jul 18 08:49:01 2023
+++ pkgsrc/devel/py-frozenlist/distinfo Sat Dec 16 12:16:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/07/18 08:49:01 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/12/16 12:16:24 adam Exp $
 
-BLAKE2s (frozenlist-1.4.0.tar.gz) = cf8730906ce08ff1e92b397afcc3d2fa757df798f650c386629dbf041f6d241f
-SHA512 (frozenlist-1.4.0.tar.gz) = 2b5ff165250d1d2e95f987f95084f46a0adb85e09d4f413435ef4bd50d2717f74096afc678b2c23528d8f1af68638145d5414f36a735299a57bae7ff8e87c18d
-Size (frozenlist-1.4.0.tar.gz) = 90722 bytes
+BLAKE2s (frozenlist-1.4.1.tar.gz) = 9a98fc06260cb08451c7ac665f76989d2bda27879330b9d64d524794b4536b6a
+SHA512 (frozenlist-1.4.1.tar.gz) = 5ec5f8cff67d7f1aae517507122bc6c7af66a8ef23cac8b490edf65180c723277a33628e1395f24ffbd793de1eb65f429fd0b39a50115f740ce614a5577ffae2
+Size (frozenlist-1.4.1.tar.gz) = 37820 bytes

Index: pkgsrc/devel/py-frozenlist/PLIST
diff -u pkgsrc/devel/py-frozenlist/PLIST:1.2 pkgsrc/devel/py-frozenlist/PLIST:1.3
--- pkgsrc/devel/py-frozenlist/PLIST:1.2        Wed Jan 19 06:10:03 2022
+++ pkgsrc/devel/py-frozenlist/PLIST    Sat Dec 16 12:16:24 2023
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/19 06:10:03 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2023/12/16 12:16:24 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/frozenlist/__init__.py
 ${PYSITELIB}/frozenlist/__init__.pyc
 ${PYSITELIB}/frozenlist/__init__.pyi



Home | Main Index | Thread Index | Old Index