[DRE-maint] Bug#882649: stretch-pu: package ruby-httparty/0.13.7-1

Cédric Boutillier boutil at debian.org
Sat Nov 25 09:29:59 UTC 2017


Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org at packages.debian.org
Usertags: pu

Hi,

The current package in stretch provides a Ruby library that cannot be
loaded properly with Ruby 'gem' tool, because of a too strict versioned
dependency on the json Ruby library

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864723

This update adds a patch to relax this dependency in the Gemfile, which
fixes the problem.

Cédric


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru ruby-httparty-0.13.7/debian/changelog ruby-httparty-0.13.7/debian/changelog
--- ruby-httparty-0.13.7/debian/changelog	2016-06-07 10:57:47.000000000 +0200
+++ ruby-httparty-0.13.7/debian/changelog	2017-11-25 00:30:18.000000000 +0100
@@ -1,3 +1,10 @@
+ruby-httparty (0.13.7-1+deb9u1) stretch; urgency=medium
+
+  * Relax dependency version in gem dependency on json.
+    This fixes loading httparty with the gem command (Closes: #864723)
+
+ -- Cédric Boutillier <boutil at debian.org>  Sat, 25 Nov 2017 00:30:18 +0100
+
 ruby-httparty (0.13.7-1) unstable; urgency=medium
 
   * Imported Upstream version 0.13.7
diff -Nru ruby-httparty-0.13.7/debian/gbp.conf ruby-httparty-0.13.7/debian/gbp.conf
--- ruby-httparty-0.13.7/debian/gbp.conf	1970-01-01 01:00:00.000000000 +0100
+++ ruby-httparty-0.13.7/debian/gbp.conf	2017-11-25 00:15:47.000000000 +0100
@@ -0,0 +1,3 @@
+[buildpackage]
+debian-branch=stretch/master
+upstream-branch=stretch/upstream
diff -Nru ruby-httparty-0.13.7/debian/patches/relax_version_json.patch ruby-httparty-0.13.7/debian/patches/relax_version_json.patch
--- ruby-httparty-0.13.7/debian/patches/relax_version_json.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-httparty-0.13.7/debian/patches/relax_version_json.patch	2017-11-25 00:28:56.000000000 +0100
@@ -0,0 +1,17 @@
+Author: Cédric Boutillier <boutil at debian.org>
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864723
+Origin: https://github.com/jnunemaker/httparty/commit/1cbb101feaffcc1f11c77a71009558c6086ebb4b
+Forwarded: no
+Last-Update: 2017-11-25
+
+--- a/httparty.gemspec
++++ b/httparty.gemspec
+@@ -15,7 +15,7 @@
+ 
+   s.required_ruby_version     = '>= 1.9.3'
+ 
+-  s.add_dependency 'json',      "~> 1.8"
++  s.add_dependency 'json',      ">= 1.8"
+   s.add_dependency 'multi_xml', ">= 0.5.2"
+ 
+   # If this line is removed, all hard partying will cease.
diff -Nru ruby-httparty-0.13.7/debian/patches/series ruby-httparty-0.13.7/debian/patches/series
--- ruby-httparty-0.13.7/debian/patches/series	2016-06-07 10:57:47.000000000 +0200
+++ ruby-httparty-0.13.7/debian/patches/series	2017-11-25 00:26:34.000000000 +0100
@@ -1 +1,2 @@
 skip_failing_test.patch
+relax_version_json.patch


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