[DRE-maint] Ubuntu libgems-ruby 0.9.4-1ubuntu1
Ubuntu Merge-o-Matic
mom at ubuntu.com
Thu Aug 23 23:30:37 UTC 2007
This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes. It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
-------------- next part --------------
Format: 1.7
Date: Tue, 7 Aug 2007 21:50:33 +0100
Source: libgems-ruby
Binary: rubygems libgems-ruby1.8
Architecture: source
Version: 0.9.4-1ubuntu1
Distribution: gutsy
Urgency: low
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Changed-By: Neil Wilson <aldursys at gmail.com>
Description:
libgems-ruby1.8 - libraries to use RubyGems, a package management framework
rubygems - package management framework for Ruby libraries/applications
Changes:
libgems-ruby (0.9.4-1ubuntu1) gutsy; urgency=low
.
* Added bash completion for gem commands.
* Added README.Debian file to rubygems package
Files:
cdc0daf8147737eec212b9fbca920ffd 751 interpreters optional libgems-ruby_0.9.4-1ubuntu1.dsc
13660951389f856932de0d05181d35cc 13058 interpreters optional libgems-ruby_0.9.4-1ubuntu1.diff.gz
Original-Maintainer: Daigo Moriwaki <daigo at debian.org>
-------------- next part --------------
diff -pruN 0.9.4-1/bin/gem 0.9.4-1ubuntu1/bin/gem
--- 0.9.4-1/bin/gem 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gem 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff -pruN 0.9.4-1/bin/gemlock 0.9.4-1ubuntu1/bin/gemlock
--- 0.9.4-1/bin/gemlock 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gemlock 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
# -*- ruby -*-
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
diff -pruN 0.9.4-1/bin/gem_mirror 0.9.4-1ubuntu1/bin/gem_mirror
--- 0.9.4-1/bin/gem_mirror 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gem_mirror 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff -pruN 0.9.4-1/bin/gemri 0.9.4-1ubuntu1/bin/gemri
--- 0.9.4-1/bin/gemri 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gemri 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
# -*- ruby -*-
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
diff -pruN 0.9.4-1/bin/gem_server 0.9.4-1ubuntu1/bin/gem_server
--- 0.9.4-1/bin/gem_server 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gem_server 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
require 'rubygems/server'
diff -pruN 0.9.4-1/bin/gemwhich 0.9.4-1ubuntu1/bin/gemwhich
--- 0.9.4-1/bin/gemwhich 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/gemwhich 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff -pruN 0.9.4-1/bin/index_gem_repository.rb 0.9.4-1ubuntu1/bin/index_gem_repository.rb
--- 0.9.4-1/bin/index_gem_repository.rb 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/index_gem_repository.rb 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff -pruN 0.9.4-1/bin/update_rubygems 0.9.4-1ubuntu1/bin/update_rubygems
--- 0.9.4-1/bin/update_rubygems 2007-05-14 15:56:45.000000000 +0100
+++ 0.9.4-1ubuntu1/bin/update_rubygems 2007-08-24 00:20:21.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff -pruN 0.9.4-1/debian/changelog 0.9.4-1ubuntu1/debian/changelog
--- 0.9.4-1/debian/changelog 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/changelog 2007-08-24 00:20:21.000000000 +0100
@@ -1,3 +1,10 @@
+libgems-ruby (0.9.4-1ubuntu1) gutsy; urgency=low
+
+ * Added bash completion for gem commands.
+ * Added README.Debian file to rubygems package
+
+ -- Neil Wilson <aldursys at gmail.com> Tue, 7 Aug 2007 21:50:33 +0100
+
libgems-ruby (0.9.4-1) unstable; urgency=low
* New upstream release. (Closes: #426190)
diff -pruN 0.9.4-1/debian/control 0.9.4-1ubuntu1/debian/control
--- 0.9.4-1/debian/control 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/control 2007-08-24 00:20:21.000000000 +0100
@@ -1,8 +1,8 @@
Source: libgems-ruby
Section: interpreters
Priority: optional
-Maintainer: Daigo Moriwaki <daigo at debian.org>
-Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+XSBC-Original-Maintainer: Daigo Moriwaki <daigo at debian.org>
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Build-Depends-Indep: dpatch (>= 2.0.10), debhelper (>= 4.0.0), ruby1.8, docbook-to-man, ruby-pkg-tools
Standards-Version: 3.7.2
diff -pruN 0.9.4-1/debian/copyright 0.9.4-1ubuntu1/debian/copyright
--- 0.9.4-1/debian/copyright 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/copyright 2007-08-24 00:20:21.000000000 +0100
@@ -71,3 +71,7 @@ You can redistribute it and/or modify it
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
+--
+Rubygems bash completion (c) Michael Schuerig, michael at schuerig.de, 2007-02-24
+Free for all uses.
+
diff -pruN 0.9.4-1/debian/patches/00list 0.9.4-1ubuntu1/debian/patches/00list
--- 0.9.4-1/debian/patches/00list 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/patches/00list 2007-08-24 00:20:21.000000000 +0100
@@ -9,6 +9,7 @@
09_installer.dpatch
10_datadir.dpatch
21_avoid_ioseek.dpatch
+22_add_bash_completion.dpatch
#90_opensuse_gem_commands.dpatch
#91_opensuse_installer.dpatch
#92_opensuse_gem_commands.dpatch
diff -pruN 0.9.4-1/debian/patches/22_add_bash_completion.dpatch 0.9.4-1ubuntu1/debian/patches/22_add_bash_completion.dpatch
--- 0.9.4-1/debian/patches/22_add_bash_completion.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/patches/22_add_bash_completion.dpatch 2007-08-24 00:20:21.000000000 +0100
@@ -0,0 +1,197 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 22_add_bash_completion.dpatch by Neil Wilson <aldursys at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libgems-ruby-0.9.4~/conf/bash_completion.d/gem libgems-ruby-0.9.4/conf/bash_completion.d/gem
+--- libgems-ruby-0.9.4~/conf/bash_completion.d/gem 1970-01-01 01:00:00.000000000 +0100
++++ libgems-ruby-0.9.4/conf/bash_completion.d/gem 2007-08-07 21:48:16.000000000 +0100
+@@ -0,0 +1,186 @@
++# Michael Schuerig, michael at schuerig.de, 2007-02-24
++# Free for all uses.
++
++_gem()
++{
++ local cur prev completions
++
++ COMPREPLY=()
++ cur=${COMP_WORDS[COMP_CWORD]}
++ prev=${COMP_WORDS[COMP_CWORD-1]}
++
++ COMMANDS='build cert check cleanup contents dependency\
++ environment help install list query rdoc search specification\
++ uninstall unpack update'
++
++ COMMON_OPTIONS='\
++ --source
++ -p --http-proxy --no-http-proxy\
++ -h --help\
++ --config-file\
++ --backtrace\
++ --debug'
++
++ CERT_OPTIONS='\
++ -a -add\
++ -l --list\
++ -r --remove\
++ -b --build\
++ -C --certificate\
++ -K --private-key\
++ -s --sign'
++
++ CHECK_OPTIONS='\
++ -v --verify\
++ -a --alien\
++ -t --test\
++ -V --version'
++
++ CLEANUP_OPTIONS='\
++ -d --dry-run'
++
++ CONTENTS_OPTIONS='\
++ -l --list\
++ -V --version\
++ -s --spec-dir\
++ -v --verbose'
++
++ DEPENDENCY_OPTIONS='\
++ -v --version\
++ -r --reverse-dependencies --no-reverse-dependencies\
++ -p --pipe'
++
++ HELP_OPTIONS=$COMMANDS
++
++ INSTALL_OPTIONS='\
++ -v --version\
++ -l --local\
++ -r --remote\
++ -b --both\
++ -i --install-dir\
++ -B --build-root\
++ -d --rdoc --no-rdoc\
++ --ri --no-ri\
++ -f --force --no-force\
++ -t --test --no-test\
++ -w --wrappers --no-wrappers\
++ -P --trust-policy\
++ --ignore-dependencies\
++ -y --include-dependencies'
++
++ LIST_OPTIONS='\
++ -d --details --no-details\
++ -l --local\
++ -r --remote\
++ -b --both'
++
++ QUERY_OPTIONS='\
++ -n --name-matches\
++ -d --details --no-details\
++ -l --local\
++ -r --remote\
++ -b --both'
++
++ RDOC_OPTIONS='\
++ --all\
++ --rdoc --no-rdoc\
++ --ri --no-ri\
++ -v --version'
++
++ SEARCH_OPTIONS='\
++ -d --details --no-details\
++ -l --local\
++ -r --remote\
++ -b --both'
++
++ SPECIFICATION_OPTIONS='\
++ -v --version\
++ -l --local\
++ -r --remote\
++ -b --both\
++ -all'
++
++ UNINSTALL_OPTIONS='\
++ -a --all --no-all\
++ -i --ignore-dependencies --no-ignore-dependencies\
++ -x --executables --no-executables\
++ -v --version'
++
++ UNPACK_OPTIONS='\
++ -v --version'
++
++ UPDATE_OPTIONS='\
++ -i --install-dir\
++ -B --build-root\
++ -d --rdoc --no-rdoc\
++ -ri --no-ri\
++ -f --force --no-force\
++ -t --test --no-test\
++ -w --wrappers --no-wrappers\
++ -P --trust-policy\
++ --ignore-dependencies\
++ -y --include-dependencies\
++ --system'
++
++ case "${prev}" in
++ build)
++ completions="$COMMON_OPTIONS $BUILD_OPTIONS"
++ ;;
++ cert)
++ completions="$COMMON_OPTIONS $CERT_OPTIONS"
++ ;;
++ check)
++ completions="$COMMON_OPTIONS $CHECK_OPTIONS"
++ ;;
++ cleanup)
++ completions="$COMMON_OPTIONS $CLEANUP_OPTIONS"
++ ;;
++ contents)
++ completions="$COMMON_OPTIONS $CONTENTS_OPTIONS"
++ ;;
++ dependency)
++ completions="$COMMON_OPTIONS $DEPENDENCY_OPTIONS"
++ ;;
++ environment)
++ completions="$COMMON_OPTIONS $ENVIRONMENT_OPTIONS"
++ ;;
++ help)
++ completions="$COMMON_OPTIONS $HELP_OPTIONS"
++ ;;
++ install)
++ completions="$COMMON_OPTIONS $INSTALL_OPTIONS"
++ ;;
++ list)
++ completions="$COMMON_OPTIONS $LIST_OPTIONS"
++ ;;
++ query)
++ completions="$COMMON_OPTIONS $QUERY_OPTIONS"
++ ;;
++ rdoc)
++ completions="$COMMON_OPTIONS $RDOC_OPTIONS"
++ ;;
++ search)
++ completions="$COMMON_OPTIONS $SEARCH_OPTIONS"
++ ;;
++ specification)
++ completions="$COMMON_OPTIONS $SPECIFICATION_OPTIONS"
++ ;;
++ uninstall)
++ completions="$COMMON_OPTIONS $UNINSTALL_OPTIONS"
++ ;;
++ unpack)
++ completions="$COMMON_OPTIONS $UNPACK_OPTIONS"
++ ;;
++ update)
++ completions="$COMMON_OPTIONS $UPDATE_OPTIONS"
++ ;;
++ *)
++ completions="$COMMANDS $COMMON_OPTIONS"
++ ;;
++ esac
++
++ COMPREPLY=( $( compgen -W "$completions" -- $cur ))
++ return 0
++}
++
++[ -n "${have:-}" ] && complete -F _gem $filenames gem
diff -pruN 0.9.4-1/debian/rubygems.install 0.9.4-1ubuntu1/debian/rubygems.install
--- 0.9.4-1/debian/rubygems.install 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/rubygems.install 2007-08-24 00:20:21.000000000 +0100
@@ -5,3 +5,4 @@ usr/bin/gemlock
usr/bin/gemri
usr/bin/gemwhich
usr/bin/index_gem_repository
+etc/bash_completion.d/gem
diff -pruN 0.9.4-1/debian/rubygems.README.Debian 0.9.4-1ubuntu1/debian/rubygems.README.Debian
--- 0.9.4-1/debian/rubygems.README.Debian 1970-01-01 01:00:00.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/rubygems.README.Debian 2007-08-24 00:20:21.000000000 +0100
@@ -0,0 +1,25 @@
+libgems-ruby for Debian
+-----------------------
+
+Some patches are applied to fit Debian FHS
+
+* Directory where gems are to be installed
+
+/var/lib/gems is used in Debian. However, you can override it by defining
+GEM_HOME environment variable. If you go with your GEM_HOME, some files should
+be manually installed.
+ $ cp -r /var/lib/gems/1.8/gems/sources-0.0.1 $GEM_HOME/gems/
+ $ cp /var/lib/gems/1.8/specifications/sources-0.0.1.gemspec \
+ $GEM_HOME/specifications/
+Replace version numbers above with what you really have.
+
+
+* Executables in gems
+
+Gems which Debian's RubyGems will install are stored at /var/lib/gems instead
+of /usr/lib/ruby/gems. Executables of the gems will be put at
+/var/lib/gems/1.8/bin (for Ruby 1.8). In order to use them you manually have to
+add the directory in your PATH environment variable or make symbolic links at
+/usr/bin.
+
+ -- Daigo Moriwaki <daigo at debian.org> Sat, 22 Apr 2006
diff -pruN 0.9.4-1/debian/rules 0.9.4-1ubuntu1/debian/rules
--- 0.9.4-1/debian/rules 2007-08-24 00:20:21.000000000 +0100
+++ 0.9.4-1ubuntu1/debian/rules 2007-08-24 00:20:21.000000000 +0100
@@ -69,7 +69,7 @@ install:
# DEBUG tree debian/tmp
mv debian/tmp/usr/bin/index_gem_repository.rb debian/tmp/usr/bin/index_gem_repository
dh_install --list-missing --sourcedir=debian/tmp
- rm -rf debian/libgems-ruby1.8/usr/bin
+ rm -rf debian/libgems-ruby1.8/usr/bin debian/libgems-ruby1.8/etc
#cp -ar docs debian/libgems-ruby1.8/usr/share/doc/libgems-ruby1.8/
#cp -ar test debian/libgems-ruby1.8/usr/share/doc/libgems-ruby1.8/
More information about the Pkg-ruby-extras-maintainers
mailing list