Compare commits

...

72 Commits

Author SHA1 Message Date
bda0fb718f
Disable tests failing on riscv64
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
2024-07-31 01:18:35 -04:00
1efdbee09a
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
2024-07-31 01:12:41 -04:00
Tom Callaway
098903b248 fix changelog date 2024-07-30 08:52:00 -04:00
Tom Callaway
e72e51bd67 manually apply PR#2 2024-07-30 08:50:56 -04:00
Fedora Release Engineering
2316fdc319 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 18:51:40 +00:00
Python Maint
bb7ec3f015 Rebuilt for Python 3.13 2024-06-07 23:21:20 +02:00
Python Maint
fc493823bd Rebuilt for Python 3.13 2024-06-07 18:41:55 +02:00
Iñaki Úcar
dfefc3a8f7 adjust rmin, exclude i686 2024-04-27 02:39:49 +02:00
Iñaki Úcar
4e79b0bdd9 R-maint-sig mass rebuild 2024-04-25 16:35:11 +02:00
Sandro
3c2b8505e3
Drop dependency on pandas for i686
In the next major update `pandas` will drop support for i686. This
package build requires `pandas`. Ensure `pandas` is no longer required
when building for i686.

More information is available in Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2263999
2024-03-06 16:54:17 +01:00
José Matos
213355c97f Update the spec file to more modern Python guidelines 2024-02-02 22:17:39 +00:00
José Matos
78f2a9012f Update to 3.5.15 2024-02-02 19:33:53 +00:00
Fedora Release Engineering
0898a29a0c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 16:23:24 +00:00
Fedora Release Engineering
d6dfd10391 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 12:02:01 +00:00
José Matos
29bc9f5641 Update to 3.5.14 2023-09-02 00:47:05 +01:00
José Matos
e112e50efb Update to 3.5.13
Update license tag to SPDX license identifier
Clean package (workarounds no longer required)
2023-09-01 20:37:04 +01:00
Fedora Release Engineering
3fdab1c74e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 17:07:41 +00:00
Python Maint
dbbdf1c7fe Rebuilt for Python 3.12 2023-06-28 14:06:06 +02:00
Iñaki Úcar
27eb85a2e1 Bump rmin 2023-04-21 23:41:52 +02:00
Iñaki Úcar
15725a8866 R-maint-sig mass rebuild 2023-04-21 12:42:24 +02:00
Tom Callaway
b90c2bc48c 3.5.10 2023-03-06 11:41:41 -05:00
Tom Callaway
b7bf15b33d update to 3.5.9 2023-03-03 16:33:52 -05:00
Fedora Release Engineering
55bec259b0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:59:25 +00:00
Iñaki Úcar
9eb10c0cd3 Rebuilt for R 4.2.2 + avoid depending on the patch version 2022-11-08 22:40:50 +01:00
Tom spot Callaway
ef18c77026 fix conditional 2022-07-28 13:48:10 -04:00
Tom spot Callaway
98f51fa7b7 update to 3.5.3, R 4.2.1 2022-07-28 13:41:59 -04:00
Fedora Release Engineering
544ffc3c30 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 01:04:15 +00:00
Python Maint
9b6ae5369a Rebuilt for Python 3.11 2022-06-15 14:01:26 +02:00
Tom spot Callaway
ab4ff34bfb R 4.1.3 2022-03-19 05:43:40 -04:00
Fedora Release Engineering
6a003c05fa - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 18:04:28 +00:00
Tom spot Callaway
dd8bbafdeb R 4.1.2 2021-11-11 11:25:55 -05:00
José Matos
49f49eb9ae R 4.1.1 2021-08-26 22:05:30 +01:00
Fedora Release Engineering
e6005ce02f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:38:05 +00:00
José Matos
f2700db83e make rversion conditional to cope with all Fedora releases (that have different R versions) 2021-07-07 09:01:32 +01:00
Python Maint
50c61f6d0f Rebuilt for Python 3.10 2021-06-18 12:45:23 +02:00
Tom spot Callaway
d9dabd2122 update to 3.4.5, rebuild for R 4.1.0 2021-06-07 13:21:59 -04:00
Python Maint
8717a12620 Rebuilt for Python 3.10 2021-06-04 21:13:50 +02:00
Tom spot Callaway
262c296936 3.4.4, R 4.0.5 2021-05-04 10:48:32 -04:00
Tom spot Callaway
5b7275016f rebuild for R 4.0.4 2021-02-15 11:18:54 -05:00
Fedora Release Engineering
cf6df4a754 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:28:53 +00:00
José Matos
b65d88f390 update to 3.4.2 2021-01-11 10:55:40 +00:00
José Matos
4147ac3c44 update to 3.4.2
reenable tests
2021-01-11 10:39:05 +00:00
José Matos
3e3662763c update to 3.4.2
reenable tests
2021-01-11 10:22:23 +00:00
José Matos
66e4727fe3 update to 3.4.1 2021-01-03 12:06:07 +00:00
Tom Callaway
a5113ebd0d update to 3.3.6, R 4.0.3 2020-10-13 14:13:33 -04:00
José Matos
0d286dbadb Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-08-05 12:44:35 +01:00
José Matos
86d77644b5 Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-08-05 11:29:41 +01:00
Fedora Release Engineering
799e253813 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:58:54 +00:00
Fedora Release Engineering
74d3ba77d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:57:04 +00:00
José Matos
a699f749d9 update to 3.3.5 2020-07-08 09:49:42 +01:00
José Matos
8ac3f89113 update to 3.3.4 2020-06-25 12:38:49 +01:00
Tom Callaway
7793a8244b rebuild for R 4.0.2 2020-06-23 12:11:20 -04:00
Dennis Gilmore
5c3701bbc0 rebuild for R 4.0.1
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2020-06-20 15:15:22 -05:00
José Matos
5b1af38e17 rebuild to pick both python-3.9 and R-4.0 2020-06-17 16:31:50 +01:00
Tom Callaway
193141cbe5 rebuild for R 4.0.0 2020-06-03 11:01:03 -04:00
Miro Hrončok
38bd5fc73c Rebuilt for Python 3.9 2020-05-26 03:49:32 +02:00
José Matos
2d2a5829c2 update to 3.3.3 2020-05-18 16:44:30 +01:00
José Matos
8414d1e717 place BuildRequires in canonical form
remove Requires since they are automatically provided
2020-03-22 22:20:24 +00:00
José Matos
41caf71e88 put tests on again
place BildRequires in canonical form
remove Requires since they are automatically provided
2020-03-22 22:07:03 +00:00
José Matos
fadce9e4bc put tests on again
place BildRequires in canonical form
remove Requires since they are automatically provided
2020-03-22 21:31:28 +00:00
José Matos
f30bc40233 put tests on again
place BildRequires in canonical form
remove Requires since they are automatically provided
2020-03-22 20:51:57 +00:00
José Matos
b61c348505 put tests on again
place BildRequires in canonical form
remove Requires since they are automatically provided
2020-03-22 20:18:28 +00:00
José Matos
bd1be0a8e5 update to 3.2.7 2020-03-22 20:00:36 +00:00
José Matos
c3a3831c66 update to 3.2.7 2020-03-22 19:59:07 +00:00
Tom Callaway
f5a70f423c rebuild for R 3.6.3 2020-03-03 09:49:01 -05:00
José Matos
950e080a3d update to 3.2.6 2020-02-23 12:13:24 +00:00
Fedora Release Engineering
7c42bfaf5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:54:18 +00:00
Tom Callaway
89f4fa9166 fixup 2019-12-12 16:44:01 -05:00
Tom Callaway
cadc322461 3.2.2 2019-12-12 16:34:52 -05:00
Miro Hrončok
7ddb836326 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:38:17 +02:00
Miro Hrončok
cd1fb718e4 Rebuilt for Python 3.8 2019-08-19 11:05:15 +02:00
Tom Callaway
57c8e65ad5 rebuild for R 3.6.1 2019-08-16 12:44:22 -04:00
3 changed files with 234 additions and 39 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
clog
/rpy2-3.0.5.tar.gz
/rpy2-3.5.15.tar.gz

268
rpy.spec
View File

@ -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

View File

@ -1 +1 @@
SHA512 (rpy2-3.0.5.tar.gz) = f894ccb60da461d6f81c118cca182816bbb98531b89acb69eaed20d68e21033f1fed71a3270997c47ccc5fac42ea07bd15184991b9aa41f293603310656b3433
SHA512 (rpy2-3.5.16.tar.gz) = 83f7261bc11dc216860b0ddf5f34998e97ac385a54c66142e537ef8b839dddda7abc300ea81d45cdd6bec59583c59405655970ca2f526c4bf9a4dfbfae019d70