mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
app-crypt/nitrokey-app2: new package, add 2.3.3
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
1
app-crypt/nitrokey-app2/Manifest
Normal file
1
app-crypt/nitrokey-app2/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nitrokey-app2-2.3.3.gh.tar.gz 998172 BLAKE2B eb371f9069c29905141017ccbdacfba145223e961aee870c57d4f60364ac1837f0772c56bd0ea34303bc6e2aeccd4803ead11109046d9a6f7d571d27376eadb9 SHA512 c30ac11b50ae6a1a62d55b9731e2c899801abf26d7c7349d14435c9a1ea51fdfc0378e89ec29575fac73eefe43714b187c0f098f702581a4d1d74a377a05b866
|
||||
23
app-crypt/nitrokey-app2/metadata.xml
Normal file
23
app-crypt/nitrokey-app2/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>beatussum@protonmail.com</email>
|
||||
<name>Mattéo Rossillol‑‑Laruelle</name>
|
||||
</maintainer>
|
||||
|
||||
<stabilize-allarches/>
|
||||
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>Nitrokey</name>
|
||||
<email>pypi@nitrokey.com</email>
|
||||
</maintainer>
|
||||
|
||||
<bugs-to>https://github.com/Nitrokey/nitrokey-app2/issues</bugs-to>
|
||||
|
||||
<remote-id type="github">Nitrokey/nitrokey-app2</remote-id>
|
||||
<remote-id type="pypi">nitrokeyapp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
48
app-crypt/nitrokey-app2/nitrokey-app2-2.3.3.ebuild
Normal file
48
app-crypt/nitrokey-app2/nitrokey-app2-2.3.3.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
|
||||
inherit desktop distutils-r1 xdg
|
||||
|
||||
DESCRIPTION="Graphical application to manage and use Nitrokey 3 devices"
|
||||
HOMEPAGE="https://github.com/Nitrokey/nitrokey-app2 https://pypi.org/project/nitrokeyapp/"
|
||||
SRC_URI="https://github.com/Nitrokey/nitrokey-app2/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/nitrokey-0.2.3[${PYTHON_USEDEP}]
|
||||
<dev-python/nitrokey-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyside-6.6.0:6=[core,gui,svg,tools,uitools,widgets,${PYTHON_USEDEP}]
|
||||
>=dev-python/usb-monitor-1.21[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
rm nitrokeyapp/VERSION || die
|
||||
rm nitrokeyapp/ui/i18n/*.ts || die
|
||||
rm nitrokeyapp/ui/i18n/CMakeLists.txt || die
|
||||
|
||||
rm -r nitrokeyapp/ui/{LICENSES,3RDPARTY.txt} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
domenu meta/com.nitrokey.nitrokey-app2.desktop
|
||||
newicon -s scalable meta/nk-app2.svg com.nitrokey.nitrokey-app2.svg
|
||||
newicon -s 128 meta/nk-app2.png com.nitrokey.nitrokey-app2.png
|
||||
|
||||
insinto /usr/share/metainfo
|
||||
doins meta/com.nitrokey.nitrokey-app2.metainfo.xml
|
||||
}
|
||||
Reference in New Issue
Block a user