[cmor] 05/05: * Add experimental python3 support * Add libsz support via libaec-dev * Add Heimdall-gssapi support

Alastair McKinstry mckinstry at moszumanska.debian.org
Sat Jul 29 10:19:26 UTC 2017


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

mckinstry pushed a commit to branch dev-python3
in repository cmor.

commit 5d65b99ac691e8fb228c2d59d9ff7ceb778c7997
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Aug 8 16:51:42 2016 +0100

    * Add experimental python3 support
    * Add libsz support via libaec-dev
    * Add Heimdall-gssapi support
---
 debian/changelog |  8 ++++++++
 debian/control   |  2 ++
 debian/rules     | 11 ++++++-----
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9465c6e..6f2dbb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cmor (2.9.3-2) experimental; urgency=medium
+
+  * Add experimental python3 support
+  * Add libsz support via libaec-dev
+  * Add Heimdall-gssapi support	
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 08 Aug 2016 16:45:37 +0100
+
 cmor (2.9.3-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index a4981c8..c6db76c 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,8 @@ Build-Depends: debhelper (>= 9), dh-buildinfo, libossp-uuid-dev,
  python3-all-dev (>= 2.6.6-3~), python3-setuptools (>= 0.6b3), python3-numpy,
  libgfortran3, automake, gfortran, pkg-config,
  libhdf5-serial-dev | libhdf5-dev,
+ libaec-dev,
+ heimdal-multidev
 Build-Conflicts: libcmor2, python-cmor, python3-cmor
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.6
diff --git a/debian/rules b/debian/rules
index dd77c5e..969d567 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,7 @@ BUILD_ARCH_CPU := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
 NETCDF_LIBS := $(shell pkg-config --libs heimdal-gssapi netcdf libffi)
 
 PYVERS:=$(shell pyversions --supported)
+PY3VERS:=$(shell py3versions --supported)
 DESTDIR:=$(shell pwd)/debian/tmp
 
 export CFLAGS:=-I/usr/include/ossp  -fstack-protector \
@@ -37,12 +38,12 @@ override_dh_auto_configure:
 	autoreconf -fiv
 	ln -sf  /usr/share/misc/config.sub 
 	dh_auto_configure -- --disable-color --enable-verbose-test  --with-uuid --without-python \
-		UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp" SZLIBFLAGS=nosz \
-		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+		UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp" \
+		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" SZLIBFLAGS=" -lsz"
 
 override_dh_auto_clean:
 	rm -rf config.sub config.log config.status libcmor.a libcmor.so.2 build test_grid configure CMIP5
-	rm -f ipcc_test_code Makefile setup.py *.mod compile_line.txt include/cmor_locale.h cmor.pc
+	rm -f ipcc_test_code Makefile setup.py *.mod compile_line.txt include/cmor_locale.h cmor.pc test_unit_cat_unique
 	find . -name '*.nc' -delete
 	find . -name '*.o' -delete
 	find .  -name '*.pic_o' -delete
@@ -67,7 +68,7 @@ endif
 override_dh_auto_install:
 	$(MAKE) install DESTDIR=$(DESTDIR)
 	$(MAKE) install_shlib DESTDIR=$(DESTDIR)
-	for p in $(PYVERS)  ; do \
+	for p in $(PYVERS) $(PY3VERS)  ; do \
 		$$p ./setup.py install  --prefix=$(DESTDIR)/usr --install-layout=deb ; \
 		done
 	dh_install -p libcmor2 libcmor.so.2    $(LIBDIR)
@@ -75,4 +76,4 @@ override_dh_auto_install:
 	dh_install -p libcmor-dev cmor.pc  $(LIBDIR)/pkgconfig
 	dh_link -p libcmor-dev $(LIBDIR)/libcmor.so.2   $(LIBDIR)/libcmor.so
 	dh_numpy
-	# dh_numpy3
+	dh_numpy3

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cmor.git



More information about the debian-science-commits mailing list