From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 112951388C1 for ; Tue, 1 Mar 2016 22:37:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4529E080B; Tue, 1 Mar 2016 22:37:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00C25E080A for ; Tue, 1 Mar 2016 22:37:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03CA63409EC for ; Tue, 1 Mar 2016 22:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B89318A6 for ; Tue, 1 Mar 2016 22:37:29 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1456871787.4a148651d39c5e8fd2b188f8c1b2775362b3dc69.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/waitress/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/waitress/Manifest dev-python/waitress/waitress-0.8.10.ebuild X-VCS-Directories: dev-python/waitress/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 4a148651d39c5e8fd2b188f8c1b2775362b3dc69 X-VCS-Branch: master Date: Tue, 1 Mar 2016 22:37:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1343c2d9-7457-4918-ae3e-ea6c5fffc50f X-Archives-Hash: 45ca031923cf9d0fffd5a37e589e748c commit: 4a148651d39c5e8fd2b188f8c1b2775362b3dc69 Author: Patrick Lauer gentoo org> AuthorDate: Tue Mar 1 21:02:40 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Tue Mar 1 22:36:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a148651 dev-python/waitress: Bump Package-Manager: portage-2.2.27 dev-python/waitress/Manifest | 1 + dev-python/waitress/waitress-0.8.10.ebuild | 50 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/waitress/Manifest b/dev-python/waitress/Manifest index 9954de7..3019f75 100644 --- a/dev-python/waitress/Manifest +++ b/dev-python/waitress/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/waitress/waitress-0.8.10.ebuild b/dev-python/waitress/waitress-0.8.10.ebuild new file mode 100644 index 0000000..c9fe158 --- /dev/null +++ b/dev-python/waitress/waitress-0.8.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 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 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 +}