pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-setuptools_scm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 13 19:37:29 UTC 2022

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

Log Message:
py-setuptools_scm: update to 6.3.2.

6.3.2
=====

* fix #629: correctly convert Version data in tags_to_version parser to avoid errors

6.3.1
=====

* fix #625: restore tomli in install_requires after the regression changes in took it out
  and some users never added it even tho they have pyproject.toml files

6.3.0
=======

.. warning::

   This release explicitly warns on unsupported setuptools.
   This unfortunately has to happen as the legacy ``setup_requires`` mechanism
   incorrectly configures the setuptools working-set when a more recent setuptools
   version than available is required.

   As all releases of setuptools are affected as the historic mechanism
   for ensuring a working setuptools setup was shipping a ``ez_setup`` file
   next to ``setup.py``, which would install the required version of setuptools.

   This mechanism has long since been deprecated and removed
   as most people haven't been using it

* fix #612: depend on packaging to ensure version parsing parts
* fix #611: correct the typo that hid away the toml extra and add it in ``setup.py`` as well
* fix #615: restore support for the git_archive plugin which doesn't pass over the config
* restore the ability to run on old setuptools while to avoid breaking pipelines

v6.2.0
=======

* fix #608: resolve tomli dependency issue by making it a hard dependency
  as all intended/supported install options use pip/wheel this is only a feature release
* ensure python 3.10 works

v6.1.1
=======

* fix #605: completely disallow bdist_egg - modern enough setuptools>=45 uses pip
* fix #606: re-integrate and harden toml parsing
* fix #597: harden and expand support for figuring the current distribution name from
  `pyproject.toml` (`project.name` or `tool.setuptools_scm.dist_name`) section or `setup.cfg` (`metadata.name`)

v6.1.0
======

* fix #587: don't fail file finders when distribution is not given
* fix #524: new parameters ``normalize`` and ``version_cls`` to customize the version normalization class.
* fix #585: switch from toml to tomli for toml 1.0 support
* fix #591: allow to opt in for searching parent directories in the api
* fix #589: handle yaml encoding using the expected defaults
* fix #575: recommend storing the version_module inside of ``mypkg/_version.py``
* fix #571: accept branches starting with ``v`` as release branches
* fix #557: Use ``packaging.version`` for ``version_tuple``
* fix #544: enhance errors on unsupported python/setuptools versions

v6.0.1
======

*  fix #537: drop node_date on old git to avoid errors on missing %cI

v6.0.0
======

* fix #517: drop dead python support >3.6 required
* drop dead setuptools support > 45 required (can install wheels)
* drop egg building (use wheels)
* add git node_date metadata to get the commit time-stamp of HEAD
* allow version schemes to be priority ordered lists of version schemes
* support for calendar versioning (calver) by date


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-setuptools_scm/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-setuptools_scm/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-setuptools_scm/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-setuptools_scm/Makefile
diff -u pkgsrc/devel/py-setuptools_scm/Makefile:1.27 pkgsrc/devel/py-setuptools_scm/Makefile:1.28
--- pkgsrc/devel/py-setuptools_scm/Makefile:1.27        Tue Jan  4 20:53:38 2022
+++ pkgsrc/devel/py-setuptools_scm/Makefile     Thu Jan 13 19:37:29 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2022/01/04 20:53:38 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2022/01/13 19:37:29 wiz Exp $
 
-DISTNAME=      setuptools_scm-5.0.2
+DISTNAME=      setuptools_scm-6.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools_scm/}
 
@@ -11,16 +10,21 @@ HOMEPAGE=   https://github.com/pypa/setupt
 COMMENT=       Manage your versions by scm tags
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../textproc/py-tomli
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONED_DEPENDENCIES= pip:test test:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
+# needs to be installed for testing
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-setuptools_scm/PLIST
diff -u pkgsrc/devel/py-setuptools_scm/PLIST:1.5 pkgsrc/devel/py-setuptools_scm/PLIST:1.6
--- pkgsrc/devel/py-setuptools_scm/PLIST:1.5    Mon Jan 20 11:49:35 2020
+++ pkgsrc/devel/py-setuptools_scm/PLIST        Thu Jan 13 19:37:29 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/01/20 11:49:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/01/13 19:37:29 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,6 +12,9 @@ ${PYSITELIB}/setuptools_scm/__init__.pyo
 ${PYSITELIB}/setuptools_scm/__main__.py
 ${PYSITELIB}/setuptools_scm/__main__.pyc
 ${PYSITELIB}/setuptools_scm/__main__.pyo
+${PYSITELIB}/setuptools_scm/_version_cls.py
+${PYSITELIB}/setuptools_scm/_version_cls.pyc
+${PYSITELIB}/setuptools_scm/_version_cls.pyo
 ${PYSITELIB}/setuptools_scm/config.py
 ${PYSITELIB}/setuptools_scm/config.pyc
 ${PYSITELIB}/setuptools_scm/config.pyo
@@ -36,15 +39,18 @@ ${PYSITELIB}/setuptools_scm/hacks.pyo
 ${PYSITELIB}/setuptools_scm/hg.py
 ${PYSITELIB}/setuptools_scm/hg.pyc
 ${PYSITELIB}/setuptools_scm/hg.pyo
+${PYSITELIB}/setuptools_scm/hg_git.py
+${PYSITELIB}/setuptools_scm/hg_git.pyc
+${PYSITELIB}/setuptools_scm/hg_git.pyo
 ${PYSITELIB}/setuptools_scm/integration.py
 ${PYSITELIB}/setuptools_scm/integration.pyc
 ${PYSITELIB}/setuptools_scm/integration.pyo
+${PYSITELIB}/setuptools_scm/scm_workdir.py
+${PYSITELIB}/setuptools_scm/scm_workdir.pyc
+${PYSITELIB}/setuptools_scm/scm_workdir.pyo
 ${PYSITELIB}/setuptools_scm/utils.py
 ${PYSITELIB}/setuptools_scm/utils.pyc
 ${PYSITELIB}/setuptools_scm/utils.pyo
 ${PYSITELIB}/setuptools_scm/version.py
 ${PYSITELIB}/setuptools_scm/version.pyc
 ${PYSITELIB}/setuptools_scm/version.pyo
-${PYSITELIB}/setuptools_scm/win_py31_compat.py
-${PYSITELIB}/setuptools_scm/win_py31_compat.pyc
-${PYSITELIB}/setuptools_scm/win_py31_compat.pyo

Index: pkgsrc/devel/py-setuptools_scm/distinfo
diff -u pkgsrc/devel/py-setuptools_scm/distinfo:1.26 pkgsrc/devel/py-setuptools_scm/distinfo:1.27
--- pkgsrc/devel/py-setuptools_scm/distinfo:1.26        Tue Oct 26 10:19:04 2021
+++ pkgsrc/devel/py-setuptools_scm/distinfo     Thu Jan 13 19:37:29 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2021/10/26 10:19:04 nia Exp $
+$NetBSD: distinfo,v 1.27 2022/01/13 19:37:29 wiz Exp $
 
-BLAKE2s (setuptools_scm-5.0.2.tar.gz) = 014976c75d263635674f8ed3d561769c490d3f5426018ef98b51489c9a48130a
-SHA512 (setuptools_scm-5.0.2.tar.gz) = 1e92d03e2d8473425c146a885eb641e98895c43afebcd3c66c1455ace2d81f187b87681072f8aacc5e8be166577f00138cc7c53e4b7d77cb1b598f835b72b010
-Size (setuptools_scm-5.0.2.tar.gz) = 52273 bytes
+BLAKE2s (setuptools_scm-6.3.2.tar.gz) = cf03d6b556f099ce05fea58e433c9b245efa33e17673af18ab2607623da77cce
+SHA512 (setuptools_scm-6.3.2.tar.gz) = 9a16552803ef92367ad71007cf322737b5baa58b924083f04c860875bf6cb2e2bb4f43a7f89778b040c2eb55c5d32de479a918056519339820c6d0f1a6a386f0
+Size (setuptools_scm-6.3.2.tar.gz) = 57207 bytes



Home | Main Index | Thread Index | Old Index