From fd56dae86184eaf599c250ffb29618d5fd505e30 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 30 Aug 2021 21:16:51 -0400 Subject: [PATCH] python3-setuptools_scm: update to 6.2.0. --- .../patches/toml-extra.patch | 22 +++++++++++++++++++ srcpkgs/python3-setuptools_scm/template | 8 +++---- 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/python3-setuptools_scm/patches/toml-extra.patch diff --git a/srcpkgs/python3-setuptools_scm/patches/toml-extra.patch b/srcpkgs/python3-setuptools_scm/patches/toml-extra.patch new file mode 100644 index 00000000000..30faa554445 --- /dev/null +++ b/srcpkgs/python3-setuptools_scm/patches/toml-extra.patch @@ -0,0 +1,22 @@ +From 790e9c19d046f5128d758ee2f9fa8d55787c0780 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Mon, 30 Aug 2021 22:37:24 -0400 +Subject: [PATCH] setup.cfg: fix typo preventing toml extra from actually + existing + +Fixup for #610 which makes it actually take effect. +--- + setup.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 49bf10c..c4c2daa 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -68,5 +68,5 @@ setuptools_scm.version_scheme = + no-guess-dev = setuptools_scm.version:no_guess_dev_version + calver-by-date = setuptools_scm.version:calver_by_date + +-[option.extras_require] ++[options.extras_require] + toml = # empty diff --git a/srcpkgs/python3-setuptools_scm/template b/srcpkgs/python3-setuptools_scm/template index cb74f37dd5f..390e49e5ca2 100644 --- a/srcpkgs/python3-setuptools_scm/template +++ b/srcpkgs/python3-setuptools_scm/template @@ -1,17 +1,17 @@ # Template file for 'python3-setuptools_scm' pkgname=python3-setuptools_scm -version=6.0.1 +version=6.2.0 revision=1 wrksrc="${pkgname#python3-}-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-wheel" +hostmakedepends="python3-setuptools python3-tomli" +depends="python3-setuptools python3-tomli" short_desc="Manage Python package versions with SCM tags" maintainer="Andrew J. Hesford " license="MIT" homepage="https://github.com/pypa/setuptools_scm" distfiles="${PYPI_SITE}/s/setuptools_scm/setuptools_scm-${version}.tar.gz" -checksum=d1925a69cb07e9b29416a275b9fadb009a23c148ace905b2fb220649a6c18e92 +checksum=19e2cc7768b8cd7d0efd69e264ffcb8e7191cf9b5c69a0e60139c45f1980ca64 post_install() { vlicense LICENSE