Compare commits

...

No commits in common. "c8-beta" and "c9s" have entirely different histories.
c8-beta ... c9s

7 changed files with 26 additions and 26 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/numpy-1.23.5.tar.gz
/numpy-1.23.4.tar.gz
/numpy-1.23.5.tar.gz

View File

@ -1 +0,0 @@
6c7f2278b4ddd113b30821e7e4d5f246dc3ee735 SOURCES/numpy-1.23.5.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

15
plan.fmf Normal file
View File

@ -0,0 +1,15 @@
execute:
how: tmt
discover:
how: shell
tests:
- name: bundled tests
require:
- gcc
- python3.11-pytest
- python3.11-numpy
- python3.11-pip
duration: 30m
test: |
pip3.11 install hypothesis==6.45.0 typing_extensions==4.4.0 &&
python3.11 -c 'import numpy; assert numpy.test()'

View File

@ -61,13 +61,6 @@ Requires: python%{python3_pkgversion}-numpy%{?_isa} = %{version}-%{release
Requires: python%{python3_pkgversion}-devel
Provides: python%{python3_pkgversion}-f2py = %{version}-%{release}
# Require alternatives version that implements the --keep-foreign flag
Requires(postun): alternatives >= 1.19.1-1
# python3.11 installs the alternatives master symlink to which we attach a slave
Requires: python%{python3_pkgversion}
Requires(post): python%{python3_pkgversion}
Requires(postun): python%{python3_pkgversion}
%description -n python%{python3_pkgversion}-numpy-f2py
This package includes a version of f2py that works properly with NumPy.
@ -106,9 +99,6 @@ rm f2py
rm f2py3
popd &> /dev/null
# All ghost files controlled by alternatives need to exist for the files
# section check to succeed
touch %{buildroot}%{_bindir}/f2py3
# distutils from setuptools don't have the patch that was created to avoid standard runpath here
# we strip it manually instead
@ -130,19 +120,6 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}
%{__python3} runtests.py -v --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{?ix86_k}'
%endif
%post -n python%{python3_pkgversion}-numpy-f2py
alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
%{_bindir}/f2py3 \
f2py3 \
%{_bindir}/f2py%{python3_version}
%postun -n python%{python3_pkgversion}-numpy-f2py
# Do this only during uninstall process (not during update)
if [ $1 -eq 0 ]; then
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \
f2py3
fi
%files -n python%{python3_pkgversion}-numpy
%license LICENSE.txt
@ -175,7 +152,6 @@ fi
%files -n python%{python3_pkgversion}-numpy-f2py
%{_bindir}/f2py%{python3_pkgversion}
%ghost %{_bindir}/f2py3
%{python3_sitearch}/%{modname}/f2py

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (numpy-1.23.5.tar.gz) = 8f3ece76dbe79bc887275332d25f851ade2087de3026de5fb7ed793590b3e7d274f590357296e152373b4e9a245d4d563393ba7198bca6d44631b941acb89c2c