debian/0000775000000000000000000000000012316332517007173 5ustar debian/python-greenlet-dev.docs0000664000000000000000000000000011715545530013736 0ustar debian/python-greenlet-doc.docs0000664000000000000000000000004111715545530013732 0ustar debian/copyright doc/_build/html debian/source/0000775000000000000000000000000012020171612010460 5ustar debian/source/format0000664000000000000000000000001411715545530011704 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000503712273145143011132 0ustar This work was packaged for Debian by: Örjan Persson on Sun, 04 Apr 2010 15:39:26 +0200 It was downloaded from http://pypi.python.org/pypi/greenlet Upstream Authors: Ralf Schmitt Kyle Ambroff Armin Rigo Bob Ippolito Copyright: Copyright (c) 2012 Ralf Schmitt Copyright (C) 2009-2010 Kyle Ambroff Copyright (C) 2002-2010 Armin Rigo Copyright (C) 2004-2008 Bob Ippolito License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is: Copyright (C) 2010-2012 Örjan Persson Copyright (C) 2012- Laszlo Boszormenyi (GCS) and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. The files ./slp_platformselect.h and the files in ./platform/ are based on code from Stackless Python and is: Copyright (C) 2004-2006 Bob Ippolito Copyright (C) 2005 Thiemo Seufer Copyright (C) 2002-2004 Hye-Shik Chang Copyright (C) 2002 Gerd Woetzel Copyright (C) 2002 Armin Rigo Copyright (C) 2002 Christian Tismer Copyright (C) 2002 Gustavo Niemeyer Copyright (C) 2002 Armin Rigo Copyright (C) 2002 Samual M. Rushing and is licensed under Python Software Foundation License (PSFL), see `/usr/share/doc/python/copyright'. debian/python-greenlet.docs0000664000000000000000000000003011715545530013165 0ustar README.rst AUTHORS NEWS debian/python-greenlet-doc.dirs0000664000000000000000000000004711715545530013751 0ustar usr/share/doc/python-greenlet-doc/html debian/python-greenlet-doc.examples0000664000000000000000000000002011715545530014615 0ustar benchmarks/*.py debian/python3-greenlet.install0000664000000000000000000000012012273153154013763 0ustar usr/lib/python3*/*-packages/*.egg-info usr/lib/python3*/*-packages/*[!_][!_].so debian/changelog0000664000000000000000000000542412316332517011052 0ustar python-greenlet (0.4.2-1build1) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:34:55 +0100 python-greenlet (0.4.2-1) unstable; urgency=low * New upstream release. * Drop non-zero-on-test-failed patch, upstream solved its function. * Drop python-support build dependency (closes: #701475). * Update Standards-Version to 3.9.5 . * Sync with Ubuntu, but don't enable python3-greenlet-dbg as it has no upstream build support. [ Michael Cree ] * Support building on Alpha architecture (closes: #692185). [ Matthias Klose ] * Build for ppc64le. [ James Page ] * d/control,rules: Re-instate python3 support (closes: #725741). -- Laszlo Boszormenyi (GCS) Sat, 01 Feb 2014 11:16:21 +0100 python-greenlet (0.4.0-2) unstable; urgency=low * Fix building with DEB_BUILD_OPTIONS=nocheck (closes: #703618). -- Laszlo Boszormenyi (GCS) Thu, 21 Mar 2013 19:17:51 +0100 python-greenlet (0.4.0-1) unstable; urgency=low * New maintainer. * New upstream release. * Fix all packaging problems. * Build with hardening enabled. * Update Standards-Version and correct debhelper dependency. * Switch to dh_python2 and sync with Ubuntu (closes: #673244). * Symlink jquery.js and underscore.js to their packaged versions. -- Laszlo Boszormenyi (GCS) Fri, 31 Aug 2012 19:25:36 +0200 python-greenlet (0.3.3-1) unstable; urgency=low * New upstream version (Closes: #652316, #650293). * Document format changed to HTML. * Enabled unittests for build. -- Örjan Persson Wed, 08 Feb 2012 10:38:48 -0800 python-greenlet (0.3.1-3) unstable; urgency=low * Added missing .egg-info file, thanks to Stefano Rivera (Closes: #640577). * Updated standards version. * Fixed lintian warning about copyright. -- Örjan Persson Wed, 07 Sep 2011 04:02:35 +0200 python-greenlet (0.3.1-2) unstable; urgency=low * Build for architecture any (Closes: #607805). * Include the debug extension (Closes: #607807). -- Örjan Persson Tue, 17 May 2011 18:00:37 +0200 python-greenlet (0.3.1-1.1) unstable; urgency=low * Non-maintainer upload. * Add build-dependency on python-support (Closes: #620282). -- Jakub Wilk Fri, 08 Apr 2011 21:06:36 +0200 python-greenlet (0.3.1-1) unstable; urgency=low * New upstream version. * Fixed dependency problem for build clean rule. -- Örjan Persson Thu, 27 May 2010 19:07:42 +0200 python-greenlet (0.3-1) unstable; urgency=low * Initial release (Closes: #532831). -- Örjan Persson Sun, 04 Apr 2010 15:39:26 +0200 debian/control0000664000000000000000000001143012316332517010575 0ustar Source: python-greenlet Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 7.0.50~), python-all-dev, python-all-dbg, python3-all-dev, python3-all-dbg, python-setuptools, python3-setuptools, python-sphinx, python3-sphinx Standards-Version: 3.9.5 Section: python Homepage: http://pypi.python.org/pypi/greenlet Package: python-greenlet-dbg Section: debug Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python-greenlet (= ${binary:Version}) Recommends: python-dbg Description: Lightweight in-process concurrent programming - debugging symbols The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". . greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. . This is the debugging symbols for greenlet. #Package: python3-greenlet-dbg #Section: debug #Architecture: any #Depends: ${shlibs:Depends}, ${misc:Depends}, python3-greenlet (= ${binary:Version}) #Recommends: python-dbg #Description: Lightweight in-process concurrent programming - debugging symbols (python3) # The greenlet package is a spin-off of Stackless, a version of CPython that # supports micro-threads called "tasklets". Tasklets run pseudo-concurrently # (typically in a single or a few OS-level threads) and are synchronized with # data exchanges on "channels". # . # greenlet is the standalone package derived from the py lib, and is used by # several non-blocking IO packages as a more flexible alternative to Python's # built in coroutines. # . # This is the debugging symbols for greenlet. Package: python-greenlet-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-jquery, libjs-underscore Suggests: python-greenlet, python-greenlet-dev Description: Lightweight in-process concurrent programming - documentation The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". . greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. . This is the documentation for greenlet. Package: python-greenlet-dev Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python-greenlet (= ${binary:Version}) | python3-greenlet (= ${binary:Version}) Description: Lightweight in-process concurrent programming - development files The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". . greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. . This is the development package for greenlet. Package: python-greenlet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Conflicts: python-codespeak-lib (<< 1.0) Suggests: python-greenlet-doc, python-greenlet-dev, python-greenlet-dbg Description: Lightweight in-process concurrent programming The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". . greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. Package: python3-greenlet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Conflicts: python-codespeak-lib (<< 1.0) Suggests: python-greenlet-doc, python-greenlet-dev, python3-greenlet-dbg Description: Lightweight in-process concurrent programming (python3) The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels". . greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. debian/python-greenlet-dbg.install0000664000000000000000000000004211715545530014440 0ustar usr/lib/python*/*-packages/*_d.so debian/python-greenlet-dev.install0000664000000000000000000000002711715545530014465 0ustar debian/tmp/usr/include debian/python-gevent-doc.links0000664000000000000000000000031211715545530013606 0ustar usr/share/javascript/jquery/jquery.js usr/share/doc/python-greenlet-doc/html/_static/jquery.js usr/share/javascript/underscore/underscore.js usr/share/doc/python-greenlet-doc/html/_static/underscore.js debian/rules0000775000000000000000000000251712273152770010263 0ustar #!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk PYTHON2 := $(shell pyversions -sv) PYTHON3 := $(shell py3versions -sv) DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) %: dh $@ --with python2,python3 override_dh_auto_clean: rm -rf build/ rm -f greenlet.egg-info/PKG-INFO find . \( -type f -or -type l \) \( -name '*.py[co]' -or -name '*.so' -or -name '*.log' \) -delete cd doc && make clean build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build cd doc && PYTHONPATH=.. make html install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_auto_test: $(PYTHON2:%=test-%-stamp) $(PYTHON3:%=test-%-stamp) test-%-stamp: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) rm -rf build/test-$* mkdir build/test-$* python$* setup.py install_lib -d build/test-$* ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el)) -PYTHONPATH=build/test-$* python$* run-tests.py -n else PYTHONPATH=build/test-$* python$* run-tests.py -n endif touch test-python-$*-stamp endif override_dh_installdocs: dh_installdocs --link-doc=python-greenlet .PHONY: override_dh_auto_clean override_dh_auto_build override_dh_auto_test override_dh_installdocs debian/watch0000664000000000000000000000012311715545530010223 0ustar version=3 http://pypi.python.org/packages/source/g/greenlet/greenlet-(.*)\.tar\.gz debian/python-greenlet.install0000664000000000000000000000012012273154764013710 0ustar usr/lib/python2*/*-packages/*.egg-info usr/lib/python2*/*-packages/*[!_][!_].so debian/python3-greenlet-dbg.install0000664000000000000000000000004312273155335014524 0ustar usr/lib/python3*/*-packages/*_d.so debian/python-greenlet.dirs0000664000000000000000000000001011715545530013174 0ustar usr/lib debian/python-greenlet-doc.links0000664000000000000000000000031612020370516014115 0ustar /usr/share/javascript/jquery/jquery.js /usr/share/doc/python-greenlet-doc/html/_static/jquery.js /usr/share/javascript/underscore/underscore.js /usr/share/doc/python-greenlet-doc/html/_static/underscore.js debian/patches/0000775000000000000000000000000012273147313010622 5ustar debian/patches/support-alpha.patch0000664000000000000000000000275512273147313014453 0ustar Description: fix FTBFS on Alpha due to missing architecture support Provides the missing function needed to compile on Alpha. Author: Michael Cree Last-Update: 2014-02-01 --- --- /dev/null +++ python-greenlet-0.4.2/platform/switch_alpha_unix.h @@ -0,0 +1,39 @@ +/* + * this is the internal transfer function. + * + * HISTORY + * 2012-11-01 M. J. Cree + * Ported from extant code for other arches. + */ + +#define STACK_REFPLUS 1 + +#ifdef SLP_EVAL + +#define STACK_MAGIC 0 + + +#define REGS_TO_SAVE "$9", "$10", "$11", "$12", "$13", "$14", "$15", \ + "$26" + +static int +slp_switch(void) +{ + register int *stackref, stsizediff; + __asm__ __volatile__ ("" : : : REGS_TO_SAVE); + __asm__ ("mov $sp, %0" : "=r" (stackref) : ); + { + SLP_SAVE_STATE(stackref, stsizediff); + __asm__ __volatile__ ( + "addq $sp, %0, $sp\n" + "addq $fp, %0, $fp\n" + : /* no outputs */ + : "r" (stsizediff) + ); + SLP_RESTORE_STATE(); + } + __asm__ __volatile__ ("" : : : REGS_TO_SAVE); + return 0; +} + +#endif --- python-greenlet-0.4.2.orig/slp_platformselect.h +++ python-greenlet-0.4.2/slp_platformselect.h @@ -38,4 +38,6 @@ #include "platform/switch_aarch64_gcc.h" /* Aarch64 ABI */ #elif defined(__GNUC__) && defined(__mc68000__) #include "platform/switch_m68k_gcc.h" /* gcc on m68k */ +#elif defined(__GNUC__) && defined(__alpha__) +#include "platform/switch_alpha_unix.h" /* Alpha AXP */ #endif debian/patches/series0000664000000000000000000000004112273146361012034 0ustar ppc64le.diff support-alpha.patch debian/patches/ppc64le.diff0000664000000000000000000000235412273143706012737 0ustar Index: b/platform/switch_ppc64_linux.h =================================================================== --- a/platform/switch_ppc64_linux.h +++ b/platform/switch_ppc64_linux.h @@ -2,6 +2,8 @@ * this is the internal transfer function. * * HISTORY + * 10-Dec-13 Ulrich Weigand + * Support ELFv2 ABI. Save float/vector registers. * 09-Mar-12 Michael Ellerman * 64-bit implementation, copied from 32-bit. * 07-Sep-05 (py-dev mailing list discussion) @@ -40,13 +42,22 @@ #ifdef SLP_EVAL +#if _CALL_ELF == 2 +#define STACK_MAGIC 4 +#else #define STACK_MAGIC 6 +#endif /* !!!!WARNING!!!! need to add "r31" in the next line if this header file * is meant to be compiled non-dynamically! */ #define REGS_TO_SAVE "r2", "r14", "r15", "r16", "r17", "r18", "r19", "r20", \ "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r31", \ + "fr14", "fr15", "fr16", "fr17", "fr18", "fr19", "fr20", "fr21", \ + "fr22", "fr23", "fr24", "fr25", "fr26", "fr27", "fr28", "fr29", \ + "fr30", "fr31", \ + "v20", "v21", "v22", "v23", "v24", "v25", "v26", "v27", \ + "v28", "v29", "v30", "v31", \ "cr2", "cr3", "cr4" static int slp_switch(void) debian/docs0000664000000000000000000000002011715545530010041 0ustar NEWS README.rst debian/python-greenlet-dbg.docs0000664000000000000000000000000011715545530013714 0ustar debian/compat0000664000000000000000000000000211715545530010374 0ustar 7 debian/python-greenlet-doc.doc-base0000664000000000000000000000047111715545530014466 0ustar Document: python-greenlet Title: Greenlet Documentation Author: Kyle Ambroff Abstract: Describes how to use python-greenlet and the API offerred by it. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-greenlet-doc/html/index.html Files: /usr/share/doc/python-greenlet-doc/html/greenlet.html