[DRE-commits] [ruby-roadie] 03/04: relax dependency on ruby-css-parser
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Aug 11 16:53:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-roadie.
commit 27e7ca2aa3854ddb4e0c07cef00f19f50d7fe26f
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Aug 11 12:35:01 2017 -0400
relax dependency on ruby-css-parser
---
debian/changelog | 3 ++-
debian/control | 4 ++--
...01-gemspec-relax-dependency-on-css_parser.patch | 23 ++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a3c6286..5fa1232 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,8 @@ ruby-roadie (3.1.1-2) UNRELEASED; urgency=medium
* update packaging with `dh-make-ruby -w`
- Bump debhelper compat to 10
- Bump Standards-Version to 4.0.0 (no changes needed)
-
+ * Add debian/patches/0001-gemspec-relax-dependency-on-css_parser.patch
+ (does what it says on the tin)
-- Antonio Terceiro <terceiro at debian.org> Fri, 11 Aug 2017 11:49:44 -0400
diff --git a/debian/control b/debian/control
index 58f38f1..6cd6e7a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Antonio Terceiro <terceiro at debian.org>
Build-Depends: debhelper (>= 10~),
gem2deb,
rake,
- ruby-css-parser (>= 1.4),
+ ruby-css-parser (>= 1.3),
ruby-nokogiri (>= 1.5),
ruby-rspec,
ruby-rspec-collection-matchers,
@@ -22,7 +22,7 @@ Package: ruby-roadie
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
- ruby-css-parser (>= 1.4),
+ ruby-css-parser (>= 1.3),
ruby-nokogiri (>= 1.5),
${misc:Depends},
${shlibs:Depends}
diff --git a/debian/patches/0001-gemspec-relax-dependency-on-css_parser.patch b/debian/patches/0001-gemspec-relax-dependency-on-css_parser.patch
new file mode 100644
index 0000000..c136f73
--- /dev/null
+++ b/debian/patches/0001-gemspec-relax-dependency-on-css_parser.patch
@@ -0,0 +1,23 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Fri, 11 Aug 2017 12:33:22 -0400
+Subject: gemspec: relax dependency on css_parser
+
+This patch is Debian-specific and should be dropped when ruby-css-parser
+gets updated to 1.4+
+---
+ roadie.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/roadie.gemspec b/roadie.gemspec
+index 36ed948..490d274 100644
+--- a/roadie.gemspec
++++ b/roadie.gemspec
+@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
+ s.required_ruby_version = ">= 1.9"
+
+ s.add_dependency 'nokogiri', '~> 1.5'
+- s.add_dependency 'css_parser', '~> 1.4'
++ s.add_dependency 'css_parser', '~> 1.3'
+
+ s.add_development_dependency 'rspec', '~> 3.0'
+ s.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..44a2b14
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-gemspec-relax-dependency-on-css_parser.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-roadie.git
More information about the Pkg-ruby-extras-commits
mailing list