Bug#722382: Updating the Ruby packaging policy for your package «libstfl-ruby»

2014-01-16 Thread Jonas Genannt
severity 722382 serious
thanks

Hello stfl-Maintainer,

during Ruby Sprint in Paris, we have created an patch for your package to fit 
the Ruby
Debian policy.

This patch removes Ruby 1.8 dependency and moves that package to gem2deb helper.

Pleas include the patch to fix your package. Otherwise we can't remove ruby 1.8 
from the
archive.

Thanks,
Jonasdiff --git a/debian/control b/debian/control
index 02573f0..3a94ecb 100644
--- a/debian/control
+++ b/debian/control
@@ -1,10 +1,11 @@
 Source: stfl
 Priority: optional
 Maintainer: Nico Golde n...@debian.org
-Build-Depends: debhelper (= 7), libncursesw5-dev, swig, python-all-dev (= 2.6.6-3~), ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev, spl-dev
+Build-Depends: debhelper (= 7), libncursesw5-dev, swig, python-all-dev (= 2.6.6-3~), spl-dev, gem2deb
 Standards-Version: 3.9.2
 Section: libdevel
 X-Python-Version: all
+XS-Ruby-Versions: all
 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/stfl/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/trunk/
 Homepage: http://www.clifford.at/stfl/
@@ -50,36 +51,47 @@ Description: python bindings for the structured terminal forms language/library
  .
  This package contains the Python bindings to libstfl.
 
-Package: libstfl-ruby1.8
+Package: ruby-stfl
+XB-Ruby-Versions: ${ruby:Versions}
+X-DhRuby-Root: ruby
 Section: ruby
 Architecture: any
-Depends: ruby1.8, ${shlibs:Depends}, ${misc:Depends}
-Description: Ruby 1.8 bindings for the structured terminal forms language/library
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libstfl-ruby1.8 ( 0.22-2~), libstfl-ruby1.9.1 ( 0.22-2~), libstfl-ruby ( 0.22-2~)
+Breaks: libstfl-ruby1.8 ( 0.22-2~), libstfl-ruby1.9.1 ( 0.22-2~), libstfl-ruby ( 0.22-2~)
+Provides: libstfl-ruby1.8, libstfl-ruby1.9.1, libstfl-ruby
+Description: Ruby bindings for the structured terminal forms language/library
  stfl is a library which implements a curses-based widget set for text
  terminals.
  .
- This package contains the ruby1.8 bindings to libstfl.
+ This package contains the ruby bindings to libstfl.
+
+Package: libstfl-ruby1.8
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-stfl
+Description: Transitional package libstfl-ruby1.8 for ruby-stfl
+ This is a transitional package libstfl-ruby1.8 to ease upgrades to the
+ ruby-stfl package. It can safely be removed.
 
 Package: libstfl-ruby1.9.1
-Section: ruby
-Architecture: any
-Depends: ruby1.9.1, ${shlibs:Depends}, ${misc:Depends}
-Description: Ruby 1.9.1 bindings for the structured terminal forms language/library
- stfl is a library which implements a curses-based widget set for text
- terminals.
- .
- This package contains the ruby1.9 bindings to libstfl.
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-stfl
+Description: Transitional package libstfl-ruby1.9.1 for ruby-stfl
+ This is a transitional package libstfl-ruby1.9.1 to ease upgrades to the
+ ruby-stfl package. It can safely be removed.
 
 Package: libstfl-ruby
-Section: ruby
+Section: oldlibs
+Priority: extra
 Architecture: all
-Depends: libstfl-ruby1.8, ${misc:Depends}
-Description: Ruby bindings for the structured terminal forms language/library
- stfl is a library which implements a curses-based widget set for text
- terminals.
- .
- This is a dependency package which depends on Debian's default Ruby version
- (currently 1.8.x).
+Depends: ${misc:Depends}, ruby-stfl
+Description: Transitional package libstfl-ruby for libstfl0
+ This is a transitional package libstfl-ruby to ease upgrades to the ruby-stfl
+ package. It can safely be removed.
 
 Package: libstfl-spl
 Section: devel
diff --git a/debian/libstfl-ruby1.8.dirs b/debian/libstfl-ruby1.8.dirs
deleted file mode 100644
index 709e902..000
--- a/debian/libstfl-ruby1.8.dirs
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/ruby/1.8/x86_64-linux
diff --git a/debian/libstfl-ruby1.8.examples b/debian/libstfl-ruby1.8.examples
deleted file mode 100644
index 96a062f..000
--- a/debian/libstfl-ruby1.8.examples
+++ /dev/null
@@ -1 +0,0 @@
-ruby/example.rb
diff --git a/debian/libstfl-ruby1.8.install b/debian/libstfl-ruby1.8.install
deleted file mode 100644
index 19a6a02..000
--- a/debian/libstfl-ruby1.8.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/ruby/1.8/*/stfl.so
diff --git a/debian/libstfl-ruby1.9.1.dirs b/debian/libstfl-ruby1.9.1.dirs
deleted file mode 100644
index 0cceba8..000
--- a/debian/libstfl-ruby1.9.1.dirs
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/ruby/1.9.1/x86_64-linux
diff --git a/debian/libstfl-ruby1.9.1.examples b/debian/libstfl-ruby1.9.1.examples
deleted file mode 100644
index 96a062f..000
--- a/debian/libstfl-ruby1.9.1.examples
+++ /dev/null
@@ -1 +0,0 @@
-ruby/example.rb
diff --git a/debian/libstfl-ruby1.9.1.install b/debian/libstfl-ruby1.9.1.install
deleted file mode 100644
index e6aec7b..000
--- a/debian/libstfl-ruby1.9.1.install
+++ /dev/null
@@ -1 +0,0 @@

Bug#722382: Updating the Ruby packaging policy for your package «libstfl-ruby»

2014-01-16 Thread Nico Golde
Hi,
* Jonas Genannt jonas.gena...@capi2name.de [2014-01-16 12:39]:
 Hello stfl-Maintainer,
 
 during Ruby Sprint in Paris, we have created an patch for your package to fit 
 the Ruby
 Debian policy.
 
 This patch removes Ruby 1.8 dependency and moves that package to gem2deb 
 helper.
 
 Pleas include the patch to fix your package. Otherwise we can't remove ruby 
 1.8 from the
 archive.

Will include in the next upload.

Thanks!
Nico
-- 
Nico Golde - XMPP: n...@jabber.ccc.de - GPG: 0xA0A0


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#722382: Updating the Ruby packaging policy for your package «libstfl-ruby»

2013-09-10 Thread Gunnar Wolf
Package: libstfl-ruby
Severity: normal
Usertags: ruby18-removal, update-ruby-policy

Hi Nico Golde,

As you may know, during the Wheezy release cycle, the pkg-ruby-extras
team¹ has worked to update the Ruby libraries/modules/gems packages to
follow a new policy, much easier for the maintainers (as we no longer
require a separate package for each interpreter version), to the
archive (as it strongly reduces code duplication), and much more
sensical to the users (as they no longer require to fiddle with which
among many almost-identical binary packages to install).

While we achieved a quite good success level during the Wheezy cycle²,
we decided to act only on the packages maintained by the group — There
are many Ruby library packages maintained by kind people (like
yourself!) which have not yet adopted this new style. According to our
records, you are currently maintaining the package:

  libstfl-ruby

I am sending this report as part of a mass-bug-filing.³ Some useful
information you might find useful:

• Guidelines for Ruby packaging⁴

  https://wiki.debian.org/Teams/Ruby/Packaging#Guidelines_for_Ruby_packaging

• Ruby team release goals for Jessie⁵

  https://wiki.debian.org/Teams/Ruby/Jessie

• About the Ruby team — Please consider joining!⁶

  https://wiki.debian.org/Teams/Ruby

• Part of the new policy involves running the package's tests. Here is
  a swift introduction on what it means and how to do it:

  https://wiki.debian.org/Teams/Ruby/Packaging/Tests


Thanks a lot for your attention!

--

¹ alioth.debian.org/projects/pkg-ruby-extras/

² http://pkg-ruby-extras.alioth.debian.org/wheezy/

³ https://lists.debian.org/debian-devel/2013/09/msg00196.html


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org