From 1d5857c682335c3ab63b9e4ed026f78e3fd79de8 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Mon, 20 Nov 2023 12:34:11 +0000 Subject: [PATCH] python3-constantly: update to 23.10.4. --- srcpkgs/python3-constantly/patches/py312.patch | 14 -------------- srcpkgs/python3-constantly/template | 9 +++++---- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/python3-constantly/patches/py312.patch diff --git a/srcpkgs/python3-constantly/patches/py312.patch b/srcpkgs/python3-constantly/patches/py312.patch deleted file mode 100644 index ba7d462ee78d8..0000000000000 --- a/srcpkgs/python3-constantly/patches/py312.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/versioneer.py -+++ b/versioneer.py -@@ -396,9 +396,9 @@ - # configparser.NoOptionError (if it lacks "VCS="). See the docstring at - # the top of versioneer.py for instructions on writing your setup.cfg . - setup_cfg = os.path.join(root, "setup.cfg") -- parser = configparser.SafeConfigParser() -+ parser = configparser.ConfigParser() - with open(setup_cfg, "r") as f: -- parser.readfp(f) -+ parser.read_file(f) - VCS = parser.get("versioneer", "VCS") # mandatory - - def get(parser, name): diff --git a/srcpkgs/python3-constantly/template b/srcpkgs/python3-constantly/template index 743c63b3dd695..41102ac173870 100644 --- a/srcpkgs/python3-constantly/template +++ b/srcpkgs/python3-constantly/template @@ -1,16 +1,17 @@ # Template file for 'python3-constantly' pkgname=python3-constantly -version=15.1.0 -revision=8 +version=23.10.4 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools python3-versioneer" depends="python3" +checkdepends="python3-Twisted" short_desc="Symbolic constants in Python (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/twisted/constantly" distfiles="${PYPI_SITE}/c/constantly/constantly-${version}.tar.gz" -checksum=586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35 +checksum=aa92b70a33e2ac0bb33cd745eb61776594dc48764b06c35e0efd050b7f1c7cbd post_install() { vlicense LICENSE