diff options
author | 2023-05-02 14:13:58 +0200 | |
---|---|---|
committer | 2023-05-02 14:15:28 +0200 | |
commit | 9ad770ea7b691cdf9d1f2338d807c564fdbc085b (patch) | |
tree | d685e75a58573b46a339efef67802426c66f358c /sci-libs | |
parent | sci-libs/spams-python: treeclean (diff) | |
download | sci-9ad770ea7b691cdf9d1f2338d807c564fdbc085b.tar.gz sci-9ad770ea7b691cdf9d1f2338d807c564fdbc085b.tar.bz2 sci-9ad770ea7b691cdf9d1f2338d807c564fdbc085b.zip |
sci-libs/xraylib: treeclean
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/xraylib/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/xraylib/metadata.xml | 42 | ||||
-rw-r--r-- | sci-libs/xraylib/xraylib-4.0.0.ebuild | 96 |
3 files changed, 0 insertions, 139 deletions
diff --git a/sci-libs/xraylib/Manifest b/sci-libs/xraylib/Manifest deleted file mode 100644 index 9ca464e07..000000000 --- a/sci-libs/xraylib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xraylib-4.0.0.tar.gz 7844625 BLAKE2B 3db521e15147d9bae4ce8aa08c488460a57233143df2b71518fddffdcf14de34b44ffde0262ad44bcddd39fa067badc304d341d841e0beedee99d36a46cd364f SHA512 ce5cc0d628d397921e10a812251c21a159f529165589b9408fa43112024cd44f3c7fe710a4f1fc51778645850896a23ea32fddbda21ebeebf9e53eefaf1e5b29 diff --git a/sci-libs/xraylib/metadata.xml b/sci-libs/xraylib/metadata.xml deleted file mode 100644 index a7d2f91fb..000000000 --- a/sci-libs/xraylib/metadata.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>cjk34@cam.ac.uk</email> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -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 ) -</longdescription> - <upstream> - <remote-id type="github">tschoonj/xraylib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/xraylib/xraylib-4.0.0.ebuild b/sci-libs/xraylib/xraylib-4.0.0.ebuild deleted file mode 100644 index 6dfde6dae..000000000 --- a/sci-libs/xraylib/xraylib-4.0.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -AUTOTOOLS_AUTORECONF=true -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=2003 -PYTHON_COMPAT=( python3_{7,8,9} ) # python 3 supported by github master -LUA_COMPAT=( lua5-{1..3} ) -USE_RUBY="ruby27 ruby30" - -inherit python-single-r1 lua-single ruby-single java-pkg-opt-2 fortran-2 - -DESCRIPTION="X-ray matter interaction cross sections for X-ray fluorescence library" -HOMEPAGE="https://github.com/tschoonj/xraylib" -SRC_URI="http://lvserver.ugent.be/xraylib/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -#IUSE="examples fortran java lua perl python" -# jave now uses the gradle build system which is not supported by portage -IUSE="examples fortran lua perl php python ruby" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - lua? ( ${LUA_REQUIRED_USE} ) -" - -RDEPEND=" - lua? ( ${LUA_DEPS} ) - perl? ( dev-lang/perl ) - php? ( <dev-lang/php-8:* ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep \ - 'dev-python/numpy[${PYTHON_USEDEP}]' - ) - ) - ruby? ( ${RUBY_DEPS} ) -" # java? ( >=virtual/jre-1.7:* ) - -DEPEND="${RDEPEND}" -# java? ( >=virtual/jdk-1.7:* ) - -DOCS=( AUTHORS Changelog README TODO ) - -pkg_setup() { - fortran-2_pkg_setup - java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup -} - -src_configure() { - econf \ - --disable-idl \ - $(use_enable fortran fortran2003) \ - $(use_enable lua) \ - $(use_enable perl) \ - $(use_enable perl perl-integration) \ - $(use_enable php) \ - $(use_enable php php-integration) \ - $(use_enable python) \ - $(use_enable python python-integration) \ - $(use_enable python python-numpy) \ - $(use_enable ruby) \ - $(use_enable ruby ruby-integration) \ - # $(use_enable java) -} - -src_test() { - # see https://github.com/tschoonj/xraylib/issues/11 - emake -j1 check -} - -src_install() { - default - use python && python_optimize - - if use examples; then - docinto /usr/share/doc/${PF}/examples - dodoc example/*.c example/*.cpp - use fortran && dodoc example/*.f90 - use lua && dodoc example/*.lua - use perl && dodoc example/*.pl - use php && dodoc example/*.php - use python && dodoc example/*.py - use ruby && dodoc example/*.rb - # use java && dodoc example/*.java - docompress -x /usr/share/doc/${PF}/examples # Don't compress examples - fi - - # use java && java-pkg_regso /usr/share/xraylib/java/libxraylib.so -} |