|
 |
cf39d26 |
# Upstream does not release tarballs. Instead the code is copied directly
|
|
 |
cf39d26 |
# into the polymake distribution. Therefore, we check out the code from git.
|
|
 |
cf39d26 |
%global commit 031cc3a0a7c125060951d9e8b0ca67a5091cc5ac
|
|
 |
cf39d26 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
 |
cf39d26 |
%global gitdate 20190509
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%global srcname JuPyMake
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
Name: python-jupymake
|
|
 |
cf39d26 |
Version: 0.9
|
|
 |
d65a5dc |
Release: 15.%{gitdate}.%{shortcommit}%{?dist}
|
|
 |
cf39d26 |
Summary: Python wrapper for the polymake shell
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
License: GPLv2+
|
|
 |
cf39d26 |
URL: https://github.com/sebasguts/JuPyMake
|
|
 |
cf39d26 |
Source0: %{url}/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
BuildRequires: gcc-c++
|
|
 |
cf39d26 |
BuildRequires: libnormaliz-devel
|
|
 |
cf39d26 |
BuildRequires: polymake
|
|
 |
d65a5dc |
BuildRequires: python3-devel
|
|
 |
d65a5dc |
BuildRequires: %{py3_dist pip}
|
|
 |
d65a5dc |
BuildRequires: %{py3_dist setuptools}
|
|
 |
d65a5dc |
BuildRequires: %{py3_dist wheel}
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%global _description %{expand:
|
|
 |
cf39d26 |
This package provides a basic interface to call polymake from python.
|
|
 |
cf39d26 |
It is meant to be used in the Jupyter interface for polymake.}
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%description %_description
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%package -n python3-jupymake
|
|
 |
cf39d26 |
Summary: Python wrapper for the polymake shell
|
|
 |
cf39d26 |
Requires: polymake%{?_isa}
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%description -n python3-jupymake %_description
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%prep
|
|
 |
cf39d26 |
%autosetup -n %{srcname}-%{commit}
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%build
|
|
 |
d65a5dc |
%pyproject_wheel
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%install
|
|
 |
d65a5dc |
%pyproject_install
|
|
 |
cf39d26 |
|
|
 |
4a8dc7f |
%check
|
|
 |
4a8dc7f |
%py3_check_import JuPyMake
|
|
 |
4a8dc7f |
|
|
 |
cf39d26 |
%files -n python3-jupymake
|
|
 |
cf39d26 |
%doc README README.md example.py
|
|
 |
cf39d26 |
%license COPYING GPLv2 LICENSE
|
|
 |
cf39d26 |
%{python3_sitearch}/%{srcname}*
|
|
 |
cf39d26 |
|
|
 |
cf39d26 |
%changelog
|
|
 |
d65a5dc |
* Thu Oct 7 2021 Jerry James <loganjerry@gmail.com> - 0.9-15.20190509.031cc3a
|
|
 |
d65a5dc |
- Rebuild for polymake 4.5
|
|
 |
d65a5dc |
- Modernize the python macros
|
|
 |
d65a5dc |
|
|
 |
8c5d153 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14.20190509.031cc3a
|
|
 |
8c5d153 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
8c5d153 |
|
|
 |
3df89e0 |
* Thu Jun 17 2021 Jerry James <loganjerry@gmail.com> - 0.9-13.20190509.031cc3a
|
|
 |
3df89e0 |
- Rebuild for polymake 4.4
|
|
 |
3df89e0 |
|
|
 |
965e738 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9-12.20190509.031cc3a
|
|
 |
965e738 |
- Rebuilt for Python 3.10
|
|
 |
965e738 |
|
|
 |
7b66edf |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-11.20190509.031cc3a
|
|
 |
7b66edf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
7b66edf |
|
|
 |
7d40466 |
* Thu Dec 17 2020 Jerry James <loganjerry@gmail.com> - 0.9-10.20190509.031cc3a
|
|
 |
7d40466 |
- Rebuild for polymake 4.3
|
|
 |
7d40466 |
|
|
 |
6dde59d |
* Wed Sep 30 2020 Jerry James <loganjerry@gmail.com> - 0.9-9.20190509.031cc3a
|
|
 |
6dde59d |
- Rebuild for normaliz 3.8.9
|
|
 |
6dde59d |
|
|
 |
fd7b48d |
* Mon Sep 28 2020 Jerry James <loganjerry@gmail.com> - 0.9-8.20190509.031cc3a
|
|
 |
fd7b48d |
- Rebuild for polymake 4.2
|
|
 |
fd7b48d |
|
|
 |
8a9ad07 |
* Mon Aug 31 2020 Jerry James <loganjerry@gmail.com> - 0.9-7.20190509.031cc3a
|
|
 |
8a9ad07 |
- Rebuild for normaliz 3.8.8
|
|
 |
8a9ad07 |
|
|
 |
d8eddd1 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6.20190509.031cc3a
|
|
 |
d8eddd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
d8eddd1 |
|
|
 |
a0999f6 |
* Sat Jul 11 2020 Jerry James <loganjerry@gmail.com> - 0.9-5.20190509.031cc3a
|
|
 |
a0999f6 |
- Rebuild for polymake 4.1
|
|
 |
a0999f6 |
|
|
 |
795fccf |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.9-4.20190509.031cc3a
|
|
 |
795fccf |
- Rebuilt for Python 3.9
|
|
 |
795fccf |
|
|
 |
3fd287e |
* Wed Mar 4 2020 Jerry James <loganjerry@gmail.com> - 0.9-3.20190509.031cc3a
|
|
 |
3fd287e |
- Rebuild for polymake 4.0
|
|
 |
3fd287e |
|
|
 |
592b2d5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2.20190509.031cc3a
|
|
 |
592b2d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
592b2d5 |
|
|
 |
cf39d26 |
* Mon Nov 25 2019 Jerry James <loganjerry@gmail.com> - 0.9-1.20190509.031cc3a
|
|
 |
cf39d26 |
- Initial RPM
|