[DRE-commits] [ruby-foreman] 06/13: Drop -doc package

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Jul 19 14:11:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-foreman.

commit bec06ba0ab5e7e01e1e0c91fe981daf42e476019
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Jul 18 19:19:17 2016 -0300

    Drop -doc package
---
 debian/changelog                 |  2 ++
 debian/control                   | 21 ---------------------
 debian/ruby-foreman-doc.doc-base | 18 ------------------
 debian/ruby-foreman-doc.examples |  1 -
 debian/rules                     | 13 +------------
 5 files changed, 3 insertions(+), 52 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e7ce142..c69741e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ ruby-foreman (0.82.0-1) UNRELEASED; urgency=medium
   * Refresh patches
   * 0002-Port-tests-to-fakefs-0.4.patch: dropped, applied upstream
   * Refresh packaging with a new run of `dh-make-ruby -w`
+  * Drop -doc package; this package is not supposed to be used as a library,
+    so there is no point in providing API documentation.
 
  -- Antonio Terceiro <terceiro at debian.org>  Mon, 18 Jul 2016 19:07:57 -0300
 
diff --git a/debian/control b/debian/control
index db343d1..3553c1d 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,6 @@ Depends: ruby | ruby-interpreter,
          ruby-thor (>= 0.19.1),
          ${misc:Depends},
          ${shlibs:Depends}
-Suggests: ruby-foreman-doc
 Description: Process manager for applications with multiple components
  Foreman is a process manager commonly used during development of
  multi-component applications. For production, it allows allow you to either
@@ -41,23 +40,3 @@ Description: Process manager for applications with multiple components
  follows the process model. You can use a Procfile to declare various process
  types, such as multiple types of workers, a singleton process like a clock, or
  a consumer of the Twitter streaming API.
-
-Package: ruby-foreman-doc
-Architecture: all
-Section: doc
-Depends: libjs-jquery,
-         ${misc:Depends}
-Suggests: ruby-foreman
-Description: Process manager for applications with multiple components (documentation)
- Foreman is a process manager commonly used during development of
- multi-component applications. For production, it allows allow you to either
- run your application directly or export it to some other process management
- format (i.e. init system service files).
- .
- Foreman uses a file called Procfile, which is the same mechanism for declaring
- what commands are run by your application’s dynos on the Heroku platform. It
- follows the process model. You can use a Procfile to declare various process
- types, such as multiple types of workers, a singleton process like a clock, or
- a consumer of the Twitter streaming API.
- .
- This package contains examples and html documentation for ruby-foreman.
diff --git a/debian/ruby-foreman-doc.doc-base b/debian/ruby-foreman-doc.doc-base
deleted file mode 100644
index 438ac28..0000000
--- a/debian/ruby-foreman-doc.doc-base
+++ /dev/null
@@ -1,18 +0,0 @@
-Document: ruby-foreman-doc
-Title: Debian ruby-foreman manual
-Author: David Dollar
-Abstract: manage Procfile-based applications
- Foreman is a manager for Procfile-based applications. Its aim is to abstract
- away the details of the Procfile format, and allow you to either run your
- application directly or export it to some other process management format.
- .
- Procfile is a mechanism for declaring what commands are run by your
- application’s dynos on the Heroku platform. It follows the process model. You
- can use a Procfile to declare various process types, such as multiple types of
- workers, a singleton process like a clock, or a consumer of the Twitter
- streaming API.
-Section: Programming/Ruby
-
-Format: HTML
-Index: /usr/share/doc/ruby-foreman-doc/html/index.html
-Files: /usr/share/doc/ruby-foreman-doc/html/*
diff --git a/debian/ruby-foreman-doc.examples b/debian/ruby-foreman-doc.examples
deleted file mode 100644
index 60baa9c..0000000
--- a/debian/ruby-foreman-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-data/*
diff --git a/debian/rules b/debian/rules
index 7a3028e..f24abdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 export GEM2DEB_TEST_RUNNER = --check-dependencies
 BINARY_PKG := ruby-foreman
+export LC_ALL=C.UTF-8
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
@@ -15,15 +16,3 @@ override_dh_auto_build:
 	# build documentation
 	rdoc --main=README.md lib
 	rm -f doc/js/jquery.js
-
-override_dh_auto_install:
-	# use utf-8 locale so test cases work
-	LC_ALL=C.UTF-8 dh_auto_install
-	# install docs
-	dh_install --package=$(BINARY_PKG)-doc doc/* \
-			usr/share/doc/$(BINARY_PKG)-doc/html/
-
-override_dh_link:
-	# link to jquery.js
-	dh_link --package=$(BINARY_PKG)-doc usr/share/javascript/jquery/jquery.js \
-			usr/share/doc/$(BINARY_PKG)-doc/html/js/jquery.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-foreman.git



More information about the Pkg-ruby-extras-commits mailing list