commit: ff8d6e7b1a2dcd5ad7ad23809b2ad966f0abbe9e
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 09:59:30 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 10:00:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff8d6e7b
net-misc/maestral-qt: support _rc versions
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
net-misc/maestral-qt/maestral-qt-1.6.5.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
b/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
index d8487dfb4..1d934019a 100644
--- a/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
+++ b/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
@@ -3,18 +3,21 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
-
+PYTHON_COMPAT=( python3_{9..11} )
inherit desktop distutils-r1
+MY_PV=${PV/_rc/.dev}
DESCRIPTION="Maestral is an open-source Dropbox client written in Python"
HOMEPAGE="https://maestral.app"
-SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${PV}.tar.gz ->
${P}.gh.tar.gz"
+SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${MY_PV}.tar.gz
-> ${P}.gh.tar.gz"
+S="${WORKDIR}"/${PN}-${MY_PV}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+if [[ ${PV} != *_rc* ]]; then
+ KEYWORDS="~amd64"
+fi
RDEPEND="
>=dev-python/click-8.0.2[${PYTHON_USEDEP}]