From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5FB6913888F for ; Mon, 5 Oct 2015 10:39:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BB5AE083B; Mon, 5 Oct 2015 10:39:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE0C5E083B for ; Mon, 5 Oct 2015 10:39:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6094C340923 for ; Mon, 5 Oct 2015 10:39:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FCFE61A for ; Mon, 5 Oct 2015 10:39:40 +0000 (UTC) From: "Amy Winston" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Winston" Message-ID: <1444041533.a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/bzr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/bzr/bzr-2.6.0.ebuild X-VCS-Directories: dev-vcs/bzr/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Winston X-VCS-Revision: a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22 X-VCS-Branch: master Date: Mon, 5 Oct 2015 10:39:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 908d8358-5fa0-4872-8173-90b3f835b7d1 X-Archives-Hash: 8692cd5315c614b8188a73fd049294b0 commit: a1a389eb5597b75de7ae4c56d2c34d2d0ee31d22 Author: Amy Winston gentoo org> AuthorDate: Mon Oct 5 10:38:53 2015 +0000 Commit: Amy Winston gentoo org> CommitDate: Mon Oct 5 10:38:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a389eb dev-vcs/bzr: Support for linguas added bug #561666. Thanks Jan Vesely for patch. Package-Manager: portage-2.2.20.1 dev-vcs/bzr/bzr-2.6.0.ebuild | 13 +++++++++---- 1 file 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 8a7b39d..6fcb43c 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 }