10 Commits
epel9 ... f41

Author SHA1 Message Date
Benjamin A. Beasley
7ab2a499b1 Drop spurious test BuildRequires 2024-08-21 07:36:01 -04:00
Fedora Release Engineering
ee8e800388 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 11:40:31 +00:00
Benjamin A. Beasley
ae9470f609 Update to 0.3 (close RHBZ#2268657) 2024-06-14 12:26:40 +00:00
Python Maint
c2ed49c209 Rebuilt for Python 3.13 2024-06-07 10:51:49 +02:00
Benjamin A. Beasley
27a8c90564 Add setuptools to the runtime dependencies (fix RHBZ#2268986) 2024-03-11 08:33:36 -04:00
Fedora Release Engineering
e9807173c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 04:25:08 +00:00
Fedora Release Engineering
fb3f2c4980 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 01:26:09 +00:00
Benjamin A. Beasley
f3215b5f0b Fix sed-patch to remove BuildRequires on python3-pytest-cov
[skip changelog]
2024-01-05 09:49:53 -05:00
Benjamin A. Beasley
a1527d8d1e Assert that %pyproject_files contains a license file 2023-12-17 19:59:31 -05:00
Fedora Release Engineering
a5354800da Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 09:42:19 +00:00
4 changed files with 13 additions and 29 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/flexcache-0.2.tar.gz
/flexcache-0.3.tar.gz

View File

@@ -1,12 +0,0 @@
diff -Naur flexcache-0.2-original/setup.cfg flexcache-0.2/setup.cfg
--- flexcache-0.2-original/setup.cfg 2022-02-27 23:12:46.468990600 -0500
+++ flexcache-0.2/setup.cfg 2024-03-11 08:32:50.998736526 -0400
@@ -26,6 +26,8 @@
zip_safe = True
include_package_data = True
python_requires = >=3.7
+install_requires =
+ setuptools
setup_requires =
setuptools
setuptools_scm

View File

@@ -1,5 +1,5 @@
Name: python-flexcache
Version: 0.2
Version: 0.3
Release: %autorelease
Summary: Cache on disk the result of expensive calculations
@@ -7,19 +7,17 @@ License: BSD-3-Clause
URL: https://github.com/hgrecco/flexcache
Source: %{pypi_source flexcache}
# Add setuptools to the runtime dependencies
#
# This is needed for the “import pkg_resources” in the top-level
# __init__.py.
#
# Downstream-only because version 0.3 of flexcache does not use pkg_resources,
# so this is a temporary patch for version 0.2 only.
Patch: flexcache-0.2-setuptools.patch
BuildArch: noarch
BuildRequires: python3-devel
# See the test extra in pyproject.toml. We list test dependencies manually
# since we do not want pytest-cov
# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters)
# and the other pytest plugins are spurious
# (https://github.com/hgrecco/flexacache/pull/3).
BuildRequires: %{py3_dist pytest}
%global common_description %{expand:
A robust and extensible package to cache on disk the result of expensive
calculations.}
@@ -34,13 +32,11 @@ Summary: %{summary}
%prep
%autosetup -n flexcache-%{version} -p1
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' setup.cfg
%autosetup -n flexcache-%{version}
%generate_buildrequires
%pyproject_buildrequires -x test
%pyproject_buildrequires
%build
@@ -49,7 +45,7 @@ sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' setup.cfg
%install
%pyproject_install
%pyproject_save_files flexcache
%pyproject_save_files -l flexcache
# Upstream probably doesnt want to install flexcache.testsuite, but we dont
# know how to suggest a fix given “[BUG] options.packages.find.exclude not
@@ -67,7 +63,6 @@ sed -r -i '/\/flexcache\/testsuite/d' %{pyproject_files}
%files -n python3-flexcache -f %{pyproject_files}
# pyproject_files handles AUTHORS and LICENSE; verify with “rpm -qL -p …”
%doc README.rst
%doc CHANGES

View File

@@ -1 +1 @@
SHA512 (flexcache-0.2.tar.gz) = d06f854e32ee8b5449e695bb51968f5b674fe32f553d8357c1854b90d200cdde6d48c8d91ddce121b7cd2b1fd7d3b12cc91e708ebd9f4a1b5d622610c9302321
SHA512 (flexcache-0.3.tar.gz) = 2e555694d7d3f613843bbcc74ae873972c90683b1fc4408507d5053bae67b5302e80c83be9170481e43c663be90f5dad24be31e08db9d5c2e2024009ba77debd