Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Python Maint
f3baee62e9 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:45:57 +02:00
Python Maint
39a4d66190 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:09:00 +02:00
Fedora Release Engineering
b60d024322 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 08:52:45 +00:00
Tim Semeijn
a2f6246683 Stop using deprecated %py3_build/%py3_install macros (rhbz#2377891) 2025-07-19 21:49:01 +00:00
Python Maint
d6d4db2aa5 Rebuilt for Python 3.14 2025-06-03 12:30:50 +02:00
Fedora Release Engineering
d94699c0df Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 16:12:54 +00:00
Fedora Release Engineering
7f4bd7bdb2 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 13:10:25 +00:00
Python Maint
352a1282b5 Rebuilt for Python 3.13 2024-06-08 08:09:51 +02:00

View file

@ -35,13 +35,11 @@ BuildArch: noarch
%package -n python3-mmtf
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with check}
BuildRequires: python3-msgpack
BuildRequires: python3-pytest
BuildRequires: python3-numpy
%endif
%{?python_provide:%python_provide python3-mmtf}
Requires: python3-msgpack
%description -n python3-mmtf
@ -50,22 +48,25 @@ Requires: python3-msgpack
%prep
%setup -q -n %{pname}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files -l mmtf
%if %{with check}
%check
%pyproject_check_import
%pytest mmtf/tests/codec_tests.py
%endif
%files -n python3-mmtf
%license LICENSE.txt
%files -n python3-mmtf -f %{pyproject_files}
%doc CHANGELOG.md README.md
%{python3_sitelib}/mmtf_python-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/mmtf
%changelog
%autochangelog