[DRE-commits] r3392 - in packages-wip/libpacket-ruby/trunk: . debian
Ryan Niebur
ryan52-guest at alioth.debian.org
Tue Apr 14 05:56:48 UTC 2009
Author: ryan52-guest
Date: 2009-04-14 05:56:48 +0000 (Tue, 14 Apr 2009)
New Revision: 3392
Added:
packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby.links
packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.8.examples
packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.9.examples
Removed:
packages-wip/libpacket-ruby/trunk/bin/
Modified:
packages-wip/libpacket-ruby/trunk/debian/control
packages-wip/libpacket-ruby/trunk/debian/rules
Log:
sed the shebang, rename the script, install a ruby 1.9 package
Modified: packages-wip/libpacket-ruby/trunk/debian/control
===================================================================
--- packages-wip/libpacket-ruby/trunk/debian/control 2009-04-14 05:34:03 UTC (rev 3391)
+++ packages-wip/libpacket-ruby/trunk/debian/control 2009-04-14 05:56:48 UTC (rev 3392)
@@ -4,13 +4,14 @@
Maintainer: Ryan Niebur <ryanryan52 at gmail.com>
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Build-Depends: cdbs, debhelper (>= 5)
-Build-Depends-Indep: ruby-pkg-tools (>= 0.8), ruby1.8
+Build-Depends-Indep: ruby-pkg-tools (>= 0.8), ruby1.8, ruby1.9
Standards-Version: 3.8.1
+Homepage: http://rubyforge.org/projects/packet/
Package: libpacket-ruby
Architecture: all
Depends: libpacket-ruby1.8, ${misc:Depends}
-Description: Ruby library for Event driven network programming
+Description: Ruby library for Event driven network programming (dependency package)
Packet is a pure ruby library for writing network applications in Ruby.
It follows Evented Model of network programming and implements almost all the
features provided by EventMachine.
@@ -22,8 +23,8 @@
Package: libpacket-ruby1.8
Architecture: all
-Depends: libruby1.8, ${misc:Depends}
-Description: Ruby library for Event driven network programming
+Depends: ruby1.8, ${misc:Depends}
+Description: Ruby library for Event driven network programming (ruby 1.8 version)
Packet is a pure ruby library for writing network applications in Ruby.
It follows Evented Model of network programming and implements almost all the
features provided by EventMachine.
@@ -31,3 +32,15 @@
It also provides real easy to user UNIX workers for concurrent programming.
.
This package is built for ruby 1.8.
+
+Package: libpacket-ruby1.9
+Architecture: all
+Depends: ruby1.9, ${misc:Depends}
+Description: Ruby library for Event driven network programming (ruby 1.9 version)
+ Packet is a pure ruby library for writing network applications in Ruby.
+ It follows Evented Model of network programming and implements almost all the
+ features provided by EventMachine.
+ .
+ It also provides real easy to user UNIX workers for concurrent programming.
+ .
+ This package is built for ruby 1.9.
Added: packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby.links
===================================================================
--- packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby.links (rev 0)
+++ packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby.links 2009-04-14 05:56:48 UTC (rev 3392)
@@ -0,0 +1 @@
+/usr/bin/packet_worker_runner1.8 /usr/bin/packet_worker_runner
Added: packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.8.examples
===================================================================
--- packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.8.examples (rev 0)
+++ packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.8.examples 2009-04-14 05:56:48 UTC (rev 3392)
@@ -0,0 +1,2 @@
+examples/*
+bin/mongrel_rails
Added: packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.9.examples
===================================================================
--- packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.9.examples (rev 0)
+++ packages-wip/libpacket-ruby/trunk/debian/libpacket-ruby1.9.examples 2009-04-14 05:56:48 UTC (rev 3392)
@@ -0,0 +1,2 @@
+examples/*
+bin/mongrel_rails
Modified: packages-wip/libpacket-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libpacket-ruby/trunk/debian/rules 2009-04-14 05:34:03 UTC (rev 3391)
+++ packages-wip/libpacket-ruby/trunk/debian/rules 2009-04-14 05:56:48 UTC (rev 3392)
@@ -4,3 +4,11 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+$(patsubst %,install/%,$(DEB_PACKAGES)) :: install/% :
+ # remove the mongrel_rails script, it's installed in examples
+ rm -f debian/$(cdbs_curpkg)/usr/bin/mongrel_rails
+ # move it to a packet_worker_runner1.x
+ [ ! -f debian/$(cdbs_curpkg)/usr/bin/packet_worker_runner ] || mv debian/$(cdbs_curpkg)/usr/bin/packet_worker_runner debian/$(cdbs_curpkg)/usr/bin/packet_worker_runner$(cdbs_ruby_ver)
+ # fix the shebang
+ [ ! -f debian/$(cdbs_curpkg)/usr/bin/packet_worker_runner$(cdbs_ruby_ver) ] || sed -i "1 s,.*,#\!/usr/bin/ruby$(cdbs_ruby_ver)," debian/$(cdbs_curpkg)/usr/bin/packet_worker_runner$(cdbs_ruby_ver)
More information about the Pkg-ruby-extras-commits
mailing list