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 B3E6B13827E for ; Sun, 8 Dec 2013 17:39:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE691E09F1; Sun, 8 Dec 2013 17:39:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F1E4E09DB for ; Sun, 8 Dec 2013 17:39:31 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 366CD33F4E6 for ; Sun, 8 Dec 2013 17:39:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E095EE55FB for ; Sun, 8 Dec 2013 17:39:28 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1386524335.65612af58882422ded6d33d10d350d227a80ab13.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/xraylib/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/xraylib/ChangeLog sci-libs/xraylib/xraylib-2.16.0.ebuild X-VCS-Directories: sci-libs/xraylib/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 65612af58882422ded6d33d10d350d227a80ab13 X-VCS-Branch: master Date: Sun, 8 Dec 2013 17:39:28 +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: 0e795d78-4895-41f3-998a-fc18d6e96952 X-Archives-Hash: e05f7cd766b0044f189983733d8530bb commit: 65612af58882422ded6d33d10d350d227a80ab13 Author: Justin Lecher gentoo org> AuthorDate: Sun Dec 8 17:38:55 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Dec 8 17:38:55 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=65612af5 sci-libs/xraylib: Make python stuff optional under USE=python Package-Manager: portage-2.2.7 --- sci-libs/xraylib/ChangeLog | 7 +++++++ sci-libs/xraylib/xraylib-2.16.0.ebuild | 10 ++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/sci-libs/xraylib/ChangeLog b/sci-libs/xraylib/ChangeLog new file mode 100644 index 0000000..0698f69 --- /dev/null +++ b/sci-libs/xraylib/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for sci-libs/xraylib +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Dec 2013; Justin Lecher xraylib-2.16.0.ebuild: + Make python stuff optional under USE=python + diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild index 3d27552..4db465b 100644 --- a/sci-libs/xraylib/xraylib-2.16.0.ebuild +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -8,6 +8,7 @@ AUTOTOOLS_AUTORECONF=true FORTRAN_NEEDED=fortran FORTRAN_STANDARD=2003 PYTHON_COMPAT=( python{2_6,2_7} ) # python 3 supported by github master + inherit eutils autotools-utils python-single-r1 java-pkg-opt-2 fortran-2 DESCRIPTION="A library for X-ray matter interaction cross sections for X-ray fluorescence applications" @@ -21,10 +22,11 @@ IUSE="examples fortran java lua perl python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RDEPEND="${PYTHON_DEPS} +RDEPEND=" java? ( >=virtual/jre-1.4 ) lua? ( dev-lang/lua ) - perl? ( dev-lang/perl )" + perl? ( dev-lang/perl ) + python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND} java? ( >=virtual/jdk-1.4 )" @@ -36,7 +38,7 @@ DOCS=(AUTHORS BUGS Changelog README TODO) pkg_setup() { fortran-2_pkg_setup java-pkg-opt-2_pkg_setup - python-single-r1_pkg_setup + use python && python-single-r1_pkg_setup } src_prepare() { @@ -79,4 +81,4 @@ src_install() { fi use java && java-pkg_regso /usr/share/xraylib/java/libxraylib.so -} \ No newline at end of file +}