summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2015-10-05 12:38:53 +0200
committerAmy Winston <amynka@gentoo.org>2015-10-05 12:38:53 +0200
commita1a389eb5597b75de7ae4c56d2c34d2d0ee31d22 (patch)
treef0114bb5e8ddb81d2b9c805f03703d73ec575d3a /dev-vcs
parentsys-apps/cv -> sys-apps/progress: bump version and rename (diff)
downloadgentoo-a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22.tar.gz
gentoo-a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22.tar.bz2
gentoo-a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22.zip
dev-vcs/bzr: Support for linguas added bug #561666. Thanks Jan Vesely for patch.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/bzr/bzr-2.6.0.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-vcs/bzr/bzr-2.6.0.ebuild b/dev-vcs/bzr/bzr-2.6.0.ebuild
index 8a7b39d71d1f..6fcb43cce1ec 100644
--- a/dev-vcs/bzr/bzr-2.6.0.ebuild
+++ b/dev-vcs/bzr/bzr-2.6.0.ebuild
@@ -6,19 +6,20 @@ EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads,ssl,xml"
-inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator
-
MY_P=${PN}-${PV}
-SERIES=$(get_version_component_range 1-2)
DESCRIPTION="Bazaar is a next generation distributed version control system"
HOMEPAGE="http://bazaar-vcs.org/"
-SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
IUSE="curl doc +sftp test"
+PLOCALES="ar ast bs ca cs de el en_AU en_GB es fa fo fr gl he id it ja ko ms my nb nl oc pl pt_BR ro ru sco si sk sr sv tr ug uk vi zh_CN"
+
+inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator l10n
+SERIES=$(get_version_component_range 1-2)
+SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
@@ -37,6 +38,10 @@ S="${WORKDIR}/${MY_P}"
RESTRICT="test"
python_configure_all() {
+ rm_loc() {
+ rm "${S}"/po/$1.po || die
+ }
+ l10n_for_each_disabled_locale_do rm_loc
# Generate the locales first to avoid a race condition.
esetup.py build_mo
}