Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c22bd739a | ||
|
|
49c1a312da | ||
|
|
d155966e05 | ||
|
|
f463c353ee | ||
|
|
96888f1baf | ||
|
|
580096772b |
5 changed files with 97 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Cython-0.9.6.13.1.tar.gz
|
||||||
95
Cython.spec
Normal file
95
Cython.spec
Normal file
|
|
@ -0,0 +1,95 @@
|
||||||
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
|
||||||
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
|
|
||||||
|
Name: Cython
|
||||||
|
Version: 0.10
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: A language for writing Python extension modules
|
||||||
|
|
||||||
|
Group: Development/Tools
|
||||||
|
License: Python
|
||||||
|
URL: http://www.cython.org
|
||||||
|
Source0: http://www.cython.org/Cython-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: python-devel python-setuptools
|
||||||
|
Requires: python
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a development version of Pyrex, a language
|
||||||
|
for writing Python extension modules.
|
||||||
|
|
||||||
|
For more info, see:
|
||||||
|
|
||||||
|
Doc/About.html for a description of the language
|
||||||
|
INSTALL.txt for installation instructions
|
||||||
|
USAGE.txt for usage instructions
|
||||||
|
Demos for usage examples
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Cython-%{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
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python} runtests.py
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/cython
|
||||||
|
%{python_sitearch}/Cython
|
||||||
|
%{python_sitearch}/pyximport
|
||||||
|
%if 0%{?fedora} >= 9
|
||||||
|
%{python_sitearch}/Cython*egg-info
|
||||||
|
%endif
|
||||||
|
%doc *.txt Demos Doc Tools
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
|
||||||
|
- Fix typo
|
||||||
|
|
||||||
|
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
|
||||||
|
- Update to 0.10
|
||||||
|
|
||||||
|
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
|
||||||
|
- Install into python_sitearch
|
||||||
|
- Add %%check
|
||||||
|
|
||||||
|
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
|
||||||
|
- Update to 0.9.8
|
||||||
|
|
||||||
|
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
|
||||||
|
- Remove remaining --record.
|
||||||
|
- Add more documentation (Doc and Tools).
|
||||||
|
- Add correct entry for egg-info (F9+).
|
||||||
|
|
||||||
|
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
|
||||||
|
- Change License to Python
|
||||||
|
- Install About.html
|
||||||
|
- Fix mixed spaces/tabs
|
||||||
|
- Don't use --record
|
||||||
|
|
||||||
|
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
|
||||||
|
- Update to 0.9.6.13.1
|
||||||
|
|
||||||
|
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
|
||||||
|
- Update to 0.9.6.13
|
||||||
|
- Add docs
|
||||||
|
|
||||||
|
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
|
||||||
|
- Initial version
|
||||||
|
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: Cython
|
|
||||||
# $Id$
|
|
||||||
NAME := Cython
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
343558180f62823a70d10a0129622947 Cython-0.10.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue