[adios] 03/12: Split examples into separate package

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Sep 20 15:17:11 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository adios.

commit bf93db5915cc046ed46cd977aaca402c0e0d20d2
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Aug 3 08:29:55 2017 +0100

    Split examples into separate package
---
 debian/changelog                                          |  3 ++-
 debian/control                                            | 15 ++++++++++++++-
 .../{libadios-dev.examples => libadios-examples.examples} |  0
 debian/rules                                              |  8 ++++----
 4 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4fb043e..8d04b6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ adios (1.12.0-1) UNRELEASED; urgency=medium
   * New upstream release
   * Add gdb.conf file
   * Typo in rules: make sure builds for all py3 versions
-  * Drop redundant dh-autoreconf, autotools-dev build-depends
+  * Drop redundant dh-autoreconf  build-depends
   * Fix executable perms typo
+  * Split examples into separate package (40+MB of Arch: all)
 
  -- Alastair McKinstry <mckinstry at debian.org>  Tue, 18 Jul 2017 13:21:14 +0100
 
diff --git a/debian/control b/debian/control
index 5331e22..3fa7ec8 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 10),
   libnetcdf-dev, 
   gfortran, libmxml-dev, 
   mpi-default-dev, pkg-config,
-  cmake, libbz2-dev, zlib1g-dev, autotools-dev,
+  cmake, libbz2-dev, zlib1g-dev, 
   libibverbs-dev [ !hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
   python-dev, python-numpy, python-mpi4py, cython, dh-python,
   python3-all-dev, python3-numpy, python3-mpi4py, cython3,
@@ -33,6 +33,19 @@ Description: ADIOS Adaptable IO system for simulations
  how you wish to process them this run, the routines in the host code
  (either Fortran or C) can transparently change how they process the data.
 
+Package: libadios-examples
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libadios-dev
+Description: Examples for the ADIOS Adaptable IO system
+ The Adaptable IO System (ADIOS) provides a simple, flexible way for scientists
+ to describe the data in their code that may need to be written, read,
+ or processed outside of the running simulation. By providing an external
+ to the code XML file describing the various elements, their types, and
+ how you wish to process them this run, the routines in the host code
+ (either Fortran or C) can transparently change how they process the data.
+
+
 Package: libadios-bin
 Depends:  ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
 Architecture: any
diff --git a/debian/libadios-dev.examples b/debian/libadios-examples.examples
similarity index 100%
rename from debian/libadios-dev.examples
rename to debian/libadios-examples.examples
diff --git a/debian/rules b/debian/rules
index 8b35ad5..6fa5739 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,7 @@ export PATH:=$(TOP):$(PATH)
 
 # magic debhelper rule
 %:
-	dh $@ --with autotools_dev,python2,python3
+	dh $@ --with python2,python3
 
 override_dh_auto_clean:
 	dh_clean
@@ -114,15 +114,15 @@ override_dh_auto_install:
 	mv $(BINDIR)/skel_cat.py $(BINDIR)/skel_cat
 	mv $(BINDIR)/skel_extract.py $(BINDIR)/skel_extract
 	cp debian/adios_config $(BINDIR)/adios_config
-	# mv $(DESTDIR)/bin/xmlparser.py $(DESTDIR)/bin/xmlparser
+	rm -rf debian/libadios-examples/usr/share/doc/libadios-dev/examples/C/attributes/.libs
 
 override_dh_auto_test:
 	$(DO_TEST) && $(MAKE) check || echo "Tests disabled on bigendian systems for the moment"
 
 override_dh_installexamples:
 	dh_installexamples
-	find debian/libadios-dev/usr/share/doc/libadios-dev/examples -name '*.o' -delete 
-	find debian/libadios-dev/usr/share/doc/libadios-dev/examples/C -type f -exec chmod -x {} \;
+	find debian/libadios-dev/usr/share/doc/libadios-examples/examples -name '*.o' -delete 
+	find debian/libadios-dev/usr/share/doc/libadios-exampples/examples/C -type f -exec chmod -x {} \;
 
 override_dh_fixperms:
 	dh_fixperms

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



More information about the debian-science-commits mailing list