Compare commits
104 commits
python-gev
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
| fdec20e3ec | |||
|
|
9776b812b1 | ||
|
|
ca4069738b | ||
|
|
b46368e094 | ||
| 8bacc1b4ca | |||
|
|
29687cb716 | ||
|
|
cdda167e27 | ||
| b4a904db8d | |||
|
|
68f41e8917 | ||
|
|
d1d2833eb9 | ||
|
|
a5bd047a99 | ||
|
|
06c90b3a90 | ||
|
|
a10bffa1db | ||
|
|
b9b30dac33 | ||
|
|
25d0d2fcf6 | ||
|
|
e7ce3959d9 | ||
|
|
8e0113b937 | ||
|
|
b23d186d0f | ||
|
|
fe180eb9e7 | ||
|
|
2061eebcdb | ||
|
|
2ddfb8eb10 | ||
|
|
b7f0a326ef | ||
|
|
9e372d44b3 | ||
|
|
1a0d0d0852 | ||
|
|
105fb59789 | ||
|
|
609d2e91be | ||
|
|
3d835c996d | ||
|
|
e14374a2e5 | ||
|
|
26ea9cf11c | ||
|
|
325397682d | ||
|
|
af00be16f0 | ||
|
|
ca7a74d8fd | ||
|
|
06bf9a29a4 | ||
|
|
8da351f93e | ||
|
|
7f60bd3c51 | ||
|
|
114bdce017 | ||
|
|
266acc343d | ||
|
|
6043e845b6 | ||
|
|
a3f3d5013c | ||
|
|
768cc1436f | ||
|
|
26c4f8eb2a | ||
|
|
444b6c612a | ||
|
|
3dc393efb9 | ||
|
|
1939196383 | ||
|
|
0c1017a83c | ||
|
|
e1decccb1d | ||
|
|
5c5f0b8169 | ||
|
|
229a023977 | ||
|
|
f5736d1243 | ||
|
|
2500947a6a | ||
|
|
2a87dd2f03 | ||
|
|
60452f2fa8 | ||
|
|
9ac63267e9 | ||
|
|
1c32ec07c1 | ||
|
|
db9cb2d1e8 | ||
|
|
b31feee338 |
||
|
|
452824453a | ||
| 6a503d2baf | |||
|
|
0fee919df3 | ||
|
|
76b5995645 |
||
|
|
6a44975b4c | ||
|
|
f577f705b7 | ||
|
|
cdfc1c68c6 | ||
|
|
1afd657c41 | ||
|
|
c75817c0b3 | ||
|
|
d198422b9d | ||
|
|
86a4521fe1 | ||
|
|
5551dbea1b | ||
|
|
af2ed70b5c | ||
|
|
4a406a9f2d | ||
|
|
dd1558b82a | ||
|
|
6031b9c292 | ||
|
|
0c2b125e27 | ||
|
|
1a94cfe50a | ||
|
|
d57057950b | ||
|
|
3458300a70 | ||
|
|
282e2a0ff6 | ||
| fd22697c79 | |||
| e671e5f65a | |||
| c13e16c7e0 | |||
|
|
b52b31857e | ||
| a32b043a4a | |||
|
|
74e1293642 | ||
|
|
5290c1f553 | ||
|
|
48469bd914 | ||
|
|
6f141cf695 | ||
| 52a1da3b1a | |||
|
|
53f2f42221 | ||
|
|
d437001768 | ||
|
|
3eda8aded7 | ||
|
|
0bc9b47c06 | ||
|
|
02eaf66854 | ||
|
|
f7edc62ba5 | ||
|
|
1ef3f79b34 | ||
|
|
5c921e3397 | ||
|
|
502fb3e3dd | ||
|
|
73810613e7 | ||
|
|
561e260886 | ||
|
|
b29b1c33bc | ||
|
|
3e59188f1f | ||
|
|
bfa888e251 | ||
|
|
6ed40632ec | ||
|
|
1e6710e4f6 | ||
| 54323d1063 |
6 changed files with 108 additions and 71 deletions
|
|
@ -1 +0,0 @@
|
||||||
gevent-0.13.0.tar.gz
|
|
||||||
37
.gitignore
vendored
Normal file
37
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
gevent-0.13.0.tar.gz
|
||||||
|
/gevent-0.13.1.tar.gz
|
||||||
|
/gevent-0.13.3.tar.gz
|
||||||
|
/gevent-0.13.6.tar.gz
|
||||||
|
/gevent-0.13.8.tar.gz
|
||||||
|
/gevent-1.0.tar.gz
|
||||||
|
/gevent-1.0.1.tar.gz
|
||||||
|
/gevent-1.0.2.tar.gz
|
||||||
|
/gevent-1.1b5.tar.gz
|
||||||
|
/gevent-1.1b6.tar.gz
|
||||||
|
/gevent-1.1rc3.tar.gz
|
||||||
|
/gevent-1.1rc4.tar.gz
|
||||||
|
/gevent-1.1.0.tar.gz
|
||||||
|
/gevent-1.1.1.tar.gz
|
||||||
|
/gevent-1.1.2.tar.gz
|
||||||
|
/gevent-1.2.2.tar.gz
|
||||||
|
/gevent-1.3.1.tar.gz
|
||||||
|
/gevent-1.3.2.tar.gz
|
||||||
|
/gevent-1.3.3.tar.gz
|
||||||
|
/gevent-1.3.4.tar.gz
|
||||||
|
/gevent-1.3.6.tar.gz
|
||||||
|
/gevent-1.5a3.zip
|
||||||
|
/gevent-20.5.0.tar.gz
|
||||||
|
/gevent-20.6.0.tar.gz
|
||||||
|
/gevent-20.6.1.tar.gz
|
||||||
|
/gevent-20.9.0.tar.gz
|
||||||
|
/gevent-21.1.2.tar.gz
|
||||||
|
/gevent-21.12.0.tar.gz
|
||||||
|
/gevent-22.10.2.tar.gz
|
||||||
|
/gevent-23.7.0.tar.gz
|
||||||
|
/gevent-23.9.1.tar.gz
|
||||||
|
/gevent-24.2.1.tar.gz
|
||||||
|
/gevent-24.10.1.tar.gz
|
||||||
|
/gevent-24.10.2.tar.gz
|
||||||
|
/gevent-24.11.1.tar.gz
|
||||||
|
/gevent-25.9.1.tar.gz
|
||||||
|
/gevent-26.7.0.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -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)
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
python-gevent-0_12_2-2_fc13:HEAD:python-gevent-0.12.2-2.fc13.src.rpm:1273091621
|
|
||||||
python-gevent-0_13_0-1_fc14:HEAD:python-gevent-0.13.0-1.fc14.src.rpm:1279158324
|
|
||||||
|
|
@ -1,30 +1,39 @@
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%global __provides_exclude_from ^%{python3_sitearch}/.*\\.so$
|
||||||
|
%global modname gevent
|
||||||
|
%global optflags %(echo %{optflags} -I%{_includedir}/libev)
|
||||||
|
|
||||||
%global _use_internal_dependency_generator 0
|
Name: python-%{modname}
|
||||||
%global __find_provides %{_rpmconfigdir}/find-provides | grep -v core.so
|
Version: 26.7.0
|
||||||
%global __find_requires %{_rpmconfigdir}/find-requires | grep -v core.so
|
Release: %autorelease
|
||||||
|
|
||||||
%global upstream_name gevent
|
|
||||||
|
|
||||||
Name: python-%{upstream_name}
|
|
||||||
Version: 0.13.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: A coroutine-based Python networking library
|
Summary: A coroutine-based Python networking library
|
||||||
|
|
||||||
Group: Development/Languages
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.gevent.org/
|
URL: http://www.gevent.org/
|
||||||
Source0: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
|
Source0: %{pypi_source %{modname} %{version} tar.gz}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: libevent-devel >= 1.4.0
|
|
||||||
Requires: python-greenlet
|
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: c-ares-devel
|
||||||
|
BuildRequires: libev-devel
|
||||||
|
BuildRequires: libuv-devel
|
||||||
%description
|
%description
|
||||||
gevent is a coroutine-based Python networking library that uses greenlet to
|
gevent is a coroutine-based Python networking library that uses greenlet to
|
||||||
provide a high-level synchronous API on top of libevent event loop.
|
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
|
||||||
|
|
||||||
|
%package -n python3-%{modname}
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-greenlet-devel >= 3.2.2
|
||||||
|
BuildRequires: python3-zope-event
|
||||||
|
%description -n python3-%{modname}
|
||||||
|
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:
|
Features include:
|
||||||
|
|
||||||
* convenient API around greenlets
|
* convenient API around greenlets
|
||||||
|
|
@ -35,32 +44,47 @@ Features include:
|
||||||
* monkey patching utility to get pure Python modules to cooperate
|
* monkey patching utility to get pure Python modules to cooperate
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_name}-%{version}
|
%autosetup -n %{modname}-%{version}
|
||||||
|
# Remove bundled libraries
|
||||||
|
rm -r deps
|
||||||
|
# Upstream intentionally includes C extension sources in the built package,
|
||||||
|
# because... reasons (PyPy I think?) however we do not want that. Sources will
|
||||||
|
# go into debuginfo as normal.
|
||||||
|
sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py
|
||||||
|
# No linters
|
||||||
|
sed -i -e '/coverage/d' -e '/objgraph/d' setup.py
|
||||||
|
|
||||||
|
# Force re-cythonizing the sources - missing with github tarballs
|
||||||
|
rm -f $(grep -rl '/\* Generated by Cython')
|
||||||
|
rm -f src/gevent/_generated_include/*
|
||||||
|
|
||||||
|
# Test requires network, fails in mock/koji
|
||||||
|
mv src/gevent/tests/test__resolver_dnspython.py{,.needsnetwork}
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires -t
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
export GEVENTSETUP_EMBED=0
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
export GEVENTSETUP_EMBED=0
|
||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
%pyproject_install
|
||||||
# Fix non-standard-executable-perm error
|
find %{buildroot} -name '.buildinfo' -delete
|
||||||
%{__chmod} 0755 %{buildroot}%{python_sitearch}/%{upstream_name}/core.so
|
# Correct the permissions.
|
||||||
|
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
||||||
|
%pyproject_save_files -l %{modname}
|
||||||
|
|
||||||
%clean
|
%check
|
||||||
rm -rf %{buildroot}
|
%pyproject_check_import -t
|
||||||
|
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||||
|
# test_resolution is failing - https://github.com/gevent/gevent/issues/2064
|
||||||
|
%{py3_test_envvars} %{python3} -m gevent.tests --verbose || :
|
||||||
|
cd src/gevent/tests && GEVENT_FILE=thread %{python3} -mgevent.tests test__*subprocess*.py
|
||||||
|
|
||||||
%files
|
%files -n python3-%{modname} -f %{pyproject_files}
|
||||||
%defattr(-,root,root,-)
|
%doc README.rst
|
||||||
%doc LICENSE README.rst
|
|
||||||
%{python_sitearch}/%{upstream_name}
|
|
||||||
%{python_sitearch}/%{upstream_name}-%{version}-*.egg-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 14 2010 Silas Sewell <silas@sewell.ch> - 0.13.0-1
|
%autochangelog
|
||||||
- Update to 0.13.0
|
|
||||||
|
|
||||||
* Fri Apr 23 2010 Silas Sewell <silas@sewell.ch> - 0.12.2-2
|
|
||||||
- Remove setuptools requirement
|
|
||||||
|
|
||||||
* Wed Mar 17 2010 Silas Sewell <silas@sewell.ch> - 0.12.2-1
|
|
||||||
- Initial build
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
8f687002c6fcbdf8b323319f451ba4af gevent-0.13.0.tar.gz
|
SHA512 (gevent-26.7.0.tar.gz) = 70e7a21874c77990884e46a5e849ee4e065c4b918544bf8a11f665412d101a94c81bae713c7202ebbe81fd5439e57248b23f098aec7b16b6f05d99ce1a6ec4a8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue