mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
sys-auth/authenticator: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST authenticator-0.2.1.tar.gz 147693 BLAKE2B b9f3a7fd5b3b7867120b9ed17b90cea4c07a271dc4d75a845ad539e15453a606d48e8637d44d12cecf9b91e5fb351d081c1add48c1a4a955444f39addd51b075 SHA512 aebf3ce147d5ccd404de6af52e130e9a85a3d5d86140d73026dac00219853652e7aa1e67db5838f9ac4d147021cd07b3ebfb86a1ab4b413ec3b98360097d1d6e
|
||||
DIST authenticator-0.2.4.tar.gz 142444 BLAKE2B 2df1462452d5aaead51af111359120c8a464058730129fd984dd568c709c58f6940a34b996d3b5435b78bd87b433a29735d3fd8e9629b512915720063b49b1a1 SHA512 16b942d24a1136350f78de92a287dcc6b52e9347cd0b73e8310b87c6c24b7075aebe909fe20d80532f7fa1b54d332b8b62fd2fc7d26ce15888fd47bb686520e2
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit gnome2-utils meson python-r1 virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="Two-factor authentication code generator for GNOME"
|
||||
HOMEPAGE="https://github.com/bilelmoussaoui/Authenticator"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
else
|
||||
SRC_URI="https://github.com/bilelmoussaoui/Authenticator/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/Authenticator-${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/libsecret
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pyotp[${PYTHON_USEDEP}]
|
||||
dev-python/pyzbar[${PYTHON_USEDEP}]
|
||||
media-gfx/gnome-screenshot
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/disable-failing-tests.patch" )
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
src_test() {
|
||||
xdg_environment_reset
|
||||
virtx meson_src_test
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index d21a6d1..b2a849b 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -50,10 +50,12 @@ endif
|
||||
|
||||
appstreamcli = find_program(['appstreamcli', 'appstream-util'], required:false)
|
||||
|
||||
-if appstreamcli.found()
|
||||
- test (
|
||||
- 'Validate appdata file',
|
||||
- appstreamcli,
|
||||
- args: ['validate', join_paths(meson.current_build_dir (), meson.project_name() + '.appdata.xml')]
|
||||
- )
|
||||
-endif
|
||||
+# This test fails because screenshot images do not comply with restrictions.
|
||||
+# See https://github.com/bilelmoussaoui/Authenticator/issues/67
|
||||
+#if appstreamcli.found()
|
||||
+# test (
|
||||
+# 'Validate appdata file',
|
||||
+# appstreamcli,
|
||||
+# args: ['validate', join_paths(meson.current_build_dir (), meson.project_name() + '.appdata.xml')]
|
||||
+# )
|
||||
+#endif
|
||||
Reference in New Issue
Block a user