[SCM] sonnet packaging branch, kubuntu_unstable, updated. debian/5.9.0-1-4-gc3d98a3

Kubuntu CI (Harald Sitter) kubuntu-ci-guest at moszumanska.debian.org
Wed May 20 00:03:53 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/sonnet.git;a=commitdiff;h=0207dc4

The following commit has been merged in the kubuntu_unstable branch:
commit 0207dc4cd093ed79870d1e1af167d2bccd569daf
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sat Jan 24 19:29:32 2015 +0100

    Add basic autopkgtests support.
---
 debian/changelog               |  1 +
 debian/control                 |  1 +
 debian/libkf5sonnet-dev.acc.in | 22 ++++++++++++++++++++++
 debian/tests/acc               | 11 +++++++++++
 debian/tests/control           |  6 ++++++
 debian/tests/testsuite         |  3 +++
 6 files changed, 44 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5337730..ed9e837 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ sonnet (5.6.0-1~) UNRELEASED; urgency=medium
   * Update install files.
   * Update build dependencies to follow cmake.
   * Update copyright information.
+  * Add basic autopkgtests support.
 
  -- Maximiliano Curia <maxy at debian.org>  Sat, 24 Jan 2015 19:09:02 +0100
 
diff --git a/debian/control b/debian/control
index d399edc..8e6855e 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends: cmake (>= 2.8.12),
                qttools5-dev-tools
 Standards-Version: 3.9.6
 Section: libs
+XS-Testsuite: autopkgtest
 Homepage: http://projects.kde.org/sonnet
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/frameworks/attica.git
 Vcs-Git: git://anonscm.debian.org/pkg-kde/frameworks/attica.git
diff --git a/debian/libkf5sonnet-dev.acc.in b/debian/libkf5sonnet-dev.acc.in
new file mode 100644
index 0000000..8b68ca7
--- /dev/null
+++ b/debian/libkf5sonnet-dev.acc.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.1.0
+</version>
+
+<headers>
+    /usr/include/KF5/SonnetCore/
+    /usr/include/KF5/SonnetUi/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5SonnetCore.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5SonnetUi.so
+</libs>
+
+<gcc_options>
+    -fPIC
+</gcc_options>
+
+</descriptor>
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..f8dc629
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+for in_file in debian/*.acc.in; do
+    out_file=${in_file%.in}
+    sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
+        "${in_file}" > "${out_file}"
+done
+
+dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d9b40f1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+# Tests: testsuite
+# Depends: @, @builddeps@, build-essential
+# Restrictions: build-needed
+
+Tests: acc
+Depends: @, dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..dabe645
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_auto_test

-- 
sonnet packaging



More information about the pkg-kde-commits mailing list