[DRE-commits] [SCM] ruby-pygments.rb.git branch, master, updated. upstream/0.4.2_git.20130316.f82642a-6-g13260fd

Per Andersson avtobiff at gmail.com
Tue Mar 19 12:53:10 UTC 2013


The following commit has been merged in the master branch:
commit 3024bfb71b459a78e97b8d819285c003c947adbe
Author: Per Andersson <avtobiff at gmail.com>
Date:   Tue Mar 19 13:48:12 2013 +0100

    Fix mentos.py script
    
    * Depends on python
    * Make python script executable

diff --git a/debian/control b/debian/control
index 4930a32..a54ace3 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Provides: ruby-pygments
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+ python,
  python-pygments,
  ruby | ruby-interpreter,
  ruby-posix-spawn,
diff --git a/debian/rules b/debian/rules
index 023d57c..37b3b9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,11 @@ override_dh_auto_build:
 	dh_auto_build
 	# build documention
 	rdoc lib
+
+override_dh_auto_install:
+	dh_auto_install
+	# make mentos.py executable
+	chmod 0755 debian/ruby-pygments.rb/usr/lib/ruby/vendor_ruby/pygments/mentos.py
 	# remove bundled jquery.js
 	rm -f tmp/tmp/usr/share/doc/ruby-pygments.rb-doc/html/js/jquery.js
 

-- 
ruby-pygments.rb.git



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