This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libxray-absorption-perl.

commit 9d309c3a44bf62a8e31e761a2604750e00c81244
Author: Carlo Segre <se...@debian.org>
Date:   Sat Mar 7 15:30:29 2009 -0600

    Imported Debian patch 2.0.1-2
---
 debian/changelog              | 19 ++++++++++
 debian/compat                 |  1 +
 debian/control                | 26 ++++++++++++++
 debian/copyright              | 17 +++++++++
 debian/dirs                   |  1 +
 debian/rules                  | 83 +++++++++++++++++++++++++++++++++++++++++++
 lib/Xray/FluorescenceEXAFS.pm | 10 +++---
 7 files changed, 152 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a559bcb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+libxray-absorption-perl (2.0.1-2) unstable; urgency=low
+
+  * Add Replaces stanza to enable upgrade from old horae
+  * Remove data/xcom which is not used and has a restrictive license
+
+ -- Carlo Segre <se...@debian.org>  Sat, 07 Mar 2009 15:30:29 -0600
+
+libxray-absorption-perl (2.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #517945)
+
+ -- Carlo Segre <se...@debian.org>  Mon, 02 Mar 2009 20:56:52 -0600
+
+libxray-absorption-perl (2.0.0-1) unstable; urgency=low
+
+  * Initial unofficial release
+
+ -- Carlo Segre <se...@debian.org>  Sat, 26 Jul 2008 21:19:13 -0500
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ff4f816
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: libxray-absorption-perl
+Section: perl
+Priority: optional
+Maintainer: Carlo Segre <se...@debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl (>= 5.8.8), libchemistry-elements-perl,
+       libmath-spline-perl, libstorable-perl, libstatistics-descriptive-perl,
+       libreadonly-perl
+Standards-Version: 3.8.0
+Homepage: http://cars9.uchicago.edu/~ravel/software/
+
+Package: libxray-absorption-perl
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libchemistry-elements-perl,
+       libmath-spline-perl, libstorable-perl, libstatistics-descriptive-perl,
+       libreadonly-perl
+Replaces: horae (<< 067)
+Homepage: http://cars9.uchicago.edu/~ravel/software/
+Description: x-ray absorption data for the elements
+ This module supports access to X-ray absorption data.  It is designed
+ to be a transparent interface to absorption data from a variety of
+ sources.  Currently, the only sources of data are the 1969 McMaster
+ tables, the 1999 Elam tables, the 1993 Henke tables, and the 1995
+ Chantler tables.  The Brennan-Cowen implementation of the
+ Cromer-Liberman tables is available as a drop-on-top addition to this
+ package.  More resources can be added easily.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..534aa79
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Carlo Segre <se...@debian.org> on
+Sat, 26 Jul 2008 21:19:13 -0500.
+
+It was downloaded from http://cars9.uchicago.edu/svn/libperlxray
+
+Upstream Author: Bruce Ravel <bra...@bnl.gov>
+
+Copyright (c) 1999-2008 Bruce Ravel
+
+License: 
+
+All rights reserved. This program is free software; you can 
+redistribute it and/or modify it under the same terms as Perl
+itself, see `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2008, Carlo Segre <se...@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..dd222db
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0cddc83
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for perl packages 
+# using the Module::Build system.  It was written by Carlo Segre and 
+# may be freely used.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Uncomment if patches required
+#include /usr/share/quilt/quilt.make
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+
+# Use "build-stamp: $(QUILT_STAMPFN)" if patches required
+build-stamp:
+       dh_testdir
+
+       # Generate the Build script and run it
+       $(PERL) Build.PL destdir=$(TMP)
+       ./Build build
+       ./Build test
+       touch $@
+
+# Use "clean: unpatch" if patches required
+clean:
+       dh_testdir
+       dh_testroot
+
+       dh_clean build-stamp install-stamp
+
+       # Clean up all directories and the Build script
+       [ ! -f Build ] || ./Build realclean
+
+install: install-stamp
+install-stamp: build-stamp
+       dh_testdir
+       dh_testroot
+       dh_prep
+
+       # Install package in temporary directory
+       ./Build install --installdirs vendor
+       # remove .packlist
+       rm -rf $(TMP)/usr/lib/perl5/auto
+       # remove empty dirs if they exist
+       [ ! -d $(TMP)/usr/bin ] || rmdir --parents --ignore-fail-on-non-empty 
--verbose $(TMP)/usr/bin
+       [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --parents 
--ignore-fail-on-non-empty --verbose $(TMP)/usr/lib/perl5
+
+       touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-dependent package
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installexamples
+       dh_installdocs
+       dh_installchangelogs
+       dh_perl
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+source diff:
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/lib/Xray/FluorescenceEXAFS.pm b/lib/Xray/FluorescenceEXAFS.pm
index 4c767de..6f7c51b 100644
--- a/lib/Xray/FluorescenceEXAFS.pm
+++ b/lib/Xray/FluorescenceEXAFS.pm
@@ -1,5 +1,5 @@
 package Xray::FluorescenceEXAFS;
-##  This module is copyright (c) 1998-2009 Bruce Ravel
+##  This module is copyright (c) 1998-2008 Bruce Ravel
 ##  <bravel AT bnl DOT gov>
 ##  http://cars9.uchicago.edu/~ravel/software/
 
@@ -208,7 +208,7 @@ __END__
 
 =head1 NAME
 
-Ifeffit::Demeter::FluorescenceEXAFS - Corrections for fluorescence EXAFS data
+Ifeffit::Demeter::Fluorescence - Corrections for fluorescence EXAFS data
 
 =head1 DESCRIPTION
 
@@ -229,7 +229,7 @@ resource used.  See L<Xray::Absorption>.
 This is called C<mcmaster> for historical reasons.  It calculates the
 normalization correcion for a given element.
 
-  $sigma_mm = Xray::FluorescenceEXAFS->mcmaster($element, $edge);
+  $sigma_mm = Xray::Fluorescence->mcmaster($element, $edge);
 
 It takes the central atoms tag and the alphanumeric edge symbol as
 arguments and returns the normalization correction in units of
@@ -243,7 +243,7 @@ This calculates the correcion due to the I0 fill gases in a
 fluorescence experiment.
 
   $gases = {nitrogen=>$nitrogen, argon=>$argon, krypton=>$krypton};
-  $sigma_i0 = Xray::FluorescenceEXAFS->i_zero($central, $edge, $gases);
+  $sigma_i0 = Xray::Fluorescence->i_zero($central, $edge, $gases);
 
 It takes the central atoms tag, the alphanumeric edge symbol, and a
 reference to a hash containing the volume percentages of the three
@@ -260,7 +260,7 @@ experiment.  It assumes that the sample is infinately thick 
and that
 the entry and exit angles of the photons are the same.
 
   $contents = {Y=>1, Ba=>2, Cu=>3, O=>7};
-  ($amp_i0, $sigma_i0) = Xray::FluorescenceEXAFS->self($central, $edge, 
$contents);
+  ($amp_i0, $sigma_i0) = Xray::Fluorescence->self($central, $edge, $contents);
 
 It takes the central atoms tag, the alphanumeric edge symbol, and a
 reference to a hash which counts the atoms in the unit cell.  It

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libxray-absorption-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to