Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv1856
Added Files:
xraylib-python.info
Log Message:
sync. w/ 10.!4/stable
--- NEW FILE: xraylib-python.info ---
Info2: <<
Package: xraylib-python%type_pkg[python]
Version: 2.15.0
Revision: 2
Type: python (2.6 2.7 3.1)
Description: X-ray fluorescence library (Python interface)
DescDetail: <<
X-ray matter interaction cross sections for X-ray fluorescence applications.
It is a C library with also Python, IDL, PERL and Fortran interfaces.
<<
DescUsage: <<
This package installs an 'xraylib-%type_raw[python]' executable. In addition,
an 'xraylib' excutable is also installed; this is governed by the update-
alternatives system (cf. 'man update-alternatives').
You can see which package is currently providing 'xraylib' by running
update-alternatives --display xraylib-python
<<
Maintainer: Alexander Hansen <[email protected]>
License: BSD
HomePage: http://github.com/tschoonj/xraylib
BuildDepends: swig, fink-package-precedence
Depends: <<
xraylib-shlibs (=%v-%r),
python%type_pkg[python],
python%type_pkg[python]-shlibs
<<
Source: https://github.com/downloads/tschoonj/xraylib/xraylib-%v.tar.gz
Source-MD5: 710d88bd367184cb27850f597374f9ec
PatchScript: perl -pi -e 's|/usr/bin/env
python|%p/bin/python%type_raw[python]|' python/xraylib
UseMaxBuildJobs: false
GCC: 4.0
ConfigureParams: <<
--disable-idl --disable-perl --disable-java \
--disable-fortran2003 --disable-static
<<
CompileScript: <<
#!/bin/sh -ev
export PYTHON=%p/bin/python%type_raw[python]
export PYTHON_VERSION=%type_raw[python]
%{default_script}
fink-package-precedence .
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
make install DESTDIR=%d
rm -rf %i/include
mv %i/bin/xraylib %i/bin/xraylib-%type_raw[python]
rm %i/lib/libxrl.{la,*dylib}
rm -rf %i/lib/pkgconfig
rm -rf %i/share/xraylib
<<
DescPackaging: <<
Patch the "xraylib" executable script to use the right interpreter.
Appears to want to build the whole works, so we do that and then remove stuff
unrelated to the Python bindings.
Use update-alternatives so that we can have the "xraylib" executable and still
allow for multiple pyversions.
<<
DocFiles: AUTHORS BUGS Changelog README TODO
PostInstScript: <<
update-alternatives --verbose --install %p/bin/xraylib xraylib-python
%p/bin/xraylib-%type_raw[python] %type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --verbose --remove xraylib-py
%p/bin/xraylib-%type_raw[python]
fi
<<
#Info2
<<
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs