[DRE-commits] [SCM] Packaging for ruby-amazonec2 branch, master, updated. debian/0.9.17-1-5-gbccfb88
Damien Raude-Morvan
drazzib at debian.org
Sat Apr 23 11:16:40 UTC 2011
The following commit has been merged in the master branch:
commit 1fe794894f82362cf9830e98aee439130b4b25e4
Author: Damien Raude-Morvan <drazzib at debian.org>
Date: Sat Apr 23 12:37:15 2011 +0200
Rename source package to ruby-amazon-ec2.
* Rename source package to ruby-amazon-ec2.
* d/watch: Use gemwatch from pkg-ruby-extras.
* d/{control,rules}: Switch to gem2deb.
* d/control: Switch to GIT and update Vcs-* fields.
diff --git a/debian/changelog b/debian/changelog
index bd39424..ea9bad9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-amazon-ec2 (0.9.17-1) unstable; urgency=low
+
+ * Rename source package to ruby-amazon-ec2.
+ * d/watch: Use gemwatch from pkg-ruby-extras.
+ * d/{control,rules}: Switch to gem2deb.
+ * d/control: Switch to GIT and update Vcs-* fields.
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Sat, 23 Apr 2011 12:36:12 +0200
+
libamazonec2-ruby (0.9.17-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/control b/debian/control
index 55fe940..266e541 100644
--- a/debian/control
+++ b/debian/control
@@ -1,20 +1,23 @@
-Source: libamazonec2-ruby
+Source: ruby-amazon-ec2
Section: ruby
Priority: optional
Maintainer: Damien Raude-Morvan <drazzib at debian.org>
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends: cdbs, debhelper (>= 7), ruby-pkg-tools (>= 0.9),
- ruby1.8, rake, rdoc, graphviz, libxml-simple-ruby
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1)
Standards-Version: 3.9.1
Homepage: http://github.com/grempe/amazon-ec2
-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libamazonec2-ruby/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libamazonec2-ruby/
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-amazon-ec2.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-amazon-ec2.git;a=summary
+XS-Ruby-Versions: all
-Package: libamazonec2-ruby1.8
-Depends: ruby1.8, ${misc:Depends}, libxml-simple-ruby
-Suggests: libamazonec2-ruby-doc
+Package: ruby-amazon-ec2
Architecture: all
-Description: Ruby library for accessing Amazon EC2 - for ruby1.8
+XB-Ruby-Versions: ${ruby:Versions}
+Replaces: libamazonec2-ruby1.8 (<< 0.9.17-2~), libamazonec2-ruby (<< 0.9.17-2~), libamazonec2-ruby-doc (<< 0.9.17-2~)
+Conflicts: libamazonec2-ruby1.8 (<< 0.9.17-2~), libamazonec2-ruby (<< 0.9.17-2~), libamazonec2-ruby-doc (<< 0.9.17-2~)
+Provides: libamazonec2-ruby1.8, libamazonec2-ruby, libamazonec2-ruby-doc
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 | ruby-interpreter
+Description: Ruby library for accessing Amazon EC2
A Ruby library for accessing the Amazon Web Services (AWS) APIs like:
* Elastic Compute Cloud (EC2): provides resizable compute capacity via virtual
machine set up and allocation.
@@ -23,58 +26,27 @@ Description: Ruby library for accessing Amazon EC2 - for ruby1.8
multiple Amazon EC2 instances
* Relational Database Service (RDS): set up, operate, and scale MySQL instance
* CloudWatch: provides monitoring for AWS like Amazon EC2.
- .
- This package provides files for ruby1.8.
-
-# This Amazon EC2 gem depends on xml-simple which is only for ruby1.8
-#
-#Package: libamazonec2-ruby1.9.1
-#Depends: ruby1.9.1, ${misc:Depends}
-#Suggests: libamazonec2-ruby-doc
-#Architecture: all
-#Description: Ruby library for accessing Amazon EC2 - for ruby1.9
-# A Ruby library for accessing the Amazon Web Services (AWS) APIs like:
-# * Elastic Compute Cloud (EC2): provides resizable compute capacity via virtual
-# machine set up and allocation.
-# * Autoscaling: automatically scale your Amazon EC2 capacity up or down
-# * Elastic Load Balancing (ELB): distributes application traffic across
-# multiple Amazon EC2 instances
-# * Relational Database Service (RDS): set up, operate, and scale MySQL instance
-# * CloudWatch: provides monitoring for AWS like Amazon EC2.
-# .
-# This package provides files for ruby1.9.1.
+
+Package: libamazonec2-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-amazon-ec2
+Description: Transitional package for ruby-amazon-ec2
+ This is a transitional package to ease upgrades to the ruby-amazon-ec2
+ package. It can safely be removed.
Package: libamazonec2-ruby
+Section: oldlibs
Architecture: all
-Depends: libamazonec2-ruby1.8, ${misc:Depends}
-Suggests: libamazonec2-ruby-doc
-Description: Ruby library for accessing Amazon EC2 (dummy package)
- A Ruby library for accessing the Amazon Web Services (AWS) APIs like:
- * Elastic Compute Cloud (EC2): provides resizable compute capacity via virtual
- machine set up and allocation.
- * Autoscaling: automatically scale your Amazon EC2 capacity up or down
- * Elastic Load Balancing (ELB): distributes application traffic across
- multiple Amazon EC2 instances
- * Relational Database Service (RDS): set up, operate, and scale MySQL instance
- * CloudWatch: provides monitoring for AWS like Amazon EC2.
- .
- This package is a dependency package, which depends on Debian's default Ruby
- version (currently 1.8.x).
+Depends: ${misc:Depends}, ruby-amazon-ec2
+Description: Transitional package for ruby-amazon-ec2
+ This is a transitional package to ease upgrades to the ruby-amazon-ec2
+ package. It can safely be removed.
Package: libamazonec2-ruby-doc
-Section: doc
-Depends: libamazonec2-ruby, ${misc:Depends}
+Section: oldlibs
Architecture: all
-Description: Documentation for amazon-ec2-ruby (libamazonec2-ruby)
- A Ruby library for accessing the Amazon Web Services (AWS) APIs like:
- * Elastic Compute Cloud (EC2): provides resizable compute capacity via virtual
- machine set up and allocation.
- * Autoscaling: automatically scale your Amazon EC2 capacity up or down
- * Elastic Load Balancing (ELB): distributes application traffic across
- multiple Amazon EC2 instances
- * Relational Database Service (RDS): set up, operate, and scale MySQL instance
- * CloudWatch: provides monitoring for AWS like Amazon EC2.
- .
- This package provides rdoc documentation and unit tests for
- Amazon EC2 Ruby Gem.
-
+Depends: ${misc:Depends}, ruby-amazon-ec2
+Description: Transitional package for ruby-amazon-ec2
+ This is a transitional package to ease upgrades to the ruby-amazon-ec2
+ package. It can safely be removed.
diff --git a/debian/rules b/debian/rules
index 1390a4f..e94badc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,18 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
-
-DEB_INSTALL_DOCS_ALL += README.rdoc
-
-install/libamazonec2-ruby1.8::
- rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
-
-#install/libamazonec2-ruby1.9.1::
-# rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/
+%:
+ dh $@ --buildsystem=ruby --with ruby
get-orig-source:
uscan --force-download --rename
diff --git a/debian/watch b/debian/watch
index fa3926b..56985ca 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
version=3
-http://githubredir.debian.net/github/grempe/amazon-ec2 \
-/github/grempe/amazon-ec2/v(.*).tar.gz
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/amazon-ec2 .*/amazon-ec2-(.*).tar.gz
--
Packaging for ruby-amazonec2
More information about the Pkg-ruby-extras-commits
mailing list