Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package ruby-standalone This verson contains a few adjustments to make the tool work better for the use cases it was designed for. Even though this slightly changes the behavior of the package, it was never part of a stable release and it's relatively new, so I would rather make those changes now than let them solidify in a stable release to then have to deal with upgrade issues. This release also removes reminiscent .po files -- it does not use debconf prompts anymore -- to avoid wasting our translators's time. The debdiff against the package in testing is attached. unblock ruby-standalone/0.4 -- System Information: Debian Release: jessie/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Antonio Terceiro <terceiro@debian.org>
diff -Nru ruby-standalone-0.3/debian/changelog ruby-standalone-0.4/debian/changelog --- ruby-standalone-0.3/debian/changelog 2014-10-20 18:42:58.000000000 -0200 +++ ruby-standalone-0.4/debian/changelog 2014-12-01 13:35:30.000000000 -0200 @@ -1,3 +1,23 @@ +ruby-standalone (0.4) unstable; urgency=medium + + * Change Gem.user_dir to $HOME/.ruby-standalone/gems/ruby/$RUBYVERSION so + stuff installed without ruby-standalone does not clash with stuff + installed with it. + . + In special, this handles the case where something was installed without + ruby-standalone and used Debian packages to satisfy dependencies, but when + you switch to ruby-standalone that dependency will be missing and the + package will be effectively broken. + * ruby-standalone: export RUBY_STANDALONE. This is useful for usage in shell + prompts etc. + * remove debian/po; debian/templates has been removed in 0.2 when I "backed + down on the idea of suggesting to create symlinks in /usr/local/bin" (via + debconf). Having debian/po/ in the source package wastes time of our + translators who will think those translations are actually used. + Closes: #771642 + + -- Antonio Terceiro <terceiro@debian.org> Mon, 01 Dec 2014 13:35:09 -0200 + ruby-standalone (0.3) unstable; urgency=medium * add a `rake` binary, to run the rake included with Ruby. diff -Nru ruby-standalone-0.3/debian/po/POTFILES.in ruby-standalone-0.4/debian/po/POTFILES.in --- ruby-standalone-0.3/debian/po/POTFILES.in 2014-10-20 18:42:58.000000000 -0200 +++ ruby-standalone-0.4/debian/po/POTFILES.in 1969-12-31 21:00:00.000000000 -0300 @@ -1 +0,0 @@ -[type: gettext/rfc822deb] ruby-standalone.templates diff -Nru ruby-standalone-0.3/debian/po/templates.pot ruby-standalone-0.4/debian/po/templates.pot --- ruby-standalone-0.3/debian/po/templates.pot 2014-10-20 18:42:58.000000000 -0200 +++ ruby-standalone-0.4/debian/po/templates.pot 1969-12-31 21:00:00.000000000 -0300 @@ -1,57 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: ruby-standalone\n" -"Report-Msgid-Bugs-To: ruby-standalone@packages.debian.org\n" -"POT-Creation-Date: 2014-10-13 09:55-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: boolean -#. Description -#: ../ruby-standalone.templates:1001 -msgid "Install Ruby programs to /usr/local/bin?" -msgstr "" - -#. Type: boolean -#. Description -#: ../ruby-standalone.templates:1001 -msgid "" -"The Ruby programs (ruby, gem, irb, etc) can be installed to /usr/local/bin. " -"Doing that will mask the default programs installed at /usr/bin, and users " -"will be always invoking the ruby-standalone version of those programs unless " -"they use the full path e.g. /usr/bin/ruby." -msgstr "" - -#. Type: boolean -#. Description -#: ../ruby-standalone.templates:1001 -msgid "" -"Any Ruby applications provided by the official repository should already be " -"using /usr/bin/ruby explicitly, and should not be affected by this. If they " -"are, that is a bug that should be reported to the corresponding maintainers." -msgstr "" - -#. Type: boolean -#. Description -#: ../ruby-standalone.templates:1001 -msgid "" -"Even if you don't install symlinks to /usr/local/bin, you can still use the " -"ruby-standalone(1) binary to start ruby-standalone environments." -msgstr "" - -#. Type: boolean -#. Description -#: ../ruby-standalone.templates:1001 -msgid "To change this, just reconfigure the ruby-standalone package." -msgstr "" diff -Nru ruby-standalone-0.3/debian_ruby_standalone.rb ruby-standalone-0.4/debian_ruby_standalone.rb --- ruby-standalone-0.3/debian_ruby_standalone.rb 2014-10-20 18:42:58.000000000 -0200 +++ ruby-standalone-0.4/debian_ruby_standalone.rb 2014-12-01 13:35:30.000000000 -0200 @@ -20,6 +20,10 @@ def default_path [user_dir, File.join('/var/lib/gems', Gem::ConfigMap[:ruby_version])] end + + def user_dir + File.join(Gem.user_home, '.ruby-standalone/gems', Gem.ruby_engine, Gem::ConfigMap[:ruby_version]) + end end class << Gem::Specification diff -Nru ruby-standalone-0.3/ruby-standalone.in ruby-standalone-0.4/ruby-standalone.in --- ruby-standalone-0.3/ruby-standalone.in 2014-10-20 18:42:58.000000000 -0200 +++ ruby-standalone-0.4/ruby-standalone.in 2014-12-01 13:35:30.000000000 -0200 @@ -3,6 +3,7 @@ ruby_standalone_dir=@@prefix@@/lib/ruby-standalone shell=$(getent passwd $USER | cut -d : -f 7) +export RUBY_STANDALONE='@@prefix@@/lib/ruby-standalone' export RUBY="${ruby_standalone_dir}/bin/ruby" export PATH="$($RUBY -e 'puts Gem.user_dir')/bin:${ruby_standalone_dir}/bin:${PATH}"
Attachment:
signature.asc
Description: Digital signature