commit: f7247509e0c0e26f246547e3079ad6d2778593f8
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 15:22:29 2022 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 15:25:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7247509
sys-auth/solo-python: rename to sys-auth/solo1
Name changed upstream starting with version 0.1.0 in order to emphasise
this software only works with Solo 1.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
profiles/updates/2Q-2022 | 1 +
sys-auth/{solo-python => solo1}/Manifest | 0
sys-auth/{solo-python => solo1}/metadata.xml | 7 ++++---
.../solo-python-0.1.1.ebuild => solo1/solo1-0.1.1.ebuild} | 9 ++-------
4 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/profiles/updates/2Q-2022 b/profiles/updates/2Q-2022
index df9345f94245..68b164b32fb8 100644
--- a/profiles/updates/2Q-2022
+++ b/profiles/updates/2Q-2022
@@ -1,2 +1,3 @@
move app-text/kramdown-rfc2629 app-text/kramdown-rfc
move dev-python/PyECLib dev-python/pyeclib
+move sys-auth/solo-python sys-auth/solo1
diff --git a/sys-auth/solo-python/Manifest b/sys-auth/solo1/Manifest
similarity index 100%
rename from sys-auth/solo-python/Manifest
rename to sys-auth/solo1/Manifest
diff --git a/sys-auth/solo-python/metadata.xml b/sys-auth/solo1/metadata.xml
similarity index 61%
rename from sys-auth/solo-python/metadata.xml
rename to sys-auth/solo1/metadata.xml
index 2cfc63fce256..d85a5fb1d267 100644
--- a/sys-auth/solo-python/metadata.xml
+++ b/sys-auth/solo1/metadata.xml
@@ -6,9 +6,10 @@
<name>Marek Szuba</name>
</maintainer>
<longdescription>
- The command-line tool 'solo' provided by this package can be
used to reset a SoloKey,
- set/change the PIN, generate credentials, interact with the
on-board TRNG, update
- the firmware, and more. See the output of 'solo key --help' for
more information.
+ The command-line tool 'solo1' provided by this package can be
used to reset
+ a SoloKeys Solo 1, set/change the PIN, generate credentials,
interact
+ with the on-board TRNG, update the firmware, and more. See the
output
+ of 'solo1 key --help' for more information.
</longdescription>
<stabilize-allarches/>
<upstream>
diff --git a/sys-auth/solo-python/solo-python-0.1.1.ebuild
b/sys-auth/solo1/solo1-0.1.1.ebuild
similarity index 86%
rename from sys-auth/solo-python/solo-python-0.1.1.ebuild
rename to sys-auth/solo1/solo1-0.1.1.ebuild
index 22b82af11c39..d2d01f96ae74 100644
--- a/sys-auth/solo-python/solo-python-0.1.1.ebuild
+++ b/sys-auth/solo1/solo1-0.1.1.ebuild
@@ -8,12 +8,9 @@ DISTUTILS_USE_PEP517=flit
inherit distutils-r1
-MY_PN="solo1"
-MY_P="${MY_PN}-${PV}"
-
DESCRIPTION="CLI and Python library for SoloKeys Solo 1"
HOMEPAGE="https://github.com/solokeys/solo1-cli"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0 MIT"
SLOT="0"
@@ -28,14 +25,12 @@ RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}]
dev-python/pyusb[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
-S="${WORKDIR}"/${MY_P}
-
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 '${MY_PN}' rather than 'solo'"
+ 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