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 059551381F3 for ; Sun, 7 Jul 2013 17:54:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2291E096D; Sun, 7 Jul 2013 17:54:48 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1www.kph.uni-mainz.de [134.93.134.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5764E086D for ; Sun, 7 Jul 2013 17:54:47 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id r67Hshi9011129 for ; Sun, 7 Jul 2013 19:54:43 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.6/8.14.2) with ESMTP id r67Hsh6J018450; Sun, 7 Jul 2013 19:54:43 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.6/8.14.6/Submit) id r67Hsglb018446; Sun, 7 Jul 2013 19:54:42 +0200 Message-ID: <20953.43874.717115.522927@a1i15.kph.uni-mainz.de> Date: Sun, 7 Jul 2013 19:54:42 +0200 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Update for bzr.eclass X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="pgp+signed+4kYGHlSNkLMbSiH"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 8f851a1e-84e0-4e7d-be13-cbd59d9a2129 X-Archives-Hash: d2b0826112ed5134eb974f3899f1b6c0 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+4kYGHlSNkLMbSiH Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, Find below a small update for bzr.eclass. Sometimes it is convenient to unpack the sources in a location different from ${WORKDIR}/${P}. The patch makes this configurable via a new EBZR_UNPACK_DIR variable. The default location doesn't change, so there should be no issues with backwards compatibility. Please review. Ulrich --- bzr.eclass 18 Sep 2012 06:41:45 -0000 1.19 +++ bzr.eclass 7 Jul 2013 17:47:06 -0000 @@ -41,6 +41,11 @@ # The directory to store all fetched Bazaar live sources. : ${EBZR_STORE_DIR:=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/bzr-src} +# @ECLASS-VARIABLE: EBZR_UNPACK_DIR +# @DESCRIPTION: +# The working directory where the sources are copied to. +: ${EBZR_UNPACK_DIR:=${WORKDIR}/${P}} + # @ECLASS-VARIABLE: EBZR_INIT_REPO_CMD # @DESCRIPTION: # The Bazaar command to initialise a shared repository. @@ -261,13 +266,14 @@ if [[ -n ${EBZR_WORKDIR_CHECKOUT} ]]; then einfo "checking out ..." ${EBZR_CHECKOUT_CMD} ${EBZR_REVISION:+-r ${EBZR_REVISION}} \ - . "${WORKDIR}/${P}" || die "${EBZR}: checkout failed" + . "${EBZR_UNPACK_DIR}" || die "${EBZR}: checkout failed" else einfo "exporting ..." ${EBZR_EXPORT_CMD} ${EBZR_REVISION:+-r ${EBZR_REVISION}} \ - "${WORKDIR}/${P}" . || die "${EBZR}: export failed" + "${EBZR_UNPACK_DIR}" . || die "${EBZR}: export failed" fi - einfo "revision ${EBZR_REVISION:-${EBZR_REVNO}} is now in ${WORKDIR}/${P}" + einfo \ + "revision ${EBZR_REVISION:-${EBZR_REVNO}} is now in ${EBZR_UNPACK_DIR}" popd > /dev/null } --pgp+signed+4kYGHlSNkLMbSiH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBCAAGBQJR2atDAAoJEMMJBoUcYcJzIZUIAMKdeBgoO7hXH4eCF1ABi7e5 dSbhLDKmNB6Muxt0B7UOhaeRTPcHzabf78G14HEOZqM2yZ/GWLh5Hnnp2t1RP1ge 7eSUvGvrRcEb2fXtaSXwcwGax04nMqNSUFcevQT6dENJ3c9GkEaCkFxZ9aeNIR2c LVOgsMYCvBDgZnDQx3exVfHYJAjq3f66frrIsaJ5VJDjParmGnu1YqLnPY8rTej8 VwKzFo3X+JT1myw5UNwatsBCaCkRvnJPPPIoPXPBixIThCZ8bOApjfa5tdJcbA+K fee7EcsvJW1qFlpHjPfZYyzkYB674WPxlLoZZBgdKhBwg7ioxe4BvuxiYNl4rVI= =GBRc -----END PGP SIGNATURE----- --pgp+signed+4kYGHlSNkLMbSiH--