diff options
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-9999.ebuild | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild index 6f0201707268..fd6e1dce5cd4 100644 --- a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild +++ b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild @@ -4,18 +4,18 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit desktop distutils-r1 +inherit desktop distutils-r1 xdg-utils if [[ ${PV} != *9999* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" - SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz" - HG_DEPEND=" >=dev-vcs/mercurial-5.3.1 - <dev-vcs/mercurial-5.4" + KEYWORDS="~amd64 ~arm64 ~x86" + SRC_URI="https://www.mercurial-scm.org/release/tortoisehg/targz/${P}.tar.gz" + HG_DEPEND=">=dev-vcs/mercurial-5.4 + <dev-vcs/mercurial-5.6" else inherit mercurial - EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg" + EHG_REPO_URI="https://foss.heptapod.net/mercurial/tortoisehg/thg" EHG_REVISION="stable" - HG_DEPEND="dev-vcs/mercurial" + HG_DEPEND=">=dev-vcs/mercurial-5.4" fi DESCRIPTION="Set of graphical tools for Mercurial" @@ -23,17 +23,17 @@ HOMEPAGE="https://tortoisehg.bitbucket.io/" LICENSE="GPL-2" SLOT="0" -IUSE="doc" -distutils_enable_sphinx html - -RDEPEND="${HG_DEPEND} +RDEPEND=" + ${HG_DEPEND} dev-python/iniparse[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] - dev-python/PyQt5[network,svg,${PYTHON_USEDEP}] + dev-python/PyQt5:=[network,svg,${PYTHON_USEDEP}] >=dev-python/qscintilla-python-2.9.4:=[qt5(+),${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" +distutils_enable_sphinx doc/source + python_prepare_all() { # Remove file that collides with >=mercurial-4.0 (bug #599266). rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py" @@ -48,7 +48,12 @@ python_install_all() { } pkg_postinst() { + xdg_icon_cache_update 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." } + +pkg_postrm() { + xdg_icon_cache_update +} |