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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C0BA158090 for ; Sat, 21 May 2022 14:14:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA5B6E08F6; Sat, 21 May 2022 14:14:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2A87E0848 for ; Sat, 21 May 2022 14:14:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D9F4341486 for ; Sat, 21 May 2022 14:14:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C57B646D for ; Sat, 21 May 2022 14:14:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1653142440.59111dbda788a35151b956d54f23503d9e18c548.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stevedore/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/stevedore/stevedore-3.4.0-r1.ebuild X-VCS-Directories: dev-python/stevedore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 59111dbda788a35151b956d54f23503d9e18c548 X-VCS-Branch: master Date: Sat, 21 May 2022 14:14:08 +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: ca7bc7e1-3e0c-4cda-9024-ef4aa6d63cd5 X-Archives-Hash: 15a5bb908194cd6ab34acdd51b05311e commit: 59111dbda788a35151b956d54f23503d9e18c548 Author: Michał Górny gentoo org> AuthorDate: Sat May 21 14:01:50 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 21 14:14:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59111dbd dev-python/stevedore: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/stevedore/stevedore-3.4.0-r1.ebuild | 53 ++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-python/stevedore/stevedore-3.4.0-r1.ebuild b/dev-python/stevedore/stevedore-3.4.0-r1.ebuild new file mode 100644 index 000000000000..ce201b3cecdf --- /dev/null +++ b/dev-python/stevedore/stevedore-3.4.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE=" + https://opendev.org/openstack/stevedore/ + https://github.com/openstack/stevedore/ + https://pypi.org/project/stevedore/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx 'doc/source' \ + '>=dev-python/openstackdocstheme-1.18.1' \ + '>=dev-python/reno-2.5.0' \ + '>=dev-python/sphinx-2.0.0' + +python_prepare_all() { + # Delete spurious data in requirements.txt + sed -e '/^pbr/d' -i requirements.txt || die + + # Known bug in tests + # https://bugs.launchpad.net/python-stevedore/+bug/1966040 + sed -i -e 's:test_extras:_&:' stevedore/tests/test_extension.py || die + + # Also known problem, inside venv + sed -i -e 's:test_disable_caching_file:_&:' \ + stevedore/tests/test_cache.py || die + + distutils-r1_python_prepare_all +}