summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-04-20 16:22:29 +0100
committerMarek Szuba <marecki@gentoo.org>2022-04-20 16:25:04 +0100
commitf7247509e0c0e26f246547e3079ad6d2778593f8 (patch)
tree6b5dc5c301a9a216f50fcab3841a749315dc8bee
parentsys-auth/solo-python: drop 0.0.31 (diff)
downloadgentoo-f7247509e0c0e26f246547e3079ad6d2778593f8.tar.gz
gentoo-f7247509e0c0e26f246547e3079ad6d2778593f8.tar.bz2
gentoo-f7247509e0c0e26f246547e3079ad6d2778593f8.zip
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@gentoo.org>
-rw-r--r--profiles/updates/2Q-20221
-rw-r--r--sys-auth/solo1/Manifest (renamed from sys-auth/solo-python/Manifest)0
-rw-r--r--sys-auth/solo1/metadata.xml (renamed from sys-auth/solo-python/metadata.xml)7
-rw-r--r--sys-auth/solo1/solo1-0.1.1.ebuild (renamed from sys-auth/solo-python/solo-python-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
index 840c5853de82..840c5853de82 100644
--- a/sys-auth/solo-python/Manifest
+++ b/sys-auth/solo1/Manifest
diff --git a/sys-auth/solo-python/metadata.xml b/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
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