Compare commits

1 Commits
main ... 1.1

4 changed files with 10 additions and 32 deletions

BIN
constantly-15.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
constantly-23.10.4.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,20 +1,3 @@
-------------------------------------------------------------------
Fri Nov 22 11:57:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 23.10.4:
* switch to PEP517 build
* Python 3.12 support
-------------------------------------------------------------------
Mon Sep 25 13:30:48 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Mon Sep 25 06:55:37 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- use unbundled versioneer to build package
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-constantly # spec file for package python-constantly
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-constantly Name: python-constantly
Version: 23.10.4 Version: 15.1.0
Release: 0 Release: 0
Summary: Symbolic constants in Python Summary: Symbolic constants in Python
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/twisted/constantly URL: https://github.com/twisted/constantly
Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module versioneer}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -40,19 +37,17 @@ It includes collections and constants with text, numeric, and bit flag values.
Originally ``twisted.python.constants`` from the `Twisted <https://twistedmatrix.com/>`_ project. Originally ``twisted.python.constants`` from the `Twisted <https://twistedmatrix.com/>`_ project.
%prep %prep
%autosetup -p1 -n constantly-%{version} %setup -q -n constantly-%{version}
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/constantly %{python_sitelib}/*
%{python_sitelib}/constantly-%{version}.dist-info
%changelog %changelog