Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/maestral-qt/
Date: Sun, 29 Jan 2023 10:40:29
Message-Id: 1674986432.ff8d6e7b1a2dcd5ad7ad23809b2ad966f0abbe9e.ceamac@gentoo
1 commit: ff8d6e7b1a2dcd5ad7ad23809b2ad966f0abbe9e
2 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 09:59:30 2023 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 10:00:32 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff8d6e7b
7
8 net-misc/maestral-qt: support _rc versions
9
10 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
11
12 net-misc/maestral-qt/maestral-qt-1.6.5.ebuild | 11 +++++++----
13 1 file changed, 7 insertions(+), 4 deletions(-)
14
15 diff --git a/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild b/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
16 index d8487dfb4..1d934019a 100644
17 --- a/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
18 +++ b/net-misc/maestral-qt/maestral-qt-1.6.5.ebuild
19 @@ -3,18 +3,21 @@
20
21 EAPI=8
22
23 -PYTHON_COMPAT=( python3_{9..11} )
24 DISTUTILS_USE_PEP517=setuptools
25 -
26 +PYTHON_COMPAT=( python3_{9..11} )
27 inherit desktop distutils-r1
28
29 +MY_PV=${PV/_rc/.dev}
30 DESCRIPTION="Maestral is an open-source Dropbox client written in Python"
31 HOMEPAGE="https://maestral.app"
32 -SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
33 +SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
34 +S="${WORKDIR}"/${PN}-${MY_PV}
35
36 LICENSE="MIT"
37 SLOT="0"
38 -KEYWORDS="~amd64"
39 +if [[ ${PV} != *_rc* ]]; then
40 + KEYWORDS="~amd64"
41 +fi
42
43 RDEPEND="
44 >=dev-python/click-8.0.2[${PYTHON_USEDEP}]