File: README

package info (click to toggle)
gem2deb 0.33.1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 992 kB
  • sloc: ruby: 4,942; perl: 81; ansic: 66; makefile: 35; sh: 33
file content (49 lines) | stat: -rw-r--r-- 1,255 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
gem2deb is a set of tools to create Debian packages from Rubygems

The workflow looks like:
    Download gem:
    gem fetch foo
        |
        v
    Create a tarball. It contains the gem spec as metadata.yml
    gem2tgz foo-1.2.gem
        |
        v
    Convert to a Debian source package with sane defaults:
    dh-make-ruby foo-1.2.tar.gz
        |
        v
    Modify, if needed
        |
        v
    Build the package:
    dpkg-buildpackage -us -uc

Alternatively, you can use the gem2deb command, that tries to do
everything automatically.

The generated Debian source package uses Debhelper 7 with a specific
build system called "ruby". That buildsystem uses the dh_ruby tool for
the various steps (clean, build, test, install).


Building from source and testing this package:
==============================================
# install build-dependencies, look at the Build-Depends line
# in debian/control

# build the package
dpkg-buildpackage -us -uc
# install
sudo debi
# or simply: "rake install"

Developers:
Lucas Nussbaum <lucas@debian.org>
Antonio Terceiro <terceiro@softwarelivre.org>

License: GPLv3 or later

Current status:
gem2tgz and dh-make-ruby work.
dh_ruby is not yet feature-comparable with setup.rb, and needs some work.