[SCM] qapt packaging branch, experimental, updated. debian/1.4.0-1-68-g36e138e
Maximiliano Curia
maxy at moszumanska.debian.org
Sat Feb 14 08:41:15 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/qapt.git;a=commitdiff;h=7b8176f
The following commit has been merged in the experimental branch:
commit 7b8176fc84249126efeab9dd3e48b76dc00566b2
Author: Maximiliano Curia <maxy at debian.org>
Date: Fri Feb 13 23:52:24 2015 +0100
Add basic autopkgtests support.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libqapt-dev.acc.in | 21 +++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
6 files changed, 43 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index cb34274..8574a71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ libqapt (3.0.0-1~) UNRELEASED; urgency=medium
* Update build dependencies to build against experimental and to
follow cmake.
* Remove patch: remove_tests.diff
+ * Add basic autopkgtests support.
-- Maximiliano Curia <maxy at debian.org> Fri, 13 Feb 2015 22:05:40 +0100
diff --git a/debian/control b/debian/control
index 1dec0d4..308e417 100644
--- a/debian/control
+++ b/debian/control
@@ -32,6 +32,7 @@ Build-Depends: cmake (>= 2.8.12),
qttools5-dev,
qttools5-dev-tools
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: https://projects.kde.org/projects/extragear/sysadmin/libqapt/
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/kde-extras/qapt
Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-extras/qapt.git
diff --git a/debian/libqapt-dev.acc.in b/debian/libqapt-dev.acc.in
new file mode 100644
index 0000000..e20e731
--- /dev/null
+++ b/debian/libqapt-dev.acc.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 3.0.0
+</version>
+
+<headers>
+ /usr/include/QApt/
+ /usr/include/qapt/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libQApt.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
--
qapt packaging
More information about the pkg-kde-commits
mailing list