[Python-modules-commits] [python-fisx] 02/03: first working version

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sat Jun 18 15:45:01 UTC 2016


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

picca pushed a commit to branch master
in repository python-fisx.

commit a289be3bfcb4e5e874666ccff59bee9357ca7bad
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Sat Jun 18 11:03:06 2016 +0200

    first working version
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules         | 21 ++++++++++++++++++
 debian/source/format |  1 +
 5 files changed, 89 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a7a063a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-fisx (1.0.7-1) unstable; urgency=low
+
+  * Initial package (Closes: #xxxxxx)
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Thu, 09 Jun 2016 10:17:18 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..911f430
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: python-fisx
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Picca Frédéric-Emmanuel <picca at debian.org>
+Section: python
+Priority: optional
+Build-Depends: cython,
+	       cython3,
+	       debhelper (>= 9),
+               python-all-dev,
+	       python-numpy,
+	       python-setuptools,
+               python3-all-dev,
+	       python3-numpy,
+               python3-setuptools,
+Standards-Version: 3.9.8
+
+Package: python-fisx
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python:Depends},
+	 python-fisx-common,
+Description: Quantitative X-Ray Fluorescence Analysis Support Library - (Python 2)
+ This software library implements formulas to calculate, given an
+ experimental setup, the expected x-ray fluorescence intensities. The
+ library accounts for secondary and tertiary excitation, K, L and M
+ shell emission lines and de-excitation cascade effects. The basic
+ implementation is written in C++ and a Python binding is provided.
+ .
+ This is the Python 2 version of the package.
+  
+Package: python3-fisx
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+	 python-fisx-common,
+Description: Quantitative X-Ray Fluorescence Analysis Support Library - (Python 3)
+ This software library implements formulas to calculate, given an
+ experimental setup, the expected x-ray fluorescence intensities. The
+ library accounts for secondary and tertiary excitation, K, L and M
+ shell emission lines and de-excitation cascade effects. The basic
+ implementation is written in C++ and a Python binding is provided.
+ .
+ This is the Python 3 version of the package.
+  
+Package: python-fisx-common
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+Description: Quantitative X-Ray Fluorescence Analysis Support Library - (Common) .
+ This is the Python 3 version of the package.
+ This software library implements formulas to calculate, given an
+ experimental setup, the expected x-ray fluorescence intensities. The
+ library accounts for secondary and tertiary excitation, K, L and M
+ shell emission lines and de-excitation cascade effects. The basic
+ implementation is written in C++ and a Python binding is provided.
+ .
+ This is the common files of the package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..16fd8a3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+export WITH_CYTHON=1
+export FISX_DATA_DIR=/usr/share/fisx/
+export PKGCOMMON=$(CURDIR)/debian/python-fisx-common/
+
+export PYBUILD_NAME=fisx
+export PYBUILD_AFTER_INSTALL_python2=dh_numpy ;\
+	rm -rf {destdir}$(FISX_DATA_DIR)
+export PYBUILD_AFTER_INSTALL_python3=dh_numpy3 ;\
+	mkdir -p $(PKGCOMMON)/usr/share ;\
+	mv {destdir}$(FISX_DATA_DIR) $(PKGCOMMON)/usr/share
+
+override_dh_clean:
+	dh_clean
+	rm -rf python/fisx.egg-info/
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+# skip test for now
+override_dh_auto_test:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-fisx.git



More information about the Python-modules-commits mailing list