[DRE-commits] [ruby-cairo] 02/05: support autopkgtest

Daisuke Higuchi dai at moszumanska.debian.org
Wed Jul 19 13:08:22 UTC 2017


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

dai pushed a commit to branch master
in repository ruby-cairo.

commit d8e71f7b87d0a458ea63bd29e8cb48799326d21b
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Wed Jul 19 21:58:59 2017 +0900

    support autopkgtest
---
 debian/patches/do-not-use-packnga.patch | 11 +++++++++++
 debian/patches/series                   |  1 +
 debian/tests/control                    |  3 +++
 3 files changed, 15 insertions(+)

diff --git a/debian/patches/do-not-use-packnga.patch b/debian/patches/do-not-use-packnga.patch
new file mode 100644
index 0000000..f867189
--- /dev/null
+++ b/debian/patches/do-not-use-packnga.patch
@@ -0,0 +1,11 @@
+Index: ruby-cairo/cairo.gemspec
+===================================================================
+--- ruby-cairo.orig/cairo.gemspec
++++ ruby-cairo/cairo.gemspec
+@@ -39,6 +39,5 @@ Gem::Specification.new do |s|
+   s.add_development_dependency("bundler")
+   s.add_development_dependency("test-unit-notify")
+   s.add_development_dependency("rake-compiler")
+-  s.add_development_dependency("packnga")
+   # s.add_development_dependency("poppler")
+ end
diff --git a/debian/patches/series b/debian/patches/series
index f7b8c00..9694893 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 #clean_run_test_rb.patch
 do-not-use-native-package-installer.patch
+do-not-use-packnga.patch
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b007253
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: gem2deb-test-runner --check-dependencies --autopkgtest
+Depends: @, @builddeps@
+Restrictions: allow-stderr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cairo.git



More information about the Pkg-ruby-extras-commits mailing list