diff options
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/gunicorn/Manifest | 2 | ||||
-rw-r--r-- | www-servers/gunicorn/files/gunicorn-0.14.0-noegg.patch | 64 | ||||
-rw-r--r-- | www-servers/gunicorn/files/gunicorn-19.0.0-gaiohttp.patch | 59 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-0.17.4.ebuild | 47 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-19.0.0.ebuild | 54 |
5 files changed, 0 insertions, 226 deletions
diff --git a/www-servers/gunicorn/Manifest b/www-servers/gunicorn/Manifest index 4331aef0ee32..fdb3d07496da 100644 --- a/www-servers/gunicorn/Manifest +++ b/www-servers/gunicorn/Manifest @@ -1,4 +1,2 @@ -DIST gunicorn-0.17.4.tar.gz 372737 SHA256 0f5b63f87ab66b9aaca6938e2b97dd6e785498a0cb4567560996192d7e40ad21 SHA512 e227e2e3b1240d1090c0ef86db884ed68dea92f7d4de6a949afee00a0c258a1cf77309391fd88a6c9861942a246495018b81443e8be3055c14af2373e1f4d793 WHIRLPOOL 873220a9c0065ec5df81ad807d212b641dc3d5a4a9a0dceae28c17f07d1d9a63110a25fd1881bac765198cd10600ca5b802ba20f3a763da8db2ecf7d8bc0e25f -DIST gunicorn-19.0.0.tar.gz 382899 SHA256 0ccb71a2d9e0764fb3abc5dc6f7a44d5d44e3137545be8869befc8aedc02878e SHA512 5e041cfd65c664e687538c1ab1680949492fa76abe8e39f9ab3f8b5239f5ca4f1d91cbb9235e6d671ecd13eec1e58eb440c42f21534488c6acafb34c65288c41 WHIRLPOOL 21bf2f771125c575c85eb8c3c3a8c4b95a29f5e29a157affde2bf2446b29ccef1f192c9f93f5ebe86b1a1196c716a0d9101e94c4f2fcfa7f7304cf5e351b051c DIST gunicorn-19.1.1.tar.gz 385155 SHA256 82715511fb6246fad4ba66d812eb93416ae8371b464fa88bf3867c9c177daa14 SHA512 1b42f0dadb8ced12954e821ad3dc7fad67ae6f1123218fe79e32d7089d9ae65bcd973613c226d9a16b11d7d35632990f2c9499594c7a383a79698a1c2db471de WHIRLPOOL 29c99b33b72d00dc248adedf89517804f58ee4ee36a3c9fdddb9d65ee047dd57d381d719e1ed44b7b5284f11ac703d29f3d66fd077f996de2ab9effa8fb15fda DIST gunicorn-19.3.0.tar.gz 395381 SHA256 8bc835082882ad9a012cd790c460011e4d96bf3512d98a04d3dabbe45393a089 SHA512 8c4e0bb1bf0b35aaf9160b9b7d87890a991451fbc86186454203f3483767858944704c1ec22dd52480ce1e4693e84b62b1428dd3b67b2ae925e0475dc08fcb50 WHIRLPOOL 7a840b5878b409d89a61dcca40632448e7b5a402b0e26ba03a65f3384a9491f06c2c69279cdfcc0013e2b6d7ee0de619d17437a60990d19f674653d29c83502a diff --git a/www-servers/gunicorn/files/gunicorn-0.14.0-noegg.patch b/www-servers/gunicorn/files/gunicorn-0.14.0-noegg.patch deleted file mode 100644 index 7be449f5c6c3..000000000000 --- a/www-servers/gunicorn/files/gunicorn-0.14.0-noegg.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff --git a/tests/003-test-config.py b/tests/003-test-config.py -index 4d9ef92..218a8e4 100644 ---- a/tests/003-test-config.py -+++ b/tests/003-test-config.py -@@ -24,12 +24,7 @@ def paster_ini(): - return os.path.join(dirname, "..", "examples", "frameworks", "pylonstest", "nose.ini") - - def PasterApp(): -- try: -- from paste.deploy import loadapp, loadwsgi -- except ImportError: -- raise SkipTest() -- from gunicorn.app.pasterapp import PasterApplication -- return PasterApplication("no_usage") -+ raise SkipTest() - - class AltArgs(object): - def __init__(self, args=None): -@@ -59,43 +54,8 @@ def test_defaults(): - t.eq(s.default, c.settings[s.name].get()) - - def test_property_access(): -- c = config.Config() -- for s in config.KNOWN_SETTINGS: -- getattr(c, s.name) -- -- # Class was loaded -- t.eq(c.worker_class, SyncWorker) -- -- # Debug affects workers -- t.eq(c.workers, 1) -- c.set("workers", 3) -- t.eq(c.workers, 3) -- -- # Address is parsed -- t.eq(c.address, ("127.0.0.1", 8000)) -- -- # User and group defaults -- t.eq(os.geteuid(), c.uid) -- t.eq(os.getegid(), c.gid) -- -- # Proc name -- t.eq("gunicorn", c.proc_name) -- -- # Not a config property -- t.raises(AttributeError, getattr, c, "foo") -- # Force to be not an error -- class Baz(object): -- def get(self): -- return 3.14 -- c.settings["foo"] = Baz() -- t.eq(c.foo, 3.14) -- -- # Attempt to set a cfg not via c.set -- t.raises(AttributeError, setattr, c, "proc_name", "baz") -- -- # No setting for name -- t.raises(AttributeError, c.set, "baz", "bar") -- -+ raise SkipTest() -+ - def test_bool_validation(): - c = config.Config() - t.eq(c.debug, False) diff --git a/www-servers/gunicorn/files/gunicorn-19.0.0-gaiohttp.patch b/www-servers/gunicorn/files/gunicorn-19.0.0-gaiohttp.patch deleted file mode 100644 index 7561ab2f3027..000000000000 --- a/www-servers/gunicorn/files/gunicorn-19.0.0-gaiohttp.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 86f740420cb12cf071f7dc7981330353e258931a Mon Sep 17 00:00:00 2001 -From: Andrew Svetlov <andrew.svetlov@gmail.com> -Date: Sun, 22 Jun 2014 15:19:27 +0300 -Subject: [PATCH] Don't install gaiohttp if python < 3.3 - ---- - setup.py | 18 ++++++++++++++++-- - 1 file changed, 16 insertions(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index be54106..f538734 100644 ---- a/setup.py -+++ b/setup.py -@@ -5,12 +5,15 @@ - - - import os --from setuptools import setup, find_packages, Command -+from setuptools import setup, Command - import sys - - from gunicorn import __version__ - - -+ASYNCIO_COMPAT = sys.version_info >= (3, 3) -+ -+ - CLASSIFIERS = [ - 'Development Status :: 4 - Beta', - 'Environment :: Other Environment', -@@ -65,6 +68,17 @@ def run(self): - - REQUIREMENTS = [] - -+py_modules = [] -+ -+for root, folders, files in os.walk('gunicorn'): -+ for f in files: -+ if f.endswith('.py') and (ASYNCIO_COMPAT or f != 'gaiohttp.py'): -+ full = os.path.join(root, f[:-3]) -+ parts = full.split(os.path.sep) -+ modname = '.'.join(parts) -+ py_modules.append(modname) -+ -+ - setup( - name = 'gunicorn', - version = __version__, -@@ -78,7 +92,7 @@ def run(self): - - classifiers = CLASSIFIERS, - zip_safe = False, -- packages = find_packages(exclude=['examples', 'tests']), -+ py_modules = py_modules, - include_package_data = True, - - tests_require = tests_require, --- -1.9.3 diff --git a/www-servers/gunicorn/gunicorn-0.17.4.ebuild b/www-servers/gunicorn/gunicorn-0.17.4.ebuild deleted file mode 100644 index 6871afdd9d26..000000000000 --- a/www-servers/gunicorn/gunicorn-0.17.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5 3.1 *-jython" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils eutils - -DESCRIPTION="A WSGI HTTP Server for UNIX" -HOMEPAGE="http://gunicorn.org http://pypi.python.org/pypi/gunicorn" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/setproctitle" -DEPEND="dev-python/setuptools - doc? ( dev-python/sphinx ) - test? ( dev-python/pytest )" - -DOCS="README.rst" - -src_prepare() { - # these tests requires an already installed version of gunicorn - rm tests/test_003-config.py -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - cd docs - sphinx-build -b html source build || die "Generation of documentation failed" - fi -} - -src_install() { - distutils_src_install - - use doc && dohtml -r docs/build/ -} diff --git a/www-servers/gunicorn/gunicorn-19.0.0.ebuild b/www-servers/gunicorn/gunicorn-19.0.0.ebuild deleted file mode 100644 index d079c54e181a..000000000000 --- a/www-servers/gunicorn/gunicorn-19.0.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 - -DESCRIPTION="A WSGI HTTP Server for UNIX" -HOMEPAGE="http://gunicorn.org http://pypi.python.org/pypi/gunicorn" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="doc examples test" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/setproctitle[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -DOCS="README.rst" - -python_prepare() { - # these tests requires an already installed version of gunicorn - rm tests/test_003-config.py - - sed -ie "s/..\/bin/\/usr\/bin\//" docs/Makefile || die - - epatch "${FILESDIR}/${P}-gaiohttp.patch" - - distutils-r1_python_prepare -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - py.test -v || die "Testing failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - insinto /usr/share/doc/${P} - doins -r examples - fi -} |