From 580096772b4296398fdb5962c82c06fce5332964 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 14 Apr 2008 19:42:57 +0000 Subject: [PATCH 1/6] Initialize branch F-8 for Cython --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..e9e7ccd --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-8 From 96888f1baf85380c25c2c9f69316c6fe34ce0230 Mon Sep 17 00:00:00 2001 From: Neal Becker Date: Tue, 15 Apr 2008 00:03:37 +0000 Subject: [PATCH 2/6] Initial --- .cvsignore | 1 + Cython.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 81 insertions(+) create mode 100644 Cython.spec diff --git a/.cvsignore b/.cvsignore index e69de29..50612a4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Cython-0.9.6.13.1.tar.gz diff --git a/Cython.spec b/Cython.spec new file mode 100644 index 0000000..ff44df6 --- /dev/null +++ b/Cython.spec @@ -0,0 +1,79 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} + + +Name: Cython +Version: 0.9.6.13.1 +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 +BuildArch: noarch + +%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 + + +%files +%defattr(-,root,root,-) +%{_bindir}/cython +%{python_sitelib}/Cython +%if 0%{?fedora} >= 9 +%{python_sitelib}/Cython*egg-info +%endif +%doc *.txt Demos Doc Tools + + +%changelog +* Mon Apr 14 2008 José Matos - 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 - 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 - 0.9.6.13.1-1 +- Update to 0.9.6.13.1 + +* Mon Apr 7 2008 Neal Becker - 0.9.6.13-1 +- Update to 0.9.6.13 +- Add docs + +* Tue Feb 26 2008 Neal Becker - 0.9.6.12-1 +- Initial version + diff --git a/sources b/sources index e69de29..6c1e7c0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b84818d4cfcec68e6dfb71187e9f0b4b Cython-0.9.6.13.1.tar.gz From f463c353eec133dda7b0f70f3f51cfd17ccf8f32 Mon Sep 17 00:00:00 2001 From: Neal Becker Date: Sat, 14 Jun 2008 01:07:52 +0000 Subject: [PATCH 3/6] - Update to 0.9.8 - Install into python_sitearch - Remove noarch - Add %%check --- Cython.spec | 19 ++++++++++++++----- sources | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Cython.spec b/Cython.spec index ff44df6..893e6a7 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,9 +1,10 @@ %{!?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.9.6.13.1 -Release: 3%{?dist} +Version: 0.9.8 +Release: 2%{?dist} Summary: A language for writing Python extension modules Group: Development/Tools @@ -14,7 +15,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel python-setuptools Requires: python -BuildArch: noarch %description This is a development version of Pyrex, a language @@ -44,18 +44,27 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT +%check +%{__python} runtests.py %files %defattr(-,root,root,-) %{_bindir}/cython -%{python_sitelib}/Cython +%{python_sitearch}/Cython %if 0%{?fedora} >= 9 -%{python_sitelib}/Cython*egg-info +%{python_sitearch}/Cython*egg-info %endif %doc *.txt Demos Doc Tools %changelog +* Fri Jun 13 2008 Neal Becker - 0.9.8-2 +- Install into python_sitearch +- Add %%check + +* Fri Jun 13 2008 Neal Becker - 0.9.8-1 +- Update to 0.9.8 + * Mon Apr 14 2008 José Matos - 0.9.6.13.1-3 - Remove remaining --record. - Add more documentation (Doc and Tools). diff --git a/sources b/sources index 6c1e7c0..623c00d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b84818d4cfcec68e6dfb71187e9f0b4b Cython-0.9.6.13.1.tar.gz +dac0f6c217437819f620da18a97d505f Cython-0.9.8.tar.gz From d155966e05bc6f6c60e903321ad5c34485cd024b Mon Sep 17 00:00:00 2001 From: Neal Becker Date: Sun, 9 Nov 2008 13:22:41 +0000 Subject: [PATCH 4/6] Update to 0.10 --- Cython.spec | 11 +++++++++-- sources | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Cython.spec b/Cython.spec index 893e6a7..d4cc51d 100644 --- a/Cython.spec +++ b/Cython.spec @@ -3,8 +3,8 @@ Name: Cython -Version: 0.9.8 -Release: 2%{?dist} +Version: 0.10 +Release: 3%{?dist} Summary: A language for writing Python extension modules Group: Development/Tools @@ -51,6 +51,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_bindir}/cython %{python_sitearch}/Cython +%{python_sitearch}/pyximport %if 0%{?fedora} >= 9 %{python_sitearch}/Cython*egg-info %endif @@ -58,6 +59,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Nov 9 2008 Neal Becker - 0.10-3 +- Fix typo + +* Sun Nov 9 2008 Neal Becker - 0.10-1 +- Update to 0.10 + * Fri Jun 13 2008 Neal Becker - 0.9.8-2 - Install into python_sitearch - Add %%check diff --git a/sources b/sources index 623c00d..3739c37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dac0f6c217437819f620da18a97d505f Cython-0.9.8.tar.gz +343558180f62823a70d10a0129622947 Cython-0.10.tar.gz From 49c1a312da7266aaa92b59d16acd8eb88e95e4f8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 00:16:59 +0000 Subject: [PATCH 5/6] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0a46fe6..8d13d4a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 8c22bd739a575af9aeab121e93a924c14f3ddf9b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 08:49:44 +0000 Subject: [PATCH 6/6] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 8d13d4a..0000000 --- a/Makefile +++ /dev/null @@ -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index e9e7ccd..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-8