diff --git a/constantly-15.1.0.tar.gz b/constantly-15.1.0.tar.gz deleted file mode 100644 index 82c8260..0000000 --- a/constantly-15.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35 -size 21465 diff --git a/constantly-23.10.4.tar.gz b/constantly-23.10.4.tar.gz new file mode 100644 index 0000000..d7dfec2 --- /dev/null +++ b/constantly-23.10.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa92b70a33e2ac0bb33cd745eb61776594dc48764b06c35e0efd050b7f1c7cbd +size 13300 diff --git a/python-constantly.changes b/python-constantly.changes index eb673f8..0428ed4 100644 --- a/python-constantly.changes +++ b/python-constantly.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 22 11:57:55 UTC 2024 - Dirk Müller + +- update to 23.10.4: + * switch to PEP517 build + * Python 3.12 support + ------------------------------------------------------------------- Mon Sep 25 13:30:48 UTC 2023 - Matej Cepl @@ -6,7 +13,7 @@ Mon Sep 25 13:30:48 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Mon Sep 25 06:55:37 UTC 2023 - Ondřej Súkup -- use unbundled versioneer to build package +- use unbundled versioneer to build package ------------------------------------------------------------------- Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller diff --git a/python-constantly.spec b/python-constantly.spec index e914016..05a73c6 100644 --- a/python-constantly.spec +++ b/python-constantly.spec @@ -1,7 +1,7 @@ # # spec file for package python-constantly # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,17 @@ %{?sle15_python_module_pythons} Name: python-constantly -Version: 15.1.0 +Version: 23.10.4 Release: 0 Summary: Symbolic constants in Python License: MIT Group: Development/Languages/Python URL: https://github.com/twisted/constantly Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module versioneer} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,20 +40,19 @@ It includes collections and constants with text, numeric, and bit flag values. Originally ``twisted.python.constants`` from the `Twisted `_ project. %prep -%setup -q -n constantly-%{version} -rm -rf versioneer.py +%autosetup -p1 -n constantly-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/constantly -%{python_sitelib}/constantly-%{version}*-info +%{python_sitelib}/constantly-%{version}.dist-info %changelog