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 E4293158020 for ; Fri, 28 Oct 2022 07:09:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D5DEE085B; Fri, 28 Oct 2022 07:09:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 17BCBE085B for ; Fri, 28 Oct 2022 07:09:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4F4BC341102 for ; Fri, 28 Oct 2022 07:09:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF4B86A1 for ; Fri, 28 Oct 2022 07:09:03 +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: <1666940930.6d1b28a6d04ef9c10efb9ef961889e1448540ad7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/versioneer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/versioneer/Manifest dev-python/versioneer/versioneer-0.28.ebuild X-VCS-Directories: dev-python/versioneer/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6d1b28a6d04ef9c10efb9ef961889e1448540ad7 X-VCS-Branch: master Date: Fri, 28 Oct 2022 07:09:03 +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: 606c8d6c-821f-413c-9114-b63243e55137 X-Archives-Hash: 87d3f7806d0639a1dbfd38f335d654ef commit: 6d1b28a6d04ef9c10efb9ef961889e1448540ad7 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 28 05:59:12 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 28 07:08:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1b28a6 dev-python/versioneer: Bump to 0.28 Signed-off-by: Michał Górny gentoo.org> dev-python/versioneer/Manifest | 1 + dev-python/versioneer/versioneer-0.28.ebuild | 51 ++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index cb3879b5ce83..202b9a6b287d 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ DIST python-versioneer-0.26.gh.tar.gz 75408 BLAKE2B 492538de63d0394f622e5d344955024559b66dea71909cabb366aa7df5cf8b43d3599af6693df3d8cb98c96df314f6cafa12bd237dc6f44be42370fe9cf0224f SHA512 7729cb94d30d3a666ac7e24f9c98880e801d54f986f9bd442695bc71e01ffc06ac53c952e67ab9a5db5d1cefe2a2dc37cd34e84cd5810e7873ae96a7afb65ad0 +DIST python-versioneer-0.28.gh.tar.gz 77503 BLAKE2B a4d75ce8a7db057421e36fd75bfa9ec83a41191b999c2a81b3879290424005b521f7b6046debb847bf78eae459ef7247d903f971d2a0c4fce116ec0cd1f34833 SHA512 ef27f4588f1c76eb5da1e108f2eee635707b2427cd79a71880f8df217317329e5fb81b30b1e741f2439550dc73f9a816ebdf47af475862344d67ed2189f92a1e diff --git a/dev-python/versioneer/versioneer-0.28.ebuild b/dev-python/versioneer/versioneer-0.28.ebuild new file mode 100644 index 000000000000..f26ee12e3cc0 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.28.ebuild @@ -0,0 +1,51 @@ +# 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..11} ) + +inherit distutils-r1 + +MY_P=python-versioneer-${PV} +DESCRIPTION="Easy VCS-based management of project version strings" +HOMEPAGE=" + https://pypi.org/project/versioneer/ + https://github.com/python-versioneer/python-versioneer/ +" +SRC_URI=" + https://github.com/python-versioneer/python-versioneer/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="Unlicense" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-vcs/git + !!dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_test() { + esetup.py make_versioneer + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git config --global init.defaultBranch whatever || die + + "${EPYTHON}" test/git/test_git.py -v || die +}