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 E7DD913827E for ; Sun, 8 Dec 2013 17:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BC89E08BD; Sun, 8 Dec 2013 17:39:25 +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 16140E0783 for ; Sun, 8 Dec 2013 17:39:25 +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 EACBC33F374 for ; Sun, 8 Dec 2013 17:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 92A23E55F9 for ; Sun, 8 Dec 2013 17:39:22 +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: <1386524208.898ce1132382259cfc257a5dbc5d84c8d862e168.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/xraylib/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/xraylib/metadata.xml 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: 898ce1132382259cfc257a5dbc5d84c8d862e168 X-VCS-Branch: master Date: Sun, 8 Dec 2013 17:39:22 +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: e4fed5cb-0384-44ef-b5e1-13ae4f5cab7c X-Archives-Hash: 6efe3ee8f022252177bc62799835fee9 commit: 898ce1132382259cfc257a5dbc5d84c8d862e168 Author: Chris Kerr cam ac uk> AuthorDate: Mon Dec 2 22:11:07 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Dec 8 17:36:48 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=898ce113 New ebuild for xraylib --- sci-libs/xraylib/metadata.xml | 38 ++++++++++++++++++++++++++++++++++ sci-libs/xraylib/xraylib-2.16.0.ebuild | 25 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/sci-libs/xraylib/metadata.xml b/sci-libs/xraylib/metadata.xml new file mode 100644 index 0000000..a592314 --- /dev/null +++ b/sci-libs/xraylib/metadata.xml @@ -0,0 +1,38 @@ + + + + sci + + cjk34@cam.ac.uk + + + Quantitative estimate of elemental composition by spectroscopic and imaging + techniques using X-ray fluorescence requires the availability of accurate data + of X-ray interaction with matter. Although a wide number of computer codes + and data sets are reported in literature, none of them is presented in the + form of freely available library functions which can be easily included in + software applications for X-ray fluorescence. This work presents a compilation + of data sets from different published works and an xraylib interface in the + form of callable functions. Although the target applications are on X-ray + fluorescence, cross sections of interactions like photoionization, coherent + scattering and Compton scattering, as well as form factors and anomalous + scattering functions, are also available. + + xraylib provides access to some of the most respected databases of physical + data in the field of x-rays. The core of xraylib is a library, written in ANSI + C, containing over 40 functions to be used to retrieve data from these + databases. This C library can be directly linked with any program written in + C, C++ or Objective-C. Furthermore, the xraylib package contains bindings to + several popular programming languages: Fortran 2003, Perl, Python, Java, IDL, + Lua and .NET, as well as a command-line utility which can be used as a + pocket-calculator. Although not officially supported, xraylib has been + reported to be useable from within Matlab and LabView. + + Reference: T. Schoonjans, A. Brunetti, B. Golosio, M. Sanchez del Rio, + V. A. Solé, C. Ferrero and L. Vincze, "The xraylib library for X-ray--matter + interactions. Recent developments", Spectrochimica Acta B 66 (2011) 776-784 + ( doi: http://dx.doi.org/10.1016/j.sab.2011.09.011 ) + + + + diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild new file mode 100644 index 0000000..e699dff --- /dev/null +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python2_6 python2_7 python3_1 python3_2 python3_3 ) +inherit eutils autotools-utils python-r1 + +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="cxx examples fortran java lua perl python" + +DEPEND="fortran? ( virtual/fortran ) + java? ( virtual/jdk ) + lua? ( dev-lang/lua ) + perl? ( dev-lang/perl ) + ${PYTHON_DEPS}" + +RDEPEND="${DEPEND}"