rpms/f2py/devel f2py.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Thu Oct 20 18:46:28 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/f2py/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14373/devel

Modified Files:
	.cvsignore sources 
Added Files:
	f2py.spec 
Log Message:
auto-import f2py-2.45.241_1926-1 on branch devel from f2py-2.45.241_1926-1.src.rpm


--- NEW FILE f2py.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           f2py
Version:        2.45.241_1926
Release:        1
Summary:        Fortran to Python interface generator

Group:          Development/Languages
License:        LGPL
URL:            http://cens.ioc.ee/projects/f2py2e/
Source0:        http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

%description
The purpose of the F2PY --Fortran to Python interface generator-- project is to
provide connection between Python and Fortran languages. F2PY is a Python
extension tool for creating Python C/API modules from (handwritten or F2PY
generated) signature files (or directly from Fortran sources). The generated
extension modules facilitate:

 * Calling Fortran 77/90/95, Fortran 90/95 module, and C functions from Python.
 * Accessing Fortran 77 COMMON blocks and Fortran 90/95 module data (including
    allocatable arrays) from Python.
 * Calling Python functions from Fortran or C (call-backs).
 * Automatically handling the difference in the data storage order of multi-
    dimensional Fortran and Numerical Python (i.e. C) arrays.

In addition, F2PY can build the generated extension modules to shared libraries
with one command.

%prep
%setup -q -n F2PY-%{version}

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc docs/*
%{_bindir}/%{name}
%{python_sitelib}/f2py2e

%changelog
* Sun Oct 16 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.45.241_1926-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/f2py/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Oct 2005 18:45:31 -0000	1.1
+++ .cvsignore	20 Oct 2005 18:46:26 -0000	1.2
@@ -0,0 +1 @@
+F2PY-2.45.241_1926.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/f2py/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Oct 2005 18:45:31 -0000	1.1
+++ sources	20 Oct 2005 18:46:26 -0000	1.2
@@ -0,0 +1 @@
+8aedac9cad32afdcddcfb026b6393ece  F2PY-2.45.241_1926.tar.gz




More information about the fedora-extras-commits mailing list