Compare commits

..

30 Commits
f25 ... master

Author SHA1 Message Date
Fedora Release Engineering
287e642310 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:47:56 +00:00
José Matos
ee3d79c9a6 update to 3.0.5 2019-07-17 13:53:21 +01:00
Tom Callaway
923a7d24c6 R 3.6.0 2019-05-30 13:49:09 -04:00
José Matos
8daeb12e4d update to 3.0.4 2019-05-16 09:39:41 +01:00
José Matos
3ac5aeebf3 update to 3.0.3 2019-05-06 07:23:28 +01:00
José Matos
c15a5a533f update to 3.0.2 2019-05-04 20:20:22 +01:00
Tom Callaway
c2c12a8bc3 R 3.5.3 2019-03-11 14:46:56 -04:00
José Matos
34344d0174 update to 3.0.1
rpy >= 3.0.0 requires python3
add a %chech section (commented because the tests are present in the release)
2019-03-04 20:47:13 +00:00
José Matos
f73f94bc0d update to 3.0.1
add conditional python2 subpackages for fedora < 30
add a %chech section
2019-03-04 19:39:36 +00:00
José Matos
7f2fd71175 update to 3.0.0
fix the directory ownership
declare license file
2019-02-27 13:00:39 +00:00
José Matos
5d40ddffec update to 3.0.0
fix the directory ownership
declare license file
2019-02-27 12:01:54 +00:00
José Matos
e4d6f94d0f update to 3.0.0
fix the directory ownership
declare license file
2019-02-27 11:53:30 +00:00
José Matos
49da3f9b62 update to 3.0.0
fix the directory ownership
2019-02-27 11:30:11 +00:00
José Matos
09719d72ca update to 3.0.0
fix the directory ownership
2019-02-27 11:03:44 +00:00
Miro Hrončok
6ff7586c76 https://fedoraproject.org/wiki/Changes/Python_Extension_Flags 2019-02-13 00:53:48 +01:00
Fedora Release Engineering
32978075cd - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:37:00 +00:00
Tom Callaway
2eea535e26 2.9.5 2019-01-17 15:23:45 -05:00
Tom Callaway
656b7946f6 rebuild for R 3.5.1 2018-09-14 08:15:16 -04:00
Igor Gnatenko
b702ad08d7
%{python_sitearch} → %{python2_sitearch}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-30 00:22:26 +02:00
Fedora Release Engineering
8d96326201 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:44:56 +00:00
Pete Walter
4149b3778f Rebuild for ICU 62 2018-07-10 22:01:05 +01:00
José Matos
13cb68d42d update to 2.9.4 2018-06-30 15:42:33 +01:00
Miro Hrončok
1f1c0e3f49 Rebuilt for Python 3.7 2018-06-19 11:26:59 +02:00
Tom Callaway
21e971f112 2.9.3 2018-05-14 11:25:18 -04:00
Pete Walter
30281e1be1 Rebuild for ICU 61.1 2018-04-30 20:40:47 +01:00
Tom Callaway
ed93bd5929 2.9.2 2018-03-28 15:23:52 -04:00
Fedora Release Engineering
e71a807f7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:20:38 +00:00
Tom Callaway
f10d409c44 update to 2.9.1, rebuild for R 3.4.3 2017-12-04 12:07:52 -05:00
Pete Walter
ea291fe695 Rebuild for ICU 60.1 2017-11-30 20:47:51 +00:00
Tom Callaway
5689c0cc3a 2.9.0 2017-10-27 20:06:31 -04:00
3 changed files with 100 additions and 42 deletions

5
.gitignore vendored
View File

@ -1,5 +1,2 @@
clog
/rpy2-2.8.1.tar.gz
/rpy2-2.8.3.tar.gz
/rpy2-2.8.5.tar.gz
/rpy2-2.8.6.tar.gz
/rpy2-3.0.5.tar.gz

135
rpy.spec
View File

@ -1,21 +1,25 @@
%global srcname rpy
%global sum Python interface to the R language
%global rver 3.4.3
%global rver 3.6.0
Name: rpy
Version: 2.8.6
Release: 5%{?dist}
Version: 3.0.5
Release: 2%{?dist}
Summary: %{sum}
License: GPLv2+
Url: https://pypi.python.org/pypi/rpy2
Source: https://files.pythonhosted.org/packages/source/r/%{srcname}2/%{srcname}2-%{version}.tar.gz
BuildRequires: R-devel = %{rver}, numpy, python2-devel, python3-devel
BuildRequires: python-setuptools, python3-setuptools
BuildRequires: readline-devel
BuildArch: noarch
Requires: python-%{srcname} = %{version}-%{release}
BuildRequires: R-devel = %{rver}
BuildRequires: python3-setuptools, python3-devel, python3-cffi
BuildRequires: python3-numpy
BuildRequires: readline-devel
BuildRequires: python3-pytest
Requires: python3-%{srcname} = %{version}-%{release}
%description
RPy provides a robust Python interface to the R
@ -23,25 +27,11 @@ 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.
%package -n python2-%{srcname}
Summary: %{sum}
#Requires: python2-numpy
Requires: numpy
Requires: R-core = %{rver}
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{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.
%package -n python3-%{srcname}
Summary: %{sum}
Requires: python3-numpy
Requires: R-core = %{rver}
Requires: python3-six, python3-jinja2
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
@ -55,35 +45,106 @@ converted to Python exceptions.
%setup -q -n %{srcname}2-%{version}
%build
# %%py2_build
# %%py3_build
# Temporary workaround to fix a bug in R
# see https://stat.ethz.ch/pipermail/r-devel/2016-December/073548.html
CFLAGS="$RPM_OPT_FLAGS -DHAVE_UINTPTR_T=1" %{__python2} setup.py build
CFLAGS="$RPM_OPT_FLAGS -DHAVE_UINTPTR_T=1" %{__python3} setup.py build
export CFLAGS="$RPM_OPT_FLAGS -DHAVE_UINTPTR_T=1"
%py3_build
%install
%py2_install
%py3_install
%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
%files
%files -n python2-%{srcname}
%doc AUTHORS NEWS PKG-INFO
%{python_sitearch}/
%files -n python3-%{srcname}
%doc AUTHORS NEWS PKG-INFO
%{python3_sitearch}/
%license gpl-2.0.txt
%{python3_sitelib}/%{srcname}*
%{python3_sitelib}/_rinterface_cffi.py
%{python3_sitelib}/__pycache__/*
%changelog
* Mon Dec 4 2017 Tom Callaway <spot@fedoraproject.org> - 2.8.6-5
- rebuild for R 3.4.3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Oct 27 2017 Tom Callaway <spot@fedoraproject.org> - 2.8.6-4
- rebuild for R 3.4.2
* Wed Jul 17 2019 José Matos <jamatos@fedoraproject.org> - 3.0.5-1
- update to 3.0.5
* Thu May 30 2019 Tom Callaway <spot@fedoraproject.org> - 3.0.4-2
- rebuild for R 3.6.0
* Thu May 16 2019 José Matos <jamatos@fedoraproject.org> - 3.0.4-1
- update to 3.0.4
* Mon May 6 2019 José Matos <jamatos@fedoraproject.org> - 3.0.3-1
- update to 3.0.3
* Sat May 4 2019 José Matos <jamatos@fedoraproject.org> - 3.0.2-1
- update to 3.0.2
* Mon Mar 11 2019 Tom Callaway <spot@fedoraproject.org> - 3.0.1-2
- R 3.5.3
* Mon Mar 4 2019 José Matos <jamatos@fedoraproject.org> - 3.0.1-1
- update to 3.0.1
- rpy >= 3.0.0 requires python3
- add a %%chech section (commented because the tests are not present in the release)
* Wed Feb 27 2019 José Matos <jamatos@fedoraproject.org> - 3.0.0-1
- update to 3.0.0
- fix the directory ownership
- declare license file
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 17 2019 Tom Callaway <spot@fedoraproject.org> - 2.9.5-1
- update to 2.9.5
- R 3.5.2
* Fri Sep 14 2018 Tom Callaway <spot@fedoraproject.org> - 2.9.4-4
- rebuild for R 3.5.1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.9.4-2
- Rebuild for ICU 62
* Sat Jun 30 2018 José Matos <jamatos@fedoraproject.org> - 2.9.4-1
- update to 2.9.4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.9.3-2
- Rebuilt for Python 3.7
* Mon May 14 2018 Tom Callaway <spot@fedoraproject.org> - 2.9.3-1
- update to 2.9.3, R 3.5.0
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 2.9.2-2
- Rebuild for ICU 61.1
* Wed Mar 28 2018 Tom Callaway <spot@fedoraproject.org> - 2.9.2-1
- update to 2.9.2, R 3.4.4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Dec 4 2017 Tom Callaway <spot@fedoraproject.org> - 2.9.1-1
- update to 2.9.1, rebuild for R 3.4.3
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 2.9.0-2
- Rebuild for ICU 60.1
* Fri Oct 27 2017 Tom Callaway <spot@fedoraproject.org> - 2.9.0-1
- update to 2.9.0, rebuild for R 3.4.2
- disable python2 support
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (rpy2-2.8.6.tar.gz) = 614fd404c2bcd51a503e05bd2ea51fe39ddf20b16088496e9d9f0017ccbd06707f26341243c33669ae4ddf5b37ed748546cab9d4d23b9c26fd39319d9831dcfe
SHA512 (rpy2-3.0.5.tar.gz) = f894ccb60da461d6f81c118cca182816bbb98531b89acb69eaed20d68e21033f1fed71a3270997c47ccc5fac42ea07bd15184991b9aa41f293603310656b3433