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 C82EE158089 for ; Sun, 5 Nov 2023 16:27:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA7732BC025; Sun, 5 Nov 2023 16:27:52 +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 A07642BC025 for ; Sun, 5 Nov 2023 16:27:52 +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 E9AAF335D1B for ; Sun, 5 Nov 2023 16:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D517130D for ; Sun, 5 Nov 2023 16:27:49 +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: <1699201663.984bd95a5633a6fb96b3811c1cf4ac40ae0d046d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qstylizer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qstylizer/qstylizer-0.2.2.ebuild X-VCS-Directories: dev-python/qstylizer/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 984bd95a5633a6fb96b3811c1cf4ac40ae0d046d X-VCS-Branch: master Date: Sun, 5 Nov 2023 16:27:49 +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: 0d836203-ed4b-4eff-bb9f-72a023b413a4 X-Archives-Hash: 32b1f9e2675ec609c3f9065cf4055e4e commit: 984bd95a5633a6fb96b3811c1cf4ac40ae0d046d Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 16:25:45 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 5 16:27:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984bd95a dev-python/qstylizer: Use PBR_VERSION to set version Signed-off-by: Michał Górny gentoo.org> dev-python/qstylizer/qstylizer-0.2.2.ebuild | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/dev-python/qstylizer/qstylizer-0.2.2.ebuild b/dev-python/qstylizer/qstylizer-0.2.2.ebuild index 7ed9d79cd031..e7bb30029705 100644 --- a/dev-python/qstylizer/qstylizer-0.2.2.ebuild +++ b/dev-python/qstylizer/qstylizer-0.2.2.ebuild @@ -31,7 +31,6 @@ RDEPEND=" BDEPEND=" dev-python/pbr[${PYTHON_USEDEP}] - dev-vcs/git test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] @@ -44,23 +43,12 @@ distutils_enable_sphinx doc \ dev-python/sphinxcontrib-autoprogram python_prepare_all() { - # Exception: Versioning for this project requires either an sdist tarball, or access to an - # upstream git repository. It's also possible that there is a mismatch between the package - # name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name qstylizer - # was given, but was not able to be found. - # - # There are no tarballs on PyPI, so we do this as a workaround - git init -q || die - git config user.email "larry@gentoo.org" || die - git config user.name "Larry the Cow" || die - git add . || die - git commit -m "init" || die - git tag -a "${PV}" -m "${PV}" || die - # fix test # https://github.com/blambright/qstylizer/pull/17 sed -e 's:[.]called_once_with:.assert_called_once_with:' \ -i test/unit/test_style.py || die distutils-r1_python_prepare_all + + export PBR_VERSION=${PV} }