[SCM] libaccounts-glib packaging branch, master, updated. 5b021cc073a58b32de30b7297599cecfc74311f2
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Apr 23 20:00:54 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/libaccounts-glib.git;a=commitdiff;h=5b021cc
The following commit has been merged in the master branch:
commit 5b021cc073a58b32de30b7297599cecfc74311f2
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Thu Apr 23 20:36:49 2015 +0200
Add basic autopkgtests support
---
debian/control | 1 +
debian/libaccounts-glib-dev.acc.in | 20 ++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
5 files changed, 41 insertions(+)
diff --git a/debian/control b/debian/control
index 5cbbe3c..a3b180a 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Build-Depends: automake (>= 1:1.13),
xauth,
xvfb
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: https://gitlab.com/accounts-sso/libaccounts-glib
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/kde-extras/libaccounts-glib.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-extras/libaccounts-glib.git
diff --git a/debian/libaccounts-glib-dev.acc.in b/debian/libaccounts-glib-dev.acc.in
new file mode 100644
index 0000000..50a0066
--- /dev/null
+++ b/debian/libaccounts-glib-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 1.18
+</version>
+
+<headers>
+ /usr/include/libaccounts-glib/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libaccounts-glib.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
--
libaccounts-glib packaging
More information about the pkg-kde-commits
mailing list