From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2BFD138334 for ; Mon, 15 Jul 2019 13:13:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19D6EE088D; Mon, 15 Jul 2019 13:13:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3CF2E088D for ; Mon, 15 Jul 2019 13:13:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8732E347C1D for ; Mon, 15 Jul 2019 13:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0601A6F8 for ; Mon, 15 Jul 2019 13:13:26 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1563196395.3d0567c33e18e0418bc4504886c66c632c4d3c67.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/webob/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/webob/webob-1.8.5-r1.ebuild X-VCS-Directories: dev-python/webob/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 3d0567c33e18e0418bc4504886c66c632c4d3c67 X-VCS-Branch: master Date: Mon, 15 Jul 2019 13:13:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9702c3ab-12bd-47a3-8bf2-11bf236f2dfc X-Archives-Hash: af09f67f5eac08177e2a200fc6b917ad commit: 3d0567c33e18e0418bc4504886c66c632c4d3c67 Author: Louis Sautier gentoo org> AuthorDate: Mon Jul 15 12:48:31 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Jul 15 13:13:15 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0567c3 dev-python/webob: add PyPy3, fix deps and tests * coverage isn't required to run tests but pytest is, stop using nose. * remove intersphinx from doc. * add missing sphinx theme dependency. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Louis Sautier gentoo.org> dev-python/webob/webob-1.8.5-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/dev-python/webob/webob-1.8.5-r1.ebuild b/dev-python/webob/webob-1.8.5-r1.ebuild new file mode 100644 index 00000000000..a1502c69dba --- /dev/null +++ b/dev-python/webob/webob-1.8.5-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +MY_PN=WebOb +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WSGI request and response object" +HOMEPAGE="https://webob.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc test" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/sphinx-1.7.5[${PYTHON_USEDEP}] + dev-python/alabaster[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/pytest-3.1.0[${PYTHON_USEDEP}] + ) +" + +S=${WORKDIR}/${MY_P} + +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +}