mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-vcs/tortoisehg: Bump to version 4.8
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST tortoisehg-4.5.3.tar.gz 7929645 BLAKE2B 95b867f372d636ed84eda918a707e24f4b1
|
||||
DIST tortoisehg-4.6.1.tar.gz 7947844 BLAKE2B 68d0e8672febb9bfdca763e77cbaff8de79c2de79b61e0096c3ef7370cf9d9287a5fd65fbe3c262e13f185bcf5e384ece5d8365979bc05188e74ccfb49f43543 SHA512 adf5ebfc7a76843b62f66feddfde42c0f915c970a951e037f082ee4a6b393822b023f116dc650d5242838d006dc572235a4089c3805929727435588c24ded480
|
||||
DIST tortoisehg-4.7.1.tar.gz 7948085 BLAKE2B 7f92ef6fc68b7535905c0b4e172a00eb94ac720fc35175d47fedcf78783fa7c1430562af3ad2dbe43a894233acd5a8160c2a730b9281af1bbe4d3d1ed4513f3d SHA512 f163efb886001288156276ccec97e3759eeb699a2b24f5579bd47809a262881fb585f846157f35a72c35e5b5ef0a42ef899b20d21b7b75b6e92cfdf34e993418
|
||||
DIST tortoisehg-4.7.2.tar.gz 7948303 BLAKE2B 9439b86cfd004aa78fc39941cee005b3fe7fcf3a7a5d5dab4c0e0ac12477338000f07105fd7ee6c67def731f406313280acb6af7d5f1d70c51331d7339b21038 SHA512 d4d3c2bb097d12f69594d25c0029bf347f6aee7e4eb3fdecf3d49f3c679b11112376410a87733bb5e29ffdef2c6837e47f7af18121cb5b14ccef22f27a55ebfe
|
||||
DIST tortoisehg-4.8.tar.gz 7948435 BLAKE2B c6435bc3f60c03fd08a1167865ca6d08e2ca1dfa69c3d35f68f3eb8d1e229111a726d4716685a71a2efd935e53c12cee2a566171d92f646fccd5b96098381463 SHA512 3d847c6c34d79fc2557319b6efb578873eb5588b90b10bfc0b08aef95b209498887224f4bc9e914c7065d9b8f1fe7340ccd3b1de841b82dfc1b4ead51a5bbb18
|
||||
|
||||
79
dev-vcs/tortoisehg/tortoisehg-4.8.ebuild
Normal file
79
dev-vcs/tortoisehg/tortoisehg-4.8.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit desktop distutils-r1
|
||||
|
||||
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.7 <dev-vcs/mercurial-4.9"
|
||||
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[network,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 [[ ${L10N+set} ]]; then
|
||||
cd i18n/tortoisehg || die
|
||||
local x y keep
|
||||
for x in *.po; do
|
||||
keep=false
|
||||
for y in ${L10N}; 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."
|
||||
}
|
||||
Reference in New Issue
Block a user