diff options
Diffstat (limited to 'www-servers/gunicorn')
-rw-r--r-- | www-servers/gunicorn/Manifest | 2 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-22.0.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/www-servers/gunicorn/Manifest b/www-servers/gunicorn/Manifest index 13cf3257e3ae..48425ea59c65 100644 --- a/www-servers/gunicorn/Manifest +++ b/www-servers/gunicorn/Manifest @@ -1,3 +1,5 @@ DIST gunicorn-21.2.0.gh.tar.gz 361112 BLAKE2B 94c868435ecca25d4c83e348bff219d26f53fe28e15d284c00f6f981ee88a5a32e802014b121f1314ec337684fa7bb37fcc21e2ec2aeab4275e526aa84f22677 SHA512 47c21293bd5340e43074c87694d13241b2867437ad993b204ee4bd21ea923350763a424b3f7ce59737b10cd526d12127b1ae95ef60410eca9924605b522d637c +DIST gunicorn-22.0.0.gh.tar.gz 368152 BLAKE2B 9d3e2955140d299af86b9370c352d0d7ae2b631a5cdf72200550d3ac8b2e5f51edbc686475d3507f8dfb5f4249ef261e29a6d5fa172e5356777297f5497c7c20 SHA512 cb366cfc2875a32e1e6ddd3bd521650cb87a51c29b036b2cfbd9f8371307d1ffefafbcc85d45753c29186a92def77112e2ddd49fdc2116d2d32702635e88ba53 EBUILD gunicorn-21.2.0.ebuild 1118 BLAKE2B cd24e33e02efaa1e476727b297f744ef9f63cb71eec48c03fbcf8d99702933acff44c9f82c6e5d1c5c397f6d21a6c547aeb96ac66f08b0fcd8537170fcd1b893 SHA512 033f5be0cd6644c9c2d0f837c5f6860dc7d21e429900571f52dc65edd597167fc33575160dd277bfedf27cc10f8e7b230c3aa688962f66573cf6fdd6a16b5d34 +EBUILD gunicorn-22.0.0.ebuild 1109 BLAKE2B d5c8984ee07d51e8d3b4f03682e751b96c3396bfcbf2f71245f35da2a89d54ef774d75c3625a322e599020390e8dfcd65dc3d33e347a20a5602b0327adb14e2f SHA512 c27322044eb83c7d3a7ef075eac90cefe34deb82c7db666cc041f51bd77053ed9e9cd32dc89a00c06f9eac4533cc4c1aa3758340fe89f8b95dbf3221d3c3ace7 MISC metadata.xml 821 BLAKE2B aa75468eafd9c717f3b3b55b4c91917cd94e612f591e752c93bec95b57e5abd4f46fd98de88c52ca5c624dc00f6d45afbd03f04743f962f87be9321902142712 SHA512 c7746b7036159f99a67dcc688a839ec06adf85d2bfb2214a2ec0b961bfcbd9a72fb5f2dd66dc3868f0d50e5d99386e4a4251f872afd7ad932dc4cca6fc33dff3 diff --git a/www-servers/gunicorn/gunicorn-22.0.0.ebuild b/www-servers/gunicorn/gunicorn-22.0.0.ebuild new file mode 100644 index 000000000000..d8eb6eabad27 --- /dev/null +++ b/www-servers/gunicorn/gunicorn-22.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A WSGI HTTP Server for UNIX" +HOMEPAGE=" + https://gunicorn.org/ + https://github.com/benoitc/gunicorn/ + https://pypi.org/project/gunicorn/ +" +SRC_URI=" + https://github.com/benoitc/gunicorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT PSF-2 doc? ( BSD )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] +" + +DOCS=( README.rst ) + +distutils_enable_sphinx 'docs/source' --no-autodoc +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # removed deps + tests/workers/test_geventlet.py + tests/workers/test_ggevent.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/source/_build/html/. ) + + distutils-r1_python_install_all +} |