yubioath-desktop: migrate to PYTHON_MULTI_USEDEP and bump 5.0.2_p20200211

This commit is contained in:
Yury Martynov 2020-02-13 12:48:20 +03:00
parent 69a9ade0bf
commit 588fff24a2
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
4 changed files with 28 additions and 27 deletions

View file

@ -1,2 +1,2 @@
DIST yubioath-desktop-5.0.1.tar.gz 4847220 BLAKE2B 987145338b934a49236325a6fe5c7ad1bc996d09ef29da66681bc3cc9c59ef7ca34d009015e974c256cc5dcdc5cc3e898f0eef246ed8ae2add308fd411386e7b SHA512 e1d8749641a59726d73547a4eb219162d0d654fbbf04f1d6302bc5c097ccde69f15f39b16b631ee8e4d19fab0cf1b01130f5afe3e1b2905103f676c6db7070e8
DIST yubioath-desktop-5.0.2.tar.gz 4857630 BLAKE2B 13edc3a34bc0d4296bbfc026d0c6d8f322d0558e0fd83a88e085eb8569074a5bf34e246419a5bc59c4d74739452a9a01198129f22613d7dfc3ded56e0ad201df SHA512 a488e5c46de81acfd2da3ce0dec5edfafd809613fcd4a5712ae3968d7e266cc89ed9826b617d3bf6234d4089f5982e735d75e2dea6be000625c878ccb585e2d8
DIST yubioath-desktop-5.0.2_p20200211.tar.gz 4860697 BLAKE2B 75fb055454f58e0715a00848458e211c3df1b0cc1f3e4fadfd7cf43f92bed0d22601e75f41ae99aaea124cfd44cf28933ec73545c88ccd4e50c170c79ba500f1 SHA512 a914ca41028f43687d27eb7fb0f10acafbd53c815a5e4820e582ffde8fdc18576fe08ed2f52c804ffeda960ee26f38edf253428694e2be4f1265e8e9f4e1fab3

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_6 )
inherit eutils desktop python-single-r1 qmake-utils xdg-utils
@ -20,7 +20,7 @@ else
S="${WORKDIR}/${PN}-${P}"
fi
SLOT=0
SLOT="0"
LICENSE="BSD-2"
DEPEND="
@ -33,9 +33,8 @@ DEPEND="
x11-libs/libdrm"
RDEPEND="${DEPEND}
>=app-crypt/yubikey-manager-2.1.1[${PYTHON_SINGLE_USEDEP}]
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
dev-python/pycopy-binascii[${PYTHON_SINGLE_USEDEP}]"
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-2.1.1[${PYTHON_MULTI_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
pkg_setup() {
python-single-r1_pkg_setup

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_6 )
inherit eutils desktop python-single-r1 qmake-utils xdg-utils
@ -14,13 +14,14 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Yubico/yubioath-desktop"
else
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz"
HASH_COMMIT="fa6b365ebc1c10b337a201cb97fdd6caf069bcf1"
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${P}"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
fi
SLOT=0
SLOT="0"
LICENSE="BSD-2"
DEPEND="
@ -33,9 +34,8 @@ DEPEND="
x11-libs/libdrm"
RDEPEND="${DEPEND}
>=app-crypt/yubikey-manager-2.1.1[${PYTHON_SINGLE_USEDEP}]
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
dev-python/pycopy-binascii[${PYTHON_SINGLE_USEDEP}]"
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-2.1.1[${PYTHON_MULTI_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
pkg_setup() {
python-single-r1_pkg_setup
@ -57,8 +57,9 @@ src_configure() {
src_install() {
emake INSTALL_ROOT="${D}" install
domenu resources/yubioath-desktop.desktop
doicon resources/icons/yubioath.png
domenu resources/com.yubico.yubioath.desktop
doicon resources/icons/com.yubico.yubioath.png
doicon -s scalable resources/icons/com.yubico.yubioath.svg
}
pkg_postinst() {

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_6 )
inherit eutils desktop python-single-r1 qmake-utils xdg-utils
@ -14,13 +14,14 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Yubico/yubioath-desktop"
else
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz"
HASH_COMMIT="fa6b365ebc1c10b337a201cb97fdd6caf069bcf1"
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${P}"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
fi
SLOT=0
SLOT="0"
LICENSE="BSD-2"
DEPEND="
@ -33,9 +34,8 @@ DEPEND="
x11-libs/libdrm"
RDEPEND="${DEPEND}
>=app-crypt/yubikey-manager-2.1.1[${PYTHON_SINGLE_USEDEP}]
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
dev-python/pycopy-binascii[${PYTHON_SINGLE_USEDEP}]"
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-2.1.1[${PYTHON_MULTI_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
pkg_setup() {
python-single-r1_pkg_setup
@ -57,8 +57,9 @@ src_configure() {
src_install() {
emake INSTALL_ROOT="${D}" install
domenu resources/yubioath-desktop.desktop
doicon resources/icons/yubioath.png
domenu resources/com.yubico.yubioath.desktop
doicon resources/icons/com.yubico.yubioath.png
doicon -s scalable resources/icons/com.yubico.yubioath.svg
}
pkg_postinst() {