summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-02-14 10:58:28 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-02-14 10:58:28 +0100
commit6a082aa11976c69a063717d99367092933033005 (patch)
tree4365c138bcc6fb287f3db6a2407ca7d4b8c6cccd /dev-vcs/tortoisehg
parentdev-vcs/tortoisehg: Bump to version 4.5 (diff)
downloadgentoo-6a082aa11976c69a063717d99367092933033005.tar.gz
gentoo-6a082aa11976c69a063717d99367092933033005.tar.bz2
gentoo-6a082aa11976c69a063717d99367092933033005.zip
dev-vcs/tortoisehg: Synced live ebuild.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-vcs/tortoisehg')
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
index 441fed1aec6e..3e6b1f3db8cc 100644
--- a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
+++ b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,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"
+ HG_DEPEND=">=dev-vcs/mercurial-4.4 <dev-vcs/mercurial-4.6"
else
inherit mercurial
EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
@@ -36,12 +36,12 @@ DEPEND="${RDEPEND}
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
- if [[ ${LINGUAS+set} ]]; then
+ if [[ ${L10N+set} ]]; then
cd i18n/tortoisehg || die
local x y keep
for x in *.po; do
keep=false
- for y in ${LINGUAS}; do
+ for y in ${L10N}; do
if [[ ${y} == ${x%.po}* ]]; then
keep=true
break
@@ -68,7 +68,7 @@ python_install_all() {
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 \
+ rm "${ED%/}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
|| die
}