Compare commits
72 Commits
master
...
main-riscv
Author | SHA1 | Date | |
---|---|---|---|
bda0fb718f | |||
1efdbee09a | |||
|
098903b248 | ||
|
e72e51bd67 | ||
|
2316fdc319 | ||
|
bb7ec3f015 | ||
|
fc493823bd | ||
|
dfefc3a8f7 | ||
|
4e79b0bdd9 | ||
|
3c2b8505e3 | ||
|
213355c97f | ||
|
78f2a9012f | ||
|
0898a29a0c | ||
|
d6dfd10391 | ||
|
29bc9f5641 | ||
|
e112e50efb | ||
|
3fdab1c74e | ||
|
dbbdf1c7fe | ||
|
27eb85a2e1 | ||
|
15725a8866 | ||
|
b90c2bc48c | ||
|
b7bf15b33d | ||
|
55bec259b0 | ||
|
9eb10c0cd3 | ||
|
ef18c77026 | ||
|
98f51fa7b7 | ||
|
544ffc3c30 | ||
|
9b6ae5369a | ||
|
ab4ff34bfb | ||
|
6a003c05fa | ||
|
dd8bbafdeb | ||
|
49f49eb9ae | ||
|
e6005ce02f | ||
|
f2700db83e | ||
|
50c61f6d0f | ||
|
d9dabd2122 | ||
|
8717a12620 | ||
|
262c296936 | ||
|
5b7275016f | ||
|
cf6df4a754 | ||
|
b65d88f390 | ||
|
4147ac3c44 | ||
|
3e3662763c | ||
|
66e4727fe3 | ||
|
a5113ebd0d | ||
|
0d286dbadb | ||
|
86d77644b5 | ||
|
799e253813 | ||
|
74d3ba77d7 | ||
|
a699f749d9 | ||
|
8ac3f89113 | ||
|
7793a8244b | ||
|
5c3701bbc0 | ||
|
5b1af38e17 | ||
|
193141cbe5 | ||
|
38bd5fc73c | ||
|
2d2a5829c2 | ||
|
8414d1e717 | ||
|
41caf71e88 | ||
|
fadce9e4bc | ||
|
f30bc40233 | ||
|
b61c348505 | ||
|
bd1be0a8e5 | ||
|
c3a3831c66 | ||
|
f5a70f423c | ||
|
950e080a3d | ||
|
7c42bfaf5f | ||
|
89f4fa9166 | ||
|
cadc322461 | ||
|
7ddb836326 | ||
|
cd1fb718e4 | ||
|
57c8e65ad5 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
clog
|
||||
/rpy2-3.0.5.tar.gz
|
||||
/rpy2-3.5.15.tar.gz
|
||||
|
268
rpy.spec
268
rpy.spec
@ -1,76 +1,272 @@
|
||||
%global srcname rpy
|
||||
%global sum Python interface to the R language
|
||||
%global rver 3.6.0
|
||||
%global rmaj 4
|
||||
%if (0%{?fedora} && 0%{?fedora} >= 40)
|
||||
%global rmin 4
|
||||
%else
|
||||
%global rmin 3
|
||||
%endif
|
||||
|
||||
%define add_rver() %{lua:
|
||||
local dep = rpm.expand("%1")
|
||||
local rmaj = rpm.expand("%{rmaj}")
|
||||
local rmin = rpm.expand("%{rmin}")
|
||||
print(dep .. " >= " .. rmaj .. "." .. rmin .. ", ")
|
||||
print(dep .. " < " .. rmaj .. "." .. rmin + 1)
|
||||
}
|
||||
|
||||
Name: rpy
|
||||
Version: 3.0.5
|
||||
Release: 2%{?dist}
|
||||
Version: 3.5.16
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: %{sum}
|
||||
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
Url: https://pypi.python.org/pypi/rpy2
|
||||
Source: https://files.pythonhosted.org/packages/source/r/%{srcname}2/%{srcname}2-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: R-devel = %{rver}
|
||||
BuildRequires: python3-setuptools, python3-devel, python3-cffi
|
||||
BuildRequires: python3-numpy
|
||||
BuildRequires: gcc
|
||||
BuildRequires: %add_rver R-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3dist(pytest)
|
||||
|
||||
Requires: python3-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
%global _description %{expand:
|
||||
RPy provides a robust Python interface to the R
|
||||
programming language. It can manage all kinds of R objects and can
|
||||
execute arbitrary R functions. All the errors from the R language are
|
||||
converted to Python exceptions.
|
||||
converted to Python exceptions.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{sum}
|
||||
Requires: python3-numpy
|
||||
Requires: R-core = %{rver}
|
||||
Requires: python3-six, python3-jinja2
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
Requires: %add_rver R-core
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
RPy provides a robust Python interface to the R
|
||||
programming language. It can manage all kinds of R objects and can
|
||||
execute arbitrary R functions. All the errors from the R language are
|
||||
converted to Python exceptions.
|
||||
%description -n python3-%{srcname} %_description
|
||||
|
||||
# Pandas will drop i686
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2263999
|
||||
%ifnarch %{xi86}
|
||||
%global extras all,numpy,pandas
|
||||
%else
|
||||
%global extras numpy
|
||||
%endif
|
||||
%{pyproject_extras_subpkg -n python%{python3_pkgversion}-%{srcname} %{extras}}
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}2-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
|
||||
%build
|
||||
# Temporary workaround to fix a bug in R
|
||||
# see https://stat.ethz.ch/pipermail/r-devel/2016-December/073548.html
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DHAVE_UINTPTR_T=1"
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{srcname}2 '_rinterface_cffi_*'
|
||||
|
||||
%check
|
||||
# The test are not present in the release
|
||||
# https://bitbucket.org/rpy2/rpy2/issues/528/please-ship-tests-along-with-the-release
|
||||
#cd %{name}
|
||||
#pytest-3 tests.py
|
||||
|
||||
# cd %{srcname}2
|
||||
# test_na.py and test_vector_complex.py disabled for riscv64
|
||||
# https://github.com/rpy2/rpy2/issues/1108
|
||||
%pytest rpy2/tests/ -k "not (\
|
||||
test_na.py or \
|
||||
test_vector_complex.py\
|
||||
)"
|
||||
|
||||
%files
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%doc AUTHORS NEWS PKG-INFO
|
||||
%license gpl-2.0.txt
|
||||
%{python3_sitelib}/%{srcname}*
|
||||
%{python3_sitelib}/_rinterface_cffi.py
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 30 2024 Jason Montleon <jmontleo@redhat.com> - 3.5.16-1.0.riscv64
|
||||
- Disable tests failing on riscv64
|
||||
|
||||
* Tue Jul 30 2024 Lumír Balhar <lbalhar@redhat.com> - 3.5.16-1
|
||||
- Update to 3.5.16 (rhbz#2272418)
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.15-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.5.15-6
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.5.15-5
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 3.5.15-4
|
||||
- R-maint-sig mass rebuild
|
||||
|
||||
* Wed Mar 06 2024 Sandro <devel@penguinpee.nl> - 3.5.15-3
|
||||
- Drop dependency on pandas for i686
|
||||
|
||||
* Fri Feb 2 2024 José Matos <jamatos@fedoraproject.org> - 3.5.15-2
|
||||
- Update the spec file to more modern Python guidelines
|
||||
|
||||
* Fri Feb 2 2024 José Matos <jamatos@fedoraproject.org> - 3.5.15-1
|
||||
- Update to 3.5.15
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.14-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Sep 1 2023 José Matos <jamatos@fedoraproject.org> - 3.5.14-1
|
||||
- Update to 3.5.14
|
||||
|
||||
* Fri Sep 1 2023 José Matos <jamatos@fedoraproject.org> - 3.5.13-1
|
||||
- Update to 3.5.13
|
||||
- Update license tag to SPDX license identifier
|
||||
- Clean package (workarounds no longer required)
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.10-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 3.5.10-3
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 3.5.10-2
|
||||
- R-maint-sig mass rebuild
|
||||
|
||||
* Mon Mar 6 2023 Tom Callaway <spot@fedoraproject.org> - 3.5.10-1
|
||||
- update to 3.5.10
|
||||
|
||||
* Fri Mar 3 2023 Tom Callaway <spot@fedoraproject.org> - 3.5.9-1
|
||||
- update to 3.5.9
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Nov 08 2022 Iñaki Úcar <iucar@fedoraproject.org> - 3.5.3-2
|
||||
- Rebuilt for R 4.2.2 + avoid depending on the patch version
|
||||
|
||||
* Thu Jul 28 2022 Tom Callaway <spot@fedoraproject.org> - 3.5.3-1
|
||||
- update to 3.5.3
|
||||
- R 4.2.1
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 3.4.5-9
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Sat Mar 19 2022 Tom Callaway <spot@fedoraproject.org> - 3.4.5-8
|
||||
- R 4.1.3
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Nov 11 2021 Tom Callaway <spot@fedoraproject.org> - 3.4.5-6
|
||||
- R 4.1.2
|
||||
|
||||
* Thu Aug 26 2021 José Matos <jamatos@fedoraproject.org> - 3.4.5-5
|
||||
- R 4.1.1
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jul 7 2021 José Matos <jamatos@fedoraproject.org> - 3.4.5-3
|
||||
- make rversion conditional to cope with all Fedora releases (that have different R versions)
|
||||
|
||||
* Fri Jun 18 2021 Python Maint <python-maint@redhat.com> - 3.4.5-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon Jun 7 2021 Tom Callaway <spot@fedoraproject.org> - 3.4.5-1
|
||||
- update to 3.4.5
|
||||
- R 4.1.0
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.4.4-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Tue May 4 2021 Tom Callaway <spot@fedoraproject.org> - 3.4.4-1
|
||||
- update to 3.4.4
|
||||
- R 4.0.5
|
||||
|
||||
* Mon Feb 15 2021 Tom Callaway <spot@fedoraproject.org> - 3.4.2-3
|
||||
- rebuild for R 4.0.4
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jan 11 2021 José Matos <jamatos@fedoraproject.org> - 3.4.2-1
|
||||
- update to 3.4.2
|
||||
|
||||
* Sun Jan 3 2021 José Matos <jamatos@fedoraproject.org> - 3.4.1-1
|
||||
- update to 3.4.1
|
||||
|
||||
* Tue Oct 13 2020 Tom Callaway <spot@fedoraproject.org> - 3.3.6-1
|
||||
- update to 3.3.6
|
||||
- R 4.0.3
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 8 2020 José Matos <jamatos@fedoraproject.org> - 3.3.5-1
|
||||
- update to 3.3.5
|
||||
|
||||
* Thu Jun 25 2020 José Matos <jamatos@fedoraproject.org> - 3.3.4-1
|
||||
- update to 3.3.4
|
||||
|
||||
* Tue Jun 23 2020 Tom Callaway <spot@fedoraproject.org> - 3.3.3-6
|
||||
- rebuild for R 4.0.2
|
||||
|
||||
* Sat Jun 20 2020 Dennis Gilmore <dennis@ausil.us> - 3.3.3-5
|
||||
- rebuild for R 4.0.1
|
||||
|
||||
* Wed Jun 17 2020 José Matos <jamatos@fedoraproject.org> - 3.3.3-4
|
||||
- rebuild to pick both python-3.9 and R-4.0
|
||||
|
||||
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.3.3-3
|
||||
- rebuild for R 4.0.0
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.3.3-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Mon May 18 2020 José Matos <jamatos@fedoraproject.org> - 3.3.3-1
|
||||
- update to 3.3.3
|
||||
|
||||
* Sun Mar 22 2020 José Matos <jamatos@fedoraproject.org> - 3.2.7-2
|
||||
- place BuildRequires in canonical form
|
||||
- remove Requires since they are automatically provided
|
||||
|
||||
* Sun Mar 22 2020 José Matos <jamatos@fedoraproject.org> - 3.2.7-1
|
||||
- update to 3.2.7
|
||||
|
||||
* Tue Mar 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.2.6-2
|
||||
- rebuild for R 3.6.3
|
||||
|
||||
* Sun Feb 23 2020 José Matos <jamatos@fedoraproject.org> - 3.2.6-1
|
||||
- update to 3.2.6
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Dec 12 2019 Tom Callaway <spot@fedoraproject.org> - 3.2.2-1
|
||||
- update to 3.2.2
|
||||
- package is now arch specific
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Aug 16 2019 Tom Callaway <spot@fedoraproject.org> - 3.0.5-3
|
||||
- rebuild for R 3.6.1
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (rpy2-3.0.5.tar.gz) = f894ccb60da461d6f81c118cca182816bbb98531b89acb69eaed20d68e21033f1fed71a3270997c47ccc5fac42ea07bd15184991b9aa41f293603310656b3433
|
||||
SHA512 (rpy2-3.5.16.tar.gz) = 83f7261bc11dc216860b0ddf5f34998e97ac385a54c66142e537ef8b839dddda7abc300ea81d45cdd6bec59583c59405655970ca2f526c4bf9a4dfbfae019d70
|
||||
|
Loading…
x
Reference in New Issue
Block a user