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 58CE4158091 for ; Sun, 12 Jun 2022 06:06:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CADFE0867; Sun, 12 Jun 2022 06:06:21 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF709E0864 for ; Sun, 12 Jun 2022 06:06:20 +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 B7F7C341A8E for ; Sun, 12 Jun 2022 06:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39FFF4FA for ; Sun, 12 Jun 2022 06:06:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1655013932.445f4455bcf7e82c0b6213f6beeef7ec8480ff3b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pep621/, dev-python/pep621/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pep621/Manifest dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch dev-python/pep621/pep621-0.5.0.ebuild X-VCS-Directories: dev-python/pep621/files/ dev-python/pep621/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 445f4455bcf7e82c0b6213f6beeef7ec8480ff3b X-VCS-Branch: master Date: Sun, 12 Jun 2022 06:06:18 +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: 17251fa7-da45-4e45-9f08-77e7a1d00a27 X-Archives-Hash: 0a7f6abb3556824bf1627147a5eee3eb commit: 445f4455bcf7e82c0b6213f6beeef7ec8480ff3b Author: Sam James gentoo org> AuthorDate: Sun Jun 12 06:02:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 12 06:05:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=445f4455 dev-python/pep621: add 0.5.0 Signed-off-by: Sam James gentoo.org> dev-python/pep621/Manifest | 1 + .../files/pep621-0.5.0-no-install-tests.patch | 13 +++++++++++ dev-python/pep621/pep621-0.5.0.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/dev-python/pep621/Manifest b/dev-python/pep621/Manifest index 8330c1cf2523..dc67f098edcc 100644 --- a/dev-python/pep621/Manifest +++ b/dev-python/pep621/Manifest @@ -1 +1,2 @@ DIST pep621-0.4.0.gh.tar.gz 12772 BLAKE2B d2b725e8d36e4ea29d544b63a8d4ab3a155f9822b3087406460bf24982eeb7b6860c724cbbc885bc27d4a4cb9c0f1208a2dde074988984fe76a5ccce1d71812e SHA512 e48ba90ffd6c6bb548438a6372b614ccc5188e1523a32b876e47b4fd6e9e1eafb94509cb40c4e7dadd03d221c38d67b83fe202a6367b72af1afaa0ac1506bd43 +DIST pep621-0.5.0.gh.tar.gz 13816 BLAKE2B 8f5613c1279539116e99b6f319b687a08160360109e1ed71d5bc6c0434ee316ef7c0b7109d6769a03452a41c1b258765c849fe416b4632b4ba25990b6b3702aa SHA512 66cd447a01d0d01ab37611415bd620517600af667d7179a2696f763ae031c013393c8145ebd33f27b43629659333effa58596a02dfc5c217935c90475250b822 diff --git a/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch b/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch new file mode 100644 index 000000000000..1a1591e4e402 --- /dev/null +++ b/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch @@ -0,0 +1,13 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -26,6 +26,10 @@ install_requires = + packaging>=19.0 + python_requires = >=3.7 + ++[options.packages.find] ++exclude = ++ tests ++ + [options.extras_require] + test = + pytest>=6.2.4 diff --git a/dev-python/pep621/pep621-0.5.0.ebuild b/dev-python/pep621/pep621-0.5.0.ebuild new file mode 100644 index 000000000000..6a5392341f1f --- /dev/null +++ b/dev-python/pep621/pep621-0.5.0.ebuild @@ -0,0 +1,26 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="PEP 621 metadata parsing" +HOMEPAGE="https://pypi.org/project/pep621/ https://github.com/FFY00/python-pep621/" +SRC_URI="https://github.com//FFY00/python-pep621/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/python-pyproject-metadata-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.0-no-install-tests.patch +) + +distutils_enable_tests pytest