Add to EPEL-9

Resolves: rhbz#2103054
This commit is contained in:
Lukas Zachar
2022-10-12 15:05:50 +02:00
parent b4cf5d68e2
commit efe3b40481
3 changed files with 19 additions and 1 deletions

1
.fmf/version Normal file
View File

@@ -0,0 +1 @@
1

11
plans/main.fmf Normal file
View File

@@ -0,0 +1,11 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: upstream tests
test: cd $TMT_SOURCE_DIR/*/pint && pytest-3
require:
- python3-pytest
- python3-pint

View File

@@ -3,7 +3,7 @@
Name: python-pint
Version: 0.16.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Physical quantities module
License: BSD
@@ -64,6 +64,8 @@ Documentation for the pint module
# drop numpy version requirement
sed -i '/@helpers.requires_numpy_at_least("1.16")/d' pint/testsuite/test_quantity.py
# drop pytest-mpl test requirement (not available in epel)
sed -i 's/pytest-mpl; //' setup.cfg
%generate_buildrequires
%pyproject_buildrequires -x test
@@ -98,6 +100,10 @@ rm -rf html/.{doctrees,buildinfo}
%endif
%changelog
* Wed Oct 12 2022 Lukáš Zachar <lzachar@redhat.com> - 0.16.1-3
- Drop test dependency python-mpl
- Resolves rhbz#2103054
* Sun Jan 24 2021 Matthias Runge <mrunge@redhat.com> - 0.16.1-2
- rebuild without bootstrap
- fix FTBFS (rhbz#1914333)