mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/waitress: Clean old versions up
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST pylons_sphinx_theme.tar.gz 607608 SHA256 d892c80fbee8845b79cb41845a89cf2f268893689a68157bc10bd0224948bb9c SHA512 fdafd77e52ff6941de5102bad521ed2a9e28cff6be385cab660a7604be12fa1d86db73fc93f84f72551458cc60b42d3354f27648b1d747b15b25d6f809df8a4d WHIRLPOOL bcf8329b35b90d65eae86a8fc910d074790f912cfe7d4bdd9065970f5c24344e57e585d8dd0b28f101b4ddd4ed0b65caa3bdf7c93fb933ddc6916e63514fa69f
|
||||
DIST waitress-0.8.10.tar.gz 123717 SHA256 7c40c1af0f0c254edb25153621a1e825bc1af2f7bf41a74b4bb8ee6d544ef604 SHA512 ba9e418c8cb7094e446b636a98c0d714eacdfd0643f4bd8b99e59cb0f9a56a9538b713482dd830ae5d3ace0381fe75521501ddd979fe5e292645fbf725cf7fe1 WHIRLPOOL 49e55034bdf203aadb07b9c9bce36a1fbd25f45f1cc6da70bd89d5eed8cb6bc1c1cef8b9b82ef21ef9bb724b2eb8c56d004dcba7a8abda98578cb6e3c617589b
|
||||
DIST waitress-0.8.9.tar.gz 121048 SHA256 826527dc9d334ed4ed76cdae672fdcbbccf614186657db71679ab58df869458a SHA512 e9459b8806389fcdbd6f7cfc4fc908c2076f1fcc306315c5375c872c1a0c43c2537347322f7becf1ad36aec0050dca7b2f713f35318fe3a371e544cc880b7d8c WHIRLPOOL f3ce347d3fa04944ebcf7b6b3734bed0ff1fb1fc1dd9479a10cc4cc77111ae250e2c652dd195b15a86c1c7b740d751d0ca539791f3b97c942737ca0be033a59a
|
||||
DIST waitress-1.0.1.tar.gz 123934 SHA256 2daacaece189ede6a23440afe03bda58089a6207f1d80a1e9497f979dfb741fc SHA512 0205a0a5fc9e65e20370fc1e97ba456337313c93817e9b2b283610e5045eb32de80f45d19ee0cfb9469a93e4fc9267b785feacedd70b362474f4af5c05a3ab21 WHIRLPOOL 0eca4eec79b894fb561a894f26de1adbe45c70335c66f589d66b26d9c68a708c443eaacded46099d23401390ee45743b8fa2bc39e744f61a988f6695e8c83ea4
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
diff -ur waitress-0.8.9.orig/docs/conf.py waitress-0.8.9/docs/conf.py
|
||||
--- docs/conf.py 2014-05-17 05:39:35.000000000 +0800
|
||||
+++ docs/conf.py 2014-05-21 13:28:12.921485962 +0800
|
||||
@@ -21,24 +21,7 @@
|
||||
import pkg_resources
|
||||
|
||||
# Add and use Pylons theme
|
||||
-if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
|
||||
- from subprocess import call, Popen, PIPE
|
||||
-
|
||||
- p = Popen('which git', shell=True, stdout=PIPE)
|
||||
- git = p.stdout.read().strip()
|
||||
- cwd = os.getcwd()
|
||||
- _themes = os.path.join(cwd, '_themes')
|
||||
-
|
||||
- if not os.path.isdir(_themes):
|
||||
- call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
|
||||
- '_themes'])
|
||||
- else:
|
||||
- os.chdir(_themes)
|
||||
- call([git, 'checkout', 'master'])
|
||||
- call([git, 'pull'])
|
||||
- os.chdir(cwd)
|
||||
-
|
||||
- sys.path.append(os.path.abspath('_themes'))
|
||||
+sys.path.append(os.path.abspath('_themes'))
|
||||
|
||||
# General configuration
|
||||
# ---------------------
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure-Python WSGI server"
|
||||
HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure-Python WSGI server"
|
||||
HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz \
|
||||
doc? ( https://dev.gentoo.org/~idella4/pylons_sphinx_theme.tar.gz )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
local PATCHES=( "${FILESDIR}"/${P}-doc.patch )
|
||||
mv "${WORKDIR}"/_themes ./docs/ || die
|
||||
fi
|
||||
|
||||
# Fix generation of documentation with Waitress not installed. Bug #525384
|
||||
sed -e "s/^version = pkg_resources.get_distribution('waitress').version$/version = '${PV}'/" -i docs/conf.py
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user