4 Commits

Author SHA256 Message Date
53def385bf Accepting request 1279597 from devel:languages:python
- update to 2025.04.17:
  * test: Delete SOURCE_DATE_EPOCH envvar if already present for
    robustness
- update to 2025.04.02:
  * Update build backend
  * Support running tests from source distribution
- update to 2025.04.01:
  * Switch to `pyproject.toml` as much as possible
- update to 2025.03.31:
  * Support Python 3.11, test 3.12-dev, drop EOL 3.5-3.6
  * Update release.yml to use OIDC publishing
  * Drop 3.7 and 3.8
  * Support SOURCE_DATE_EPOCH for reproducible builds

- Inject multibuild.

OBS-URL: https://build.opensuse.org/request/show/1279597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calver?expand=0&rev=4
2025-05-26 16:32:12 +00:00
b0b004271b - update to 2025.04.17:
* test: Delete SOURCE_DATE_EPOCH envvar if already present for
    robustness
- update to 2025.04.02:
  * Update build backend
  * Support running tests from source distribution
- update to 2025.04.01:
  * Switch to `pyproject.toml` as much as possible
- update to 2025.03.31:
  * Support Python 3.11, test 3.12-dev, drop EOL 3.5-3.6
  * Update release.yml to use OIDC publishing
  * Drop 3.7 and 3.8
  * Support SOURCE_DATE_EPOCH for reproducible builds
- Inject multibuild.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calver?expand=0&rev=9
2025-05-23 16:35:19 +00:00
ddffa46724 Accepting request 1277826 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1277826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calver?expand=0&rev=3
2025-05-20 07:31:15 +00:00
b8b45481e5 Accepting request 1277733 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1277733
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calver?expand=0&rev=7
2025-05-15 15:17:46 +00:00
3 changed files with 32 additions and 8 deletions

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri May 23 16:32:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2025.04.17:
* test: Delete SOURCE_DATE_EPOCH envvar if already present for
robustness
- update to 2025.04.02:
* Update build backend
* Support running tests from source distribution
- update to 2025.04.01:
* Switch to `pyproject.toml` as much as possible
- update to 2025.03.31:
* Support Python 3.11, test 3.12-dev, drop EOL 3.5-3.6
* Update release.yml to use OIDC publishing
* Drop 3.7 and 3.8
* Support SOURCE_DATE_EPOCH for reproducible builds
-------------------------------------------------------------------
Thu May 15 12:48:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Apr 21 12:23:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -6,7 +28,7 @@ Fri Apr 21 12:23:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Thu Apr 20 08:02:49 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Inject multibuild.
- Inject multibuild.
-------------------------------------------------------------------
Wed Jul 13 21:23:32 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-calver
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,14 +28,18 @@
%define ghtag 2022.06.26
%{?sle15_python_module_pythons}
Name: python-calver%{psuffix}
Version: 2022.6.26
Version: 2025.4.17
Release: 0
Summary: Setuptools extension for CalVer package versions
License: Apache-2.0
URL: https://github.com/di/calver
Source: https://github.com/di/calver/archive/refs/tags/%{ghtag}.tar.gz#/calver-%{version}-gh.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirement
%if %{with test}
BuildRequires: %{python_module calver}
@@ -43,8 +47,6 @@ BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest}
%endif
# /SECTION
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
@@ -57,11 +59,11 @@ Setuptools extension for CalVer package versions
sed -i 's/calver_version(True)/"%{version}"/' setup.py
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif