From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/solo1/
Date: Sat, 15 Feb 2025 09:29:27 +0000 (UTC) [thread overview]
Message-ID: <1739611596.15486922489d9535484a60a948ec1f3b58893b01.ulm@gentoo> (raw)
commit: 15486922489d9535484a60a948ec1f3b58893b01
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:12:07 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:36 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15486922
sys-auth/solo1: Port to ver_replacing
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
sys-auth/solo1/solo1-0.1.1-r1.ebuild | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/sys-auth/solo1/solo1-0.1.1-r1.ebuild b/sys-auth/solo1/solo1-0.1.1-r1.ebuild
index 0e8e190536f4..f8d159eece00 100644
--- a/sys-auth/solo1/solo1-0.1.1-r1.ebuild
+++ b/sys-auth/solo1/solo1-0.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=flit
-inherit distutils-r1 pypi
+inherit distutils-r1 eapi9-ver pypi
DESCRIPTION="CLI and Python library for SoloKeys Solo 1"
HOMEPAGE="https://github.com/solokeys/solo1-cli"
@@ -25,14 +25,8 @@ RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
pkg_postinst() {
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- local ver
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt 0.1.1; then
- ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'"
- ewarn "The old name can still be used for now but is deprecated"
- break
- fi
- done
+ if ver_replacing -lt 0.1.1; then
+ ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'"
+ ewarn "The old name can still be used for now but is deprecated"
fi
}
next reply other threads:[~2025-02-15 9:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-15 9:29 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-09 11:25 [gentoo-commits] repo/gentoo:master commit in: sys-auth/solo1/ Marek Szuba
2023-05-20 7:35 Michał Górny
2023-05-01 0:47 Sam James
2023-03-16 18:52 Michał Górny
2023-02-26 23:32 Marek Szuba
2022-06-08 23:11 Marek Szuba
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=1739611596.15486922489d9535484a60a948ec1f3b58893b01.ulm@gentoo \
--to=ulm@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