Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
287e642310 | ||
|
ee3d79c9a6 | ||
|
923a7d24c6 | ||
|
8daeb12e4d | ||
|
3ac5aeebf3 | ||
|
c15a5a533f | ||
|
c2c12a8bc3 | ||
|
34344d0174 | ||
|
f73f94bc0d | ||
|
7f2fd71175 | ||
|
5d40ddffec | ||
|
e4d6f94d0f | ||
|
49da3f9b62 | ||
|
09719d72ca | ||
|
6ff7586c76 | ||
|
32978075cd | ||
|
2eea535e26 | ||
|
656b7946f6 | ||
|
b702ad08d7 | ||
|
8d96326201 | ||
|
4149b3778f | ||
|
13cb68d42d | ||
|
1f1c0e3f49 | ||
|
21e971f112 | ||
|
30281e1be1 | ||
|
ed93bd5929 | ||
|
e71a807f7b | ||
|
f10d409c44 | ||
|
ea291fe695 | ||
|
5689c0cc3a |
5
.gitignore
vendored
5
.gitignore
vendored
@ -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
135
rpy.spec
@ -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
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (rpy2-2.8.6.tar.gz) = 614fd404c2bcd51a503e05bd2ea51fe39ddf20b16088496e9d9f0017ccbd06707f26341243c33669ae4ddf5b37ed748546cab9d4d23b9c26fd39319d9831dcfe
|
||||
SHA512 (rpy2-3.0.5.tar.gz) = f894ccb60da461d6f81c118cca182816bbb98531b89acb69eaed20d68e21033f1fed71a3270997c47ccc5fac42ea07bd15184991b9aa41f293603310656b3433
|
||||
|
Loading…
Reference in New Issue
Block a user