public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/telepathy-qt/
Date: Wed, 22 Sep 2021 23:05:56 +0000 (UTC)	[thread overview]
Message-ID: <1632351905.2d89beb5bdad410cba3e18a92d4e9db38589cbc0.asturm@gentoo> (raw)

commit:     2d89beb5bdad410cba3e18a92d4e9db38589cbc0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 22 22:53:48 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 22 23:05:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d89beb5

net-libs/telepathy-qt: EAPI-8, Add PYTHON_REQ_USE="xml(+)", python3_10

Closes: https://bugs.gentoo.org/812917
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...qt-9999.ebuild => telepathy-qt-0.9.8-r1.ebuild} | 32 ++++++++++------------
 net-libs/telepathy-qt/telepathy-qt-9999.ebuild     |  6 ++--
 2 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild
similarity index 83%
copy from net-libs/telepathy-qt/telepathy-qt-9999.ebuild
copy to net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild
index 6e73cf75cae..9f392ed86ab 100644
--- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild
@@ -3,37 +3,23 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-if [[ ${PV} = *9999* ]]; then
-	EGIT_REPO_URI=( "https://gitlab.freedesktop.org/telepathy/${PN}" )
-	inherit git-r3
-else
-	SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
+PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_REQ_USE="xml(+)"
 inherit python-any-r1 cmake virtualx
 
 DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol"
 HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
 IUSE="debug farstream test"
 
 REQUIRED_USE="test? ( farstream )"
 
 RESTRICT="!test? ( test )"
 
-BDEPEND="${PYTHON_DEPS}
-	virtual/pkgconfig
-	test? (
-		dev-libs/glib:2
-		$(python_gen_any_dep '
-			dev-python/dbus-python[${PYTHON_USEDEP}]
-		')
-	)
-"
 RDEPEND="
 	dev-qt/qtcore:5
 	dev-qt/qtdbus:5
@@ -51,6 +37,15 @@ DEPEND="${RDEPEND}
 		dev-qt/qttest:5
 	)
 "
+BDEPEND="${PYTHON_DEPS}
+	virtual/pkgconfig
+	test? (
+		dev-libs/glib:2
+		$(python_gen_any_dep '
+			dev-python/dbus-python[${PYTHON_USEDEP}]
+		')
+	)
+"
 
 python_check_deps() {
 	use test || return 0
@@ -63,6 +58,7 @@ pkg_setup() {
 
 src_configure() {
 	local mycmakeargs=(
+		-DPython3_EXECUTABLE="${PYTHON}"
 		-DENABLE_DEBUG_OUTPUT=$(usex debug)
 		-DENABLE_FARSTREAM=$(usex farstream)
 		-DENABLE_TESTS=$(usex test)

diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
index 6e73cf75cae..4ae1fc73d37 100644
--- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
@@ -3,9 +3,10 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_REQ_USE="xml(+)"
 
-if [[ ${PV} = *9999* ]]; then
+if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI=( "https://gitlab.freedesktop.org/telepathy/${PN}" )
 	inherit git-r3
 else
@@ -63,6 +64,7 @@ pkg_setup() {
 
 src_configure() {
 	local mycmakeargs=(
+		-DPython3_EXECUTABLE="${PYTHON}"
 		-DENABLE_DEBUG_OUTPUT=$(usex debug)
 		-DENABLE_FARSTREAM=$(usex farstream)
 		-DENABLE_TESTS=$(usex test)


             reply	other threads:[~2021-09-22 23:05 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 23:05 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-25 19:40 [gentoo-commits] repo/gentoo:master commit in: net-libs/telepathy-qt/ Andreas Sturmlechner
2022-08-11 10:38 Sam James
2021-09-22 23:05 Andreas Sturmlechner
2021-09-12 11:28 Yixun Lan
2021-01-24 14:46 Andreas Sturmlechner
2020-11-24 19:59 Andreas Sturmlechner
2020-07-15 13:27 Andreas Sturmlechner
2020-04-17 14:17 Andreas Sturmlechner
2020-04-17 14:17 Andreas Sturmlechner
2019-12-31 16:46 Andreas Sturmlechner
2019-12-08 16:00 Andreas Sturmlechner
2019-12-03 11:30 Andreas Sturmlechner
2019-12-02 23:29 Aaron Bauman
2019-12-02 16:33 Mikle Kolyada
2019-12-02 16:12 Mikle Kolyada
2019-11-17 12:46 Andreas Sturmlechner
2019-11-17 12:46 Andreas Sturmlechner
2019-11-17 12:46 Andreas Sturmlechner
2018-12-12 14:06 Andreas Sturmlechner
2017-12-09  8:09 Andreas Sturmlechner
2017-11-30 22:54 Andreas Sturmlechner
2017-11-30 19:02 Thomas Deutschmann
2017-08-31 20:54 Andreas Sturmlechner
2016-08-10 18:44 Michael Palimaka
2016-08-10 18:44 Michael Palimaka
2016-06-14 13:12 Amy Winston
2016-06-14 13:12 Amy Winston
2015-10-25 15:18 Michael Palimaka
2015-10-25 13:02 Mikle Kolyada
2015-10-19  9:27 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632351905.2d89beb5bdad410cba3e18a92d4e9db38589cbc0.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox