[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854269: unblock: ruby-gettext/3.2.2-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package ruby-gettext.

I have no idea what happened, but -2 apparently never made it into
unstable, even though it was prepared in November 2016.

I can confirm that it fixes the FTBFS bug (#840789) and the problems
under autopkgtest.

debdiff below.


Thanks for considering,
-ch


unblock ruby-gettext/3.2.2-2


diff -Nru ruby-gettext-3.2.2/debian/changelog ruby-gettext-3.2.2/debian/changelog
--- ruby-gettext-3.2.2/debian/changelog	2016-08-08 15:56:05.000000000 +0000
+++ ruby-gettext-3.2.2/debian/changelog	2016-11-03 08:57:28.000000000 +0000
@@ -1,3 +1,17 @@
+ruby-gettext (3.2.2-2) unstable; urgency=medium
+
+  [ Antonio Terceiro ]
+  * Avoid calling rake in debian/ruby-tests.rb; instead, just load
+    test/run-test.rb; that is the same as what the Rakefile would do, but the
+    Rakefile would also try to write to lib/gettext/po_parser.rb under
+    autopkgtest because lib/ is moved away. This fixes the test suite under
+    autopkgtest
+  [ Hleb Valoshka ]
+  *  Set external encoding in tests with Encoding.default_external not LC_ALL
+  *  Use ruby-test-unit-rr instead of -rr and -test-unit (Closes: #840789)
+
+ -- Hleb Valoshka <375gnu@gmail.com>  Thu, 03 Nov 2016 11:57:28 +0300
+
 ruby-gettext (3.2.2-1) unstable; urgency=medium
 
   [ Cédric Boutillier ]
diff -Nru ruby-gettext-3.2.2/debian/control ruby-gettext-3.2.2/debian/control
--- ruby-gettext-3.2.2/debian/control	2016-08-08 15:56:05.000000000 +0000
+++ ruby-gettext-3.2.2/debian/control	2016-11-03 08:57:28.000000000 +0000
@@ -8,8 +8,7 @@
                racc,
                rake,
                ruby-locale (>= 2.0.5),
-               ruby-rr,
-               ruby-test-unit (>= 2.5.4),
+               ruby-test-unit-rr,
                ruby-text (>= 1.3.0),
                yard
 Standards-Version: 3.9.8
diff -Nru ruby-gettext-3.2.2/debian/ruby-tests.rb ruby-gettext-3.2.2/debian/ruby-tests.rb
--- ruby-gettext-3.2.2/debian/ruby-tests.rb	2016-08-08 15:56:05.000000000 +0000
+++ ruby-gettext-3.2.2/debian/ruby-tests.rb	2016-11-03 08:57:28.000000000 +0000
@@ -1,7 +1,3 @@
-ENV['LC_ALL'] = 'C.UTF-8'
+Encoding.default_external = 'UTF-8'
 
-require 'rake'
-app = Rake.application
-app.init
-app.load_rakefile
-app['test'].invoke
+load 'test/run-test.rb'


Reply to: