From 9b86e8c1c66d5e2b56f8f5f93d1991f5101be5a5 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 24 Apr 2010 00:42:39 +0000 Subject: [PATCH 1/4] Initialize branch F-13 for python-gevent --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 217c336cfb75aa2e58c9a707da25b2b8f2fa6fed Mon Sep 17 00:00:00 2001 From: Silas Sewell Date: Wed, 5 May 2010 21:52:24 +0000 Subject: [PATCH 2/4] Initial import --- .cvsignore | 1 + import.log | 1 + python-gevent.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 62 insertions(+) create mode 100644 import.log create mode 100644 python-gevent.spec diff --git a/.cvsignore b/.cvsignore index e69de29..c7ffd55 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gevent-0.12.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..c220153 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-gevent-0_12_2-2_fc13:F-13:python-gevent-0.12.2-2.fc13.src.rpm:1273096319 diff --git a/python-gevent.spec b/python-gevent.spec new file mode 100644 index 0000000..8fa2eb1 --- /dev/null +++ b/python-gevent.spec @@ -0,0 +1,59 @@ +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +%global upstream_name gevent + +Name: python-%{upstream_name} +Version: 0.12.2 +Release: 2%{?dist} +Summary: A coroutine-based Python networking library + +Group: Development/Languages +License: MIT +URL: http://www.gevent.org/ +Source0: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel +BuildRequires: libevent-devel >= 1.4.0 +Requires: python-greenlet + +%description +gevent is a coroutine-based Python networking library that uses greenlet to +provide a high-level synchronous API on top of libevent event loop. + +Features include: + + * convenient API around greenlets + * familiar synchronization primitives (gevent.event, gevent.queue) + * socket module that cooperates + * WSGI server on top of libevent-http + * DNS requests done through libevent-dns + * monkey patching utility to get pure Python modules to cooperate + +%prep +%setup -q -n %{upstream_name}-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +# Fix non-standard-executable-perm error +%{__chmod} 0755 %{buildroot}%{python_sitearch}/%{upstream_name}/core.so + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE README.rst +%{python_sitearch}/%{upstream_name} +%{python_sitearch}/%{upstream_name}-%{version}-*.egg-info + +%changelog +* Fri Apr 23 2010 Silas Sewell - 0.12.2-2 +- Remove setuptools requirement + +* Wed Mar 17 2010 Silas Sewell - 0.12.2-1 +- Initial build diff --git a/sources b/sources index e69de29..97c10d6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +97c75039a67593d3f5375fb77f73bbe7 gevent-0.12.2.tar.gz From 00e46466774994b407eaf6f1a88acf4dea952f90 Mon Sep 17 00:00:00 2001 From: Silas Sewell Date: Thu, 15 Jul 2010 01:54:44 +0000 Subject: [PATCH 3/4] - Update to 0.13.0 --- .cvsignore | 2 +- import.log | 1 + python-gevent.spec | 11 +++++++++-- sources | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index c7ffd55..4f02de9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gevent-0.12.2.tar.gz +gevent-0.13.0.tar.gz diff --git a/import.log b/import.log index c220153..2ebb01a 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ python-gevent-0_12_2-2_fc13:F-13:python-gevent-0.12.2-2.fc13.src.rpm:1273096319 +python-gevent-0_13_0-1_fc13:F-13:python-gevent-0.13.0-1.fc13.src.rpm:1279158861 diff --git a/python-gevent.spec b/python-gevent.spec index 8fa2eb1..d032206 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -1,10 +1,14 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%global _use_internal_dependency_generator 0 +%global __find_provides %{_rpmconfigdir}/find-provides | grep -v core.so +%global __find_requires %{_rpmconfigdir}/find-requires | grep -v core.so + %global upstream_name gevent Name: python-%{upstream_name} -Version: 0.12.2 -Release: 2%{?dist} +Version: 0.13.0 +Release: 1%{?dist} Summary: A coroutine-based Python networking library Group: Development/Languages @@ -52,6 +56,9 @@ rm -rf %{buildroot} %{python_sitearch}/%{upstream_name}-%{version}-*.egg-info %changelog +* Wed Jul 14 2010 Silas Sewell - 0.13.0-1 +- Update to 0.13.0 + * Fri Apr 23 2010 Silas Sewell - 0.12.2-2 - Remove setuptools requirement diff --git a/sources b/sources index 97c10d6..4749e3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -97c75039a67593d3f5375fb77f73bbe7 gevent-0.12.2.tar.gz +8f687002c6fcbdf8b323319f451ba4af gevent-0.13.0.tar.gz From 83b43078e51ae460acddae0253975dceae995597 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:22:32 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 2 -- 4 files changed, 24 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log 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 84c37ac..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-gevent -# $Id$ -NAME := python-gevent -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 baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13 diff --git a/import.log b/import.log deleted file mode 100644 index 2ebb01a..0000000 --- a/import.log +++ /dev/null @@ -1,2 +0,0 @@ -python-gevent-0_12_2-2_fc13:F-13:python-gevent-0.12.2-2.fc13.src.rpm:1273096319 -python-gevent-0_13_0-1_fc13:F-13:python-gevent-0.13.0-1.fc13.src.rpm:1279158861