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 CDB5C158094 for ; Wed, 3 Aug 2022 17:30:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2B52E0E7F; Wed, 3 Aug 2022 17:30:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96ABBE0E7F for ; Wed, 3 Aug 2022 17:30:35 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D345433BF08 for ; Wed, 3 Aug 2022 17:30:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB7AD576 for ; Wed, 3 Aug 2022 17:30:30 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1659547812.a19e27e7748b783fe26fab4c9035337751738d12.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-declarative-requirements/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setuptools-declarative-requirements/Manifest dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild X-VCS-Directories: dev-python/setuptools-declarative-requirements/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: a19e27e7748b783fe26fab4c9035337751738d12 X-VCS-Branch: master Date: Wed, 3 Aug 2022 17:30:30 +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: 6adbade0-2e2c-4e76-999c-34acb67c4552 X-Archives-Hash: a1b0bf060cdd54a3aa8a834c3106dab6 commit: a19e27e7748b783fe26fab4c9035337751738d12 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 3 17:23:31 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 3 17:30:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19e27e7 dev-python/setuptools-declarative-requirements: add 1.3.0 Signed-off-by: Arthur Zamarin gentoo.org> .../setuptools-declarative-requirements/Manifest | 1 + ...etuptools-declarative-requirements-1.3.0.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/setuptools-declarative-requirements/Manifest b/dev-python/setuptools-declarative-requirements/Manifest index 394277a2e4b2..89d52db79027 100644 --- a/dev-python/setuptools-declarative-requirements/Manifest +++ b/dev-python/setuptools-declarative-requirements/Manifest @@ -1 +1,2 @@ DIST setuptools-declarative-requirements-1.2.0.tar.gz 17936 BLAKE2B a5be2b64fc22d5a45136ec2b98c1d4cc6c20e17dc81070d12948b6f536a517ec8a660c105dfc13a4319d1de54409fb4f7a4c6bacaf1291afa13c7ecc27fd933f SHA512 ce0eeb8692ff2ea80db91cad981853da74c0ca80f58b698753de92f6df3ef5e1c158e314d0ac4d0b4fa99a2ad8ee2d7d80a9d1a13f334966c948dee1a0ae3d98 +DIST setuptools-declarative-requirements-1.3.0.gh.tar.gz 19692 BLAKE2B 5030cd7a0b651a11bec8ca9ca4db680c86634c3fe895a6a76544468c2f48aef43a15e30d0c7ba1eea1133dc5b47257a061f6700b8d1e1863d72430a0459ba9f5 SHA512 eb20016ab0b8029a38ff4632d19d63cd4b6396c9d101efce577ac862feb3fc485ac4a644035d3267cd05caf679f9b2259e1d1340f8cd902ea7c7451e099c71cc diff --git a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild new file mode 100644 index 000000000000..f7b059247728 --- /dev/null +++ b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Requirements Support For Setuptools Declarative setup.cfg" +HOMEPAGE=" + https://pypi.org/project/setuptools-declarative-requirements/ + https://github.com/s0undt3ch/setuptools-declarative-requirements +" +SRC_URI=" + https://github.com/s0undt3ch/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pytest-shell-utilities[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_prepare_all() { + sed -e "/http/s/localhost/127.0.0.1/g" -i tests/conftest.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PIP_DEFAULT_TIMEOUT=3 + local -x PIP_INDEX_URL="http://127.0.0.1:8080" + epytest -k 'not sdist' +}