packages: python-rpy2/python-rpy2.spec, python-rpy2/MANIFEST.in (NEW) - ver...
wrobell
wrobell at pld-linux.org
Mon Jun 6 19:50:52 CEST 2011
Author: wrobell Date: Mon Jun 6 17:50:52 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- ver. 2.2.0
- added py3k package
---- Files affected:
packages/python-rpy2:
python-rpy2.spec (1.7 -> 1.8) , MANIFEST.in (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-rpy2/python-rpy2.spec
diff -u packages/python-rpy2/python-rpy2.spec:1.7 packages/python-rpy2/python-rpy2.spec:1.8
--- packages/python-rpy2/python-rpy2.spec:1.7 Sun Jan 23 23:54:42 2011
+++ packages/python-rpy2/python-rpy2.spec Mon Jun 6 19:50:47 2011
@@ -2,12 +2,13 @@
%define module rpy2
Summary: Simple and robust Python interface to the R Programming Language
Name: python-%{module}
-Version: 2.1.8
+Version: 2.2.0
Release: 1
License: LGPL v2.1+
Group: Development/Languages/Python
Source0: http://downloads.sourceforge.net/rpy/%{module}-%{version}.tar.gz
-# Source0-md5: 378c053f5eac7e96c500c8ebcac00a42
+Source1: MANIFEST.in
+# Source0-md5: a42a7f1e6ddb10dc3a1886c2f4309fab
URL: http://rpy.sourceforge.net/
BuildRequires: R
BuildRequires: blas-devel
@@ -26,16 +27,39 @@
errors from the R language are converted to Python exceptions. Any
module installed for the R system can be used from within Python.
+%package -n python3-%{module}
+Summary: Simple and robust Python interface to the R Programming Language
+Group: Development/Languages/Python
+%pyrequires_eq python3-modules
+
+%description -n python3-%{module}
+RPy is a very simple, yet robust, Python interface to the R
+Programming Language. It can manage all kinds of R objects and can
+execute arbitrary R functions (including the graphic functions). All
+errors from the R language are converted to Python exceptions. Any
+module installed for the R system can be used from within Python.
+
%prep
%setup -q -n %{module}-%{version}
%build
export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%{__python} setup.py build --build-base py2
+
+cp %{SOURCE1} $RPM_BUILD_DIR/%{module}-%{version}
+%{__python3} setup.py build --build-base py3
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
+%{__python} setup.py build \
+ --build-base py2 \
+ install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%{__python3} setup.py build \
+ --build-base py3 \
+ install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
@@ -56,17 +80,41 @@
%{py_sitedir}/%{module}/rlike
%{py_sitedir}/%{module}/robjects
+%{py_sitedir}/%{module}/interactive
+
%dir %{py_sitedir}/%{module}/rinterface
%attr(755,root,root) %{py_sitedir}/%{module}/rinterface/*.so
%{py_sitedir}/%{module}/rinterface/*.py[co]
%{py_sitedir}/%{module}/rinterface/tests
+%files -n python3-%{module}
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%dir %{py3_sitedir}/%{module}
+%{py3_sitedir}/*.egg-info
+
+%{py3_sitedir}/%{module}/*.py
+%{py3_sitedir}/%{module}/__pycache__
+%{py3_sitedir}/%{module}/interactive
+%{py3_sitedir}/%{module}/rlike
+%{py3_sitedir}/%{module}/robjects
+
+%dir %{py_sitedir}/%{module}/rinterface
+%attr(755,root,root) %{py3_sitedir}/%{module}/rinterface/*.so
+%{py3_sitedir}/%{module}/rinterface/*.py
+%{py3_sitedir}/%{module}/rinterface/__pycache__
+%{py3_sitedir}/%{module}/rinterface/tests
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2011/06/06 17:50:47 wrobell
+- ver. 2.2.0
+- added py3k package
+
Revision 1.7 2011/01/23 22:54:42 sparky
- BR: blas-devel, lapack-devel
(not required directly, but NEWS file says they are)
================================================================
Index: packages/python-rpy2/MANIFEST.in
diff -u /dev/null packages/python-rpy2/MANIFEST.in:1.1
--- /dev/null Mon Jun 6 19:50:52 2011
+++ packages/python-rpy2/MANIFEST.in Mon Jun 6 19:50:47 2011
@@ -0,0 +1,58 @@
+global-include README
+global-exclude *patch* *diff* .hg
+
+include MANIFEST
+include NEWS README AUTHORS
+include MPL_LICENSE GPL_LICENSE LGPL_LICENSE
+
+
+include rpy/rinterface/rpy_rinterface.h
+include rpy/rinterface/_rinterface.c
+
+include rpy/rinterface/sexp.c
+include rpy/rinterface/sexp.h
+
+include rpy/rinterface/array.c
+include rpy/rinterface/array.h
+
+include rpy/rinterface/buffer.c
+include rpy/rinterface/buffer.h
+
+include rpy/rinterface/sequence.c
+include rpy/rinterface/sequence.h
+
+include rpy/rinterface/na_values.c
+include rpy/rinterface/na_values.h
+
+include rpy/rinterface/null_value.c
+include rpy/rinterface/null_value.h
+
+include rpy/rinterface/embeddedr.c
+include rpy/rinterface/embeddedr.h
+
+include rpy/rinterface/r_utils.c
+include rpy/rinterface/r_utils.h
+
+include rpy/rinterface/rpy_device.c
+include rpy/rinterface/rpy_device.h
+
+include rpy/rinterface/rexternalptr.c
+include rpy/rinterface/rexternalptr.h
+
+include rpy/rinterface/*.py
+include rpy/rinterface/tests/*.py
+
+
+include rpy/__init__.py
+include rpy/tests.py
+include rpy/rpy_classic.py
+include rpy/tests_rpy_classic.py
+recursive-include rpy/robjects *.py
+recursive-include rpy/interactive *.py
+recursive-include rpy/rlike *.py
+
+prune dist
+
+include doc/Makefile
+include doc/source/rpy2_logo.png
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-rpy2/python-rpy2.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list