From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qstylizer/
Date: Sun, 5 Nov 2023 16:27:49 +0000 (UTC) [thread overview]
Message-ID: <1699201663.984bd95a5633a6fb96b3811c1cf4ac40ae0d046d.mgorny@gentoo> (raw)
commit: 984bd95a5633a6fb96b3811c1cf4ac40ae0d046d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 5 16:25:45 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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}
}
next reply other threads:[~2023-11-05 16:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-05 16:27 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 6:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/qstylizer/ Michał Górny
2024-07-07 15:36 Michał Górny
2024-07-07 15:36 Michał Górny
2024-04-18 5:34 Michał Górny
2023-11-23 20:20 Michał Górny
2023-11-05 16:27 Michał Górny
2023-11-05 16:27 Michał Górny
2022-09-05 12:40 Andrew Ammerlaan
2022-06-16 8:09 Michał Górny
2022-05-25 11:03 Andrew Ammerlaan
2021-10-17 9:25 Michał Górny
2021-07-30 8:25 Andrew Ammerlaan
2021-07-06 12:51 Andrew Ammerlaan
2021-06-11 15:55 Andrew Ammerlaan
2021-06-11 15:53 Andrew Ammerlaan
2021-06-11 14:32 Andrew Ammerlaan
2021-05-04 19:23 Sam James
2021-04-16 9:55 Joonas Niilola
2021-04-09 12:21 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699201663.984bd95a5633a6fb96b3811c1cf4ac40ae0d046d.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox