From: "Guillaume Horel" <guillaume.horel@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/xraylib/
Date: Fri, 3 Apr 2015 17:53:53 +0000 (UTC) [thread overview]
Message-ID: <1428053710.21eb13f57a09f44f4dba44aae4c495e850bd0b31.guillaume_horel@gentoo> (raw)
commit: 21eb13f57a09f44f4dba44aae4c495e850bd0b31
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Apr 3 09:35:10 2015 +0000
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Fri Apr 3 09:35:10 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=21eb13f5
sci-libs/xraylib: Version bump, fixes Bug 538232
Package-Manager: portage-2.2.14
sci-libs/xraylib/ChangeLog | 8 +++-
sci-libs/xraylib/xraylib-3.1.0.ebuild | 84 +++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 2 deletions(-)
diff --git a/sci-libs/xraylib/ChangeLog b/sci-libs/xraylib/ChangeLog
index 0698f69..d29b543 100644
--- a/sci-libs/xraylib/ChangeLog
+++ b/sci-libs/xraylib/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-libs/xraylib
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*xraylib-3.1.0 (03 Apr 2015)
+
+ 03 Apr 2015; Marius Brehler <marbre@linux.sungazer.de> +xraylib-3.1.0.ebuild:
+ Version bump, fixes Bug 538232
+
08 Dec 2013; Justin Lecher <jlec@gentoo.org> xraylib-2.16.0.ebuild:
Make python stuff optional under USE=python
-
diff --git a/sci-libs/xraylib/xraylib-3.1.0.ebuild b/sci-libs/xraylib/xraylib-3.1.0.ebuild
new file mode 100644
index 0000000..e899018
--- /dev/null
+++ b/sci-libs/xraylib/xraylib-3.1.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+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"
+HOMEPAGE="https://github.com/tschoonj/xraylib"
+SRC_URI="https://github.com/tschoonj/xraylib/archive/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples fortran java lua perl python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ java? ( >=virtual/jre-1.4 )
+ lua? ( dev-lang/lua )
+ perl? ( dev-lang/perl )
+ python? ( ${PYTHON_DEPS} )"
+
+DEPEND="${RDEPEND}
+ java? ( >=virtual/jdk-1.4 )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+DOCS=(AUTHORS BUGS Changelog README TODO)
+
+pkg_setup() {
+ fortran-2_pkg_setup
+ java-pkg-opt-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ java-pkg-opt-2_src_prepare
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-idl
+ $(use_enable fortran fortran2003)
+ $(use_enable java)
+ $(use_enable lua)
+ $(use_enable perl)
+ $(use_enable python)
+ $(use_enable python python-integration)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ # see https://github.com/tschoonj/xraylib/issues/11
+ if use fortran || use java; then
+ MAKEOPTS+=" -j1"
+ fi
+ autotools-utils_src_compile
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins example/*.c example/*.cpp
+ use java && doins example/*.java
+ use lua && doins example/*.lua
+ use perl && doins example/*.pl
+ use python && doins example/*.py
+ docompress -x /usr/share/doc/${PF}/examples # Don't compress examples
+ fi
+
+ use java && java-pkg_regso /usr/share/xraylib/java/libxraylib.so
+}
next reply other threads:[~2015-04-03 17:54 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 17:53 Guillaume Horel [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-02 12:15 [gentoo-commits] proj/sci:master commit in: sci-libs/xraylib/ Andrew Ammerlaan
2021-01-29 21:51 Andrew Ammerlaan
2021-01-29 21:49 Andrew Ammerlaan
2021-01-29 21:41 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2015-11-30 10:58 Justin Lecher
2015-06-05 11:20 Justin Lecher
2015-06-05 11:20 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
2013-12-08 17:39 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428053710.21eb13f57a09f44f4dba44aae4c495e850bd0b31.guillaume_horel@gentoo \
--to=guillaume.horel@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox