[SCM] kparts packaging branch, kubuntu_wily_archive, updated. debian/5.9.0-1-3-g73a3f33
Jonathan Riddell
jriddell-guest at moszumanska.debian.org
Tue May 19 13:00:33 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kparts.git;a=commitdiff;h=629a2b2
The following commit has been merged in the kubuntu_wily_archive branch:
commit 629a2b245cd640249379bb3768b70d0d0aa20955
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Tue Feb 3 16:24:08 2015 +0100
Add basic autopkgtests support.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libkf5parts-dev.acc.in | 20 ++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
6 files changed, 42 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 78f9b6d..a53e455 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ kparts (5.6.0-1~) UNRELEASED; urgency=medium
* Update build dependencies to build against experimental and to
follow cmake.
* Bump Standards-Version to 3.9.6, no changes needed.
+ * Add basic autopkgtests support.
-- Maximiliano Curia <maxy at debian.org> Tue, 27 Jan 2015 22:41:16 +0100
diff --git a/debian/control b/debian/control
index f4d6a01..36277ac 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends: cmake (>= 2.8.12),
xauth,
xvfb
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: https://projects.kde.org/projects/frameworks/kparts
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/frameworks/kparts.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/frameworks/kparts.git
diff --git a/debian/libkf5parts-dev.acc.in b/debian/libkf5parts-dev.acc.in
new file mode 100644
index 0000000..6ffd22d
--- /dev/null
+++ b/debian/libkf5parts-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 5.0.0
+</version>
+
+<headers>
+ /usr/include/KF5/KParts/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Parts.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
--
kparts packaging
More information about the pkg-kde-commits
mailing list