|
|
04a2583 |
%global desc %{expand: \
|
|
|
04a2583 |
Numpoly is a generic library for creating, manipulating and evaluating arrays of polynomials.}
|
|
|
04a2583 |
|
|
|
04a2583 |
%global pypi_name numpoly
|
|
|
04a2583 |
|
|
|
786ce87 |
Name: python-%{pypi_name}
|
|
|
1e309a4 |
Version: 1.2.3
|
|
|
1e309a4 |
Release: 1%{?dist}
|
|
|
786ce87 |
Summary: Polynomials as a numpy datatype
|
|
|
786ce87 |
License: BSD
|
|
|
786ce87 |
URL: https://github.com/jonathf/numpoly
|
|
|
04a2583 |
|
|
|
04a2583 |
# Use the github source to build this package.
|
|
|
786ce87 |
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
786ce87 |
BuildArch: noarch
|
|
|
786ce87 |
|
|
|
786ce87 |
BuildRequires: python3-devel
|
|
|
786ce87 |
BuildRequires: python3dist(setuptools)
|
|
|
786ce87 |
BuildRequires: pyproject-rpm-macros
|
|
|
786ce87 |
BuildRequires: python3dist(numpy)
|
|
|
786ce87 |
BuildRequires: python3dist(sphinx)
|
|
|
786ce87 |
BuildRequires: python3-sympy
|
|
|
786ce87 |
BuildRequires: pylint
|
|
|
786ce87 |
BuildRequires: python3-six
|
|
|
786ce87 |
BuildRequires: poetry
|
|
|
786ce87 |
BuildRequires: python3dist(pytest)
|
|
|
786ce87 |
BuildRequires: python3dist(pytest-cov)
|
|
|
786ce87 |
BuildRequires: python3dist(coverage)
|
|
|
786ce87 |
BuildRequires: python3dist(pydocstyle)
|
|
|
786ce87 |
BuildRequires: python3dist(wheel)
|
|
|
04a2583 |
|
|
|
04a2583 |
%description
|
|
|
04a2583 |
%{desc}
|
|
|
04a2583 |
|
|
|
04a2583 |
%package -n python3-%{pypi_name}
|
|
|
04a2583 |
Summary: %{summary}
|
|
|
04a2583 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
04a2583 |
|
|
|
04a2583 |
%description -n python3-%{pypi_name}
|
|
|
04a2583 |
%{desc}
|
|
|
04a2583 |
|
|
|
04a2583 |
%prep
|
|
|
04a2583 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
04a2583 |
rm -rf %{pypi_name}.egg-info
|
|
|
04a2583 |
|
|
|
04a2583 |
%generate_buildrequires
|
|
|
04a2583 |
%pyproject_buildrequires -r
|
|
|
04a2583 |
|
|
|
04a2583 |
%build
|
|
|
04a2583 |
%pyproject_wheel
|
|
|
04a2583 |
|
|
|
04a2583 |
%install
|
|
|
04a2583 |
%pyproject_install
|
|
|
04a2583 |
|
|
|
4c7deee |
%check
|
|
|
4c7deee |
export PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib}
|
|
|
4c7deee |
%{pytest} test
|
|
|
04a2583 |
|
|
|
04a2583 |
%files -n python3-%{pypi_name}
|
|
|
04a2583 |
%license LICENSE
|
|
|
04a2583 |
%doc README.rst
|
|
|
04a2583 |
%{python3_sitelib}/%{pypi_name}
|
|
|
04a2583 |
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
|
|
|
04a2583 |
|
|
|
04a2583 |
%changelog
|
|
|
1e309a4 |
* Sat Jul 03 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.2.3-1
|
|
|
1e309a4 |
- Update to latest release
|
|
|
1e309a4 |
|
|
|
1bab111 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.3-2
|
|
|
1bab111 |
- Rebuilt for Python 3.10
|
|
|
1bab111 |
|
|
|
bb06f86 |
* Wed Apr 07 2021 Luis Bazan <lbazan@fedoraproject.org> - 1.1.3-1
|
|
|
bb06f86 |
- New upstream version
|
|
|
bb06f86 |
|
|
|
bfa85b3 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
bfa85b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
bfa85b3 |
|
|
|
e59712c |
* Sat Dec 05 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.1.1-1
|
|
|
e59712c |
- Update to latest release
|
|
|
e59712c |
|
|
|
4c7deee |
* Sun Nov 29 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.1.0-1
|
|
|
4c7deee |
- Update to latest release
|
|
|
4c7deee |
- Enable tests
|
|
|
4c7deee |
|
|
|
4cf02a2 |
* Sat Aug 08 2020 Luis Bazan <lbazan@fedoraproject.org> - 1.0.6-1
|
|
|
4cf02a2 |
- New upstream version
|
|
|
4cf02a2 |
|
|
|
085de0e |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
085de0e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
085de0e |
|
|
|
27b7922 |
* Fri Jun 26 2020 Luis Bazan <lbazan@fedoraproject.org> - 1.0.3-1
|
|
|
27b7922 |
- New upstream version
|
|
|
27b7922 |
|
|
|
ff2ab32 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.2.3-2
|
|
|
ff2ab32 |
- Rebuilt for Python 3.9
|
|
|
ff2ab32 |
|
|
|
a9bcf30 |
* Wed May 13 2020 Luis Bazan <lbazan@fedoraproject.org> - 0.2.3-2
|
|
|
a9bcf30 |
- New upstream version
|
|
|
a9bcf30 |
|
|
|
04a2583 |
* Wed Apr 22 2020 Luis Bazan <lbazan@fedoraproject.org> - 0.1.16-2
|
|
|
04a2583 |
- Fix comments in BZ1808552
|
|
|
04a2583 |
|
|
|
04a2583 |
* Wed Apr 22 2020 Luis Bazan <lbazan@fedoraproject.org> - 0.1.16-1
|
|
|
04a2583 |
- Initial Import
|