View Issue Details

IDProjectCategoryView StatusLast Update
0009939Kali LinuxNew Tool Requestspublic2026-10-29 01:11
ReporterHash-AK Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009939: ruby-docopt - Ruby port of docopt, needed as a dependency for haiti (0006797)
Description

[Name] ruby-docopt (upstream gem: docopt)
[Version] 0.6.1
[Homepage] https://github.com/docopt/docopt.rb
[Download] https://rubygems.org/gems/docopt
[Package] https://gitlab.com/Hash-AK/ruby-docopt
[Author] Vladimir Keleshev, Blake Williams, Alex Speller, Nima Johari
[License] MIT
[Description] Parse command line arguments from a usage message. This is the Ruby port of docopt, the option parser originally written in Python. docopt generates the parser from the usage message and option description written in the program's docstring. Required for haiti (https://bugs.kali.org/view.php?id=6797)
[Dependencies] ruby (runtime); build needs gem2deb, rake, python3 (test runner), ruby-json, ruby-test-unit
[Similar tools] ruby-optparse. docopt also has implementations for Python, Go, Rust and others.
[Activity] last upstream version was in 2018.
[How to install] gem install docopt
[How to use] require "docopt"; Docopt::docopt(doc)

Activities

Hash-AK

Hash-AK

2026-10-29 01:11

reporter   ~0022116

This was built from the released 0.6.1 gem using gem2deb. There's one patch file in debian/patches to update upstream's tests to Python 3 (which used Python 2, so they were failing). I marked it as "Forwarded: not-needed". sbuild builds fine, no lintian errors. The upstream test suite runs during the build (and pass 164/164).
I'm open to maintaining the package.

One thing to note thought is that upstream bumped the gem version but not the Version string inside of the code, so when printing its version from a ruby script it incorrectly displays 0.6.0. I did not patch this, and left it as is, let me know if you prefer it corrected.

This is my first time packaging a package for Debian/Kali so feedback is more than welcome.

Issue History

Date Modified Username Field Change
2026-10-28 20:41 Hash-AK New Issue
2026-10-29 01:11 Hash-AK Note Added: 0022116