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: dev-vcs/tortoisehg/
Date: Sat,  9 Dec 2017 23:52:36 +0000 (UTC)	[thread overview]
Message-ID: <1512863519.b87dec3c2c5646b2690bb5c82f4f5736f29c5d01.asturm@gentoo> (raw)

commit:     b87dec3c2c5646b2690bb5c82f4f5736f29c5d01
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  9 23:33:44 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec  9 23:51:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87dec3c

dev-vcs/tortoisehg: Switch to Qt5

Bug: https://bugs.gentoo.org/634976
Package-Manager: Portage-2.3.17, Repoman-2.3.6

 dev-vcs/tortoisehg/tortoisehg-4.4.1-r1.ebuild | 79 +++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/dev-vcs/tortoisehg/tortoisehg-4.4.1-r1.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.4.1-r1.ebuild
new file mode 100644
index 00000000000..10ea4192888
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-4.4.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+if [[ ${PV} != *9999* ]]; then
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
+	HG_DEPEND=">=dev-vcs/mercurial-4.3 <dev-vcs/mercurial-4.5"
+else
+	inherit mercurial
+	EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
+	EHG_REVISION="stable"
+	HG_DEPEND="dev-vcs/mercurial"
+fi
+
+DESCRIPTION="Set of graphical tools for Mercurial"
+HOMEPAGE="https://tortoisehg.bitbucket.io/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="${HG_DEPEND}
+	dev-python/iniparse[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/PyQt5[svg,${PYTHON_USEDEP}]
+	>=dev-python/qscintilla-python-2.9.4:=[qt5(+),${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+	doc? ( >=dev-python/sphinx-1.0.3 )"
+
+# Workaround race condition in build_qt
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+	if [[ ${LINGUAS+set} ]]; then
+		cd i18n/tortoisehg || die
+		local x y keep
+		for x in *.po; do
+			keep=false
+			for y in ${LINGUAS}; do
+				if [[ ${y} == ${x%.po}* ]]; then
+					keep=true
+					break
+				fi
+			done
+			${keep} || rm "${x}" || die
+		done
+		cd "${S}" || die
+	fi
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	use doc && emake -C doc html
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
+	if use doc ; then
+		dohtml -r doc/build/html/
+	fi
+	newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
+	domenu contrib/thg.desktop
+
+	# Remove file that collides with >=mercurial-4.0 (bug #599266).
+	rm "${ED}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
+		|| die
+}
+
+pkg_postinst() {
+	elog "When startup of ${PN} fails with an API version mismatch error"
+	elog "between dev-python/sip and dev-python/PyQt5 please rebuild"
+	elog "dev-python/qscintilla-python."
+}


             reply	other threads:[~2017-12-09 23:52 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-09 23:52 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-26  6:18 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/ Joonas Niilola
2024-10-26  6:18 Joonas Niilola
2024-04-14  0:43 Sam James
2024-04-06 11:07 Cédric Krier
2024-02-26  7:33 Joonas Niilola
2024-02-26  6:05 Arthur Zamarin
2023-09-17  6:17 Sam James
2023-09-16  7:57 Joonas Niilola
2023-08-21  3:50 Sam James
2023-08-21  3:50 Sam James
2023-07-16 18:34 Sam James
2023-04-26  4:03 Sam James
2023-04-01 16:10 Cédric Krier
2023-03-07  7:11 Joonas Niilola
2023-03-06 12:51 Arthur Zamarin
2023-02-09 17:59 Joonas Niilola
2022-11-24  8:10 Joonas Niilola
2022-11-18  7:04 Jakov Smolić
2022-08-31  8:42 Joonas Niilola
2022-08-04  7:12 Joonas Niilola
2022-06-07  7:14 Joonas Niilola
2022-06-07  1:15 Sam James
2022-05-13 20:04 Sam James
2022-03-31 13:36 Joonas Niilola
2022-03-31 13:36 Joonas Niilola
2021-11-22 10:11 Sam James
2021-11-22 10:11 Sam James
2021-10-29 11:16 Sam James
2021-10-21 23:28 Sam James
2021-09-21  7:03 Joonas Niilola
2021-09-21  7:03 Joonas Niilola
2021-09-04  6:26 Joonas Niilola
2021-09-04  6:26 Joonas Niilola
2021-09-03 18:01 Sam James
2021-09-03 18:01 Sam James
2021-07-20 10:25 Joonas Niilola
2021-07-20 10:25 Joonas Niilola
2021-05-30  9:53 Sam James
2021-05-30  9:53 Sam James
2021-03-12 15:17 Joonas Niilola
2021-03-12 15:17 Joonas Niilola
2021-02-18  9:36 Joonas Niilola
2021-02-18  9:36 Joonas Niilola
2020-12-17 13:48 Joonas Niilola
2020-11-16 13:56 Joonas Niilola
2020-11-16 13:56 Joonas Niilola
2020-11-16 13:56 Joonas Niilola
2020-10-12 12:39 Joonas Niilola
2020-10-12 12:39 Joonas Niilola
2020-10-12 12:39 Joonas Niilola
2020-09-16 17:43 Joonas Niilola
2020-09-16 17:43 Joonas Niilola
2020-09-16 17:43 Joonas Niilola
2020-09-16 17:43 Joonas Niilola
2020-08-30  8:18 Joonas Niilola
2020-06-20 20:31 Thomas Deutschmann
2020-04-20 17:34 Michał Górny
2020-04-20 17:34 Michał Górny
2019-12-23 13:08 Lars Wendler
2019-09-25 15:43 Thomas Deutschmann
2019-07-29 11:06 Lars Wendler
2019-04-23  9:13 Lars Wendler
2019-04-17  9:06 Lars Wendler
2019-03-16 12:48 Agostino Sarubbo
2019-03-15  8:39 Lars Wendler
2019-03-12  9:08 Lars Wendler
2019-03-12  9:08 Lars Wendler
2019-01-25 13:11 Lars Wendler
2018-12-11 11:02 Lars Wendler
2018-12-11 10:50 Lars Wendler
2018-12-11 10:50 Lars Wendler
2018-10-22  9:18 Lars Wendler
2018-10-22  9:18 Lars Wendler
2018-09-19 11:54 Lars Wendler
2018-08-23 23:05 Lars Wendler
2018-08-23 23:05 Lars Wendler
2018-06-22 11:01 Lars Wendler
2018-05-22  7:15 Lars Wendler
2018-05-14 10:18 Lars Wendler
2018-05-14 10:18 Lars Wendler
2018-04-10  9:16 Lars Wendler
2018-04-10  9:16 Lars Wendler
2018-03-17 21:01 Lars Wendler
2018-02-14  9:58 Lars Wendler
2018-02-14  9:58 Lars Wendler
2018-01-09 10:19 Andreas Sturmlechner
2018-01-09  0:16 Mikle Kolyada
2017-12-30 22:54 Lars Wendler
2017-12-10 11:38 Andreas Sturmlechner
2017-12-09 23:52 Andreas Sturmlechner
2017-12-09 23:52 Andreas Sturmlechner
2017-11-29 23:38 Lars Wendler
2017-11-24  0:55 Andreas Sturmlechner
2017-11-08  9:04 Lars Wendler
2017-10-30 21:43 Andreas Sturmlechner
2017-09-19 22:13 Lars Wendler
2017-09-19 22:13 Lars Wendler
2017-08-14  7:16 Lars Wendler
2017-08-14  7:16 Lars Wendler
2017-07-20 12:06 Lars Wendler
2017-07-20 12:06 Lars Wendler
2017-06-10 10:18 Lars Wendler
2017-06-10 10:18 Lars Wendler
2017-06-09  1:19 Lars Wendler
2017-05-10 11:41 Lars Wendler
2017-05-10 11:41 Lars Wendler
2017-04-20 13:25 Lars Wendler
2017-04-20 13:25 Lars Wendler
2017-04-07  8:09 Lars Wendler
2017-04-07  8:09 Lars Wendler
2017-03-16  8:42 Lars Wendler
2017-02-24  8:53 Lars Wendler
2017-02-24  8:53 Lars Wendler
2017-01-24  7:22 Lars Wendler
2017-01-24  7:22 Lars Wendler
2016-12-21 14:33 Lars Wendler
2016-12-21 11:28 Tobias Klausmann
2016-12-02 10:05 Lars Wendler
2016-12-02 10:05 Lars Wendler
2016-11-21 15:50 Lars Wendler
2016-11-18 17:26 Lars Wendler
2016-11-07 22:37 Lars Wendler
2016-11-07 22:37 Lars Wendler
2016-10-04 12:46 Lars Wendler
2016-10-04 12:46 Lars Wendler
2016-09-19  9:14 Lars Wendler
2016-08-04  8:02 Lars Wendler
2016-08-04  8:02 Lars Wendler
2016-07-21  9:02 Lars Wendler
2016-07-21  9:02 Lars Wendler
2016-06-02  7:54 Lars Wendler
2016-05-04  6:19 Lars Wendler
2016-05-02 10:25 Lars Wendler
2016-04-07 12:51 Lars Wendler
2016-04-07 12:51 Lars Wendler
2016-04-07 12:51 Lars Wendler
2016-03-09  8:02 Lars Wendler
2016-02-04  7:55 Lars Wendler
2016-02-04  7:55 Lars Wendler
2016-01-25 12:26 Lars Wendler
2016-01-25 12:26 Lars Wendler
2015-12-15 12:40 Lars Wendler
2015-12-15 12:40 Lars Wendler
2015-11-24 12:42 Lars Wendler
2015-11-10  9:00 Lars Wendler
2015-11-10  9:00 Lars Wendler
2015-10-08  9:39 Lars Wendler
2015-10-08  9:39 Lars Wendler
2015-09-17 11:49 Lars Wendler
2015-08-11 17:06 Lars Wendler
2015-08-11 17:06 Lars Wendler

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=1512863519.b87dec3c2c5646b2690bb5c82f4f5736f29c5d01.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