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 15B97138EF4 for ; Sat, 22 Feb 2014 14:56:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF981E0CF8; Sat, 22 Feb 2014 14:56:05 +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 8A558E0CF8 for ; Sat, 22 Feb 2014 14:56:05 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFE7533F883 for ; Sat, 22 Feb 2014 14:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id BF3CE188D6 for ; Sat, 22 Feb 2014 14:56:01 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1393080216.451b9c4a86e0ebcb13e6333900178c59e40393d6.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: / X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay-9999.ebuild X-VCS-Directories: / X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 451b9c4a86e0ebcb13e6333900178c59e40393d6 X-VCS-Branch: master Date: Sat, 22 Feb 2014 14:56:01 +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: 5f28387b-c9f8-450c-b79a-9d924b39ebc2 X-Archives-Hash: 09db79c54f056cf71d9ea301124a39c5 commit: 451b9c4a86e0ebcb13e6333900178c59e40393d6 Author: André Erdmann mailerd de> AuthorDate: Sat Feb 22 14:35:45 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Sat Feb 22 14:43:36 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=451b9c4a roverlay-9999.ebuild: compression USE flags * bzip2 renamed to compress-config * the (new) xz flag can be selected to have guaranteed runtime support for xz --- roverlay-9999.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/roverlay-9999.ebuild b/roverlay-9999.ebuild index db24ce6..abe6b6a 100644 --- a/roverlay-9999.ebuild +++ b/roverlay-9999.ebuild @@ -22,18 +22,18 @@ SRC_URI="" LICENSE="GPL-2+" SLOT="0" KEYWORDS="" -IUSE="bzip2 +prebuilt-documentation" - +IUSE="compress-config xz +prebuilt-documentation" DEPEND=" dev-python/setuptools - !prebuilt-documentation? ( >=dev-python/docutils-0.9 )" + !prebuilt-documentation? ( >=dev-python/docutils-0.9 ) + compress-config? ( app-arch/bzip2 )" RDEPEND=" sys-apps/portage virtual/python-argparse dev-python/mako[${PYTHON_USEDEP}] - virtual/python-futures" - + xz? ( $(python_gen_cond_dep dev-python/backports-lzma[${PYTHON_USEDEP}] python{2_7,3_2}) ) + virtual/python-futures[${PYTHON_USEDEP}]" pkg_setup() { enewgroup roverlay @@ -41,9 +41,9 @@ pkg_setup() { python_prepare_all() { distutils-r1_python_prepare_all - if use bzip2; then - einfo "USE=bzip2: Compressing dependency rules and license map" - emake BUILDDIR="${S}/compressed" compress-config + if use compress-config; then + einfo "Compressing dependency rules and license map" + emake X_COMPRESS=bzip2 BUILDDIR="${S}/compressed" compress-config fi } @@ -55,7 +55,7 @@ python_install_all() { distutils-r1_python_install_all emake BUILDDIR="${S}/compressed" DESTDIR="${D}" \ - install-data $(usex bzip2 install-config{-compressed,}) + install-data $(usex compress-config install-config{-compressed,}) # could be done in the Makefile as well dobin "${S}/bin/install/${PN}-setup-interactive"