-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-Magics.spec
72 lines (50 loc) · 1.82 KB
/
python-Magics.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
%global releaseno 3
Name: python-Magics
Version: 1.5.7
Release: %{releaseno}%{?dist}
Summary: Python bindings for Magics
License: Apache License, Version 2.0
URL: https://pypi.org/project/Magics/
Source0: https://files.pythonhosted.org/packages/source/M/Magics/Magics-%{version}.tar.gz#/python-Magics-%{version}.tar.gz
# see: https://github.com/ARPA-SIMC/python-Magics-rpm/issues/1
Patch1: https://github.com/arpa-simc/python-Magics-rpm/raw/v%{version}-%{releaseno}/python-Magics-disable-findlibs.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-numpy
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: Magics-devel
%description
Python bindings for Magics.
%package -n python3-Magics
Summary: Python3 bindings for Magics
Requires: Magics
%description -n python3-Magics
Python3 bindings for Magics.
%prep
%autosetup -n Magics-%{version} -p0
%build
%py3_build
%install
%py3_install
%check
# TODO: it seems that the tests are missing
# %{__python3} setup.py test
%files -n python3-Magics
%doc README.rst
%{python3_sitelib}/*
%changelog
* Mon Mar 14 2022 Emanuele Di Giacomo <[email protected]> - 1.5.7-3
- Fixed Patch1 URL
* Mon Mar 14 2022 Emanuele Di Giacomo <[email protected]> - 1.5.7-2
- Remove findlibs dependency (#1)
* Fri Mar 11 2022 Daniele Branchini <[email protected]> - 1.5.7-1
- Upstream update
* Thu Mar 18 2021 Daniele Branchini <[email protected]> - 1.5.6-1
- Upstream update, dropped support for CentOS7
* Wed Feb 26 2020 Daniele Branchini <[email protected]> - 1.1.1-1
- Upstream update
* Mon Jun 10 2019 Emanuele Di Giacomo <[email protected]> - 1.0.6-2
- Magics dependency
* Tue May 21 2019 Emanuele Di Giacomo <[email protected]> - 1.0.6-1
- Initial package