Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ab2a499b1 | ||
|
|
ee8e800388 | ||
|
|
ae9470f609 | ||
|
|
c2ed49c209 | ||
|
|
27a8c90564 | ||
|
|
e9807173c8 | ||
|
|
fb3f2c4980 | ||
|
|
f3215b5f0b | ||
|
|
a1527d8d1e | ||
|
|
a5354800da |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
/flexcache-0.2.tar.gz
|
||||
/flexcache-0.3.tar.gz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: python-flexcache
|
||||
Version: 0.2
|
||||
Version: 0.3
|
||||
Release: %autorelease
|
||||
Summary: Cache on disk the result of expensive calculations
|
||||
|
||||
@@ -11,6 +11,13 @@ 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.}
|
||||
@@ -26,12 +33,10 @@ Summary: %{summary}
|
||||
|
||||
%prep
|
||||
%autosetup -n flexcache-%{version}
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
sed -r -i 's/^([[:blank:]]*)("pytest-cov")/\1# \2/' pyproject.toml
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x test
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
@@ -40,7 +45,7 @@ sed -r -i 's/^([[:blank:]]*)("pytest-cov")/\1# \2/' pyproject.toml
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files flexcache
|
||||
%pyproject_save_files -l flexcache
|
||||
|
||||
# Upstream probably doesn’t want to install flexcache.testsuite, but we don’t
|
||||
# know how to suggest a fix given “[BUG] options.packages.find.exclude not
|
||||
@@ -58,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
|
||||
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (flexcache-0.2.tar.gz) = d06f854e32ee8b5449e695bb51968f5b674fe32f553d8357c1854b90d200cdde6d48c8d91ddce121b7cd2b1fd7d3b12cc91e708ebd9f4a1b5d622610c9302321
|
||||
SHA512 (flexcache-0.3.tar.gz) = 2e555694d7d3f613843bbcc74ae873972c90683b1fc4408507d5053bae67b5302e80c83be9170481e43c663be90f5dad24be31e08db9d5c2e2024009ba77debd
|
||||
|
||||
Reference in New Issue
Block a user