Source: sphinx
Version: 1.3.1-2
Tags: patch
libjs-sphinxdoc ships css3-mediaqueries.js, but dh_sphinxdoc won't
symlink this file. The are two reasons for this:
1) The file wasn't included in the index.
2) A regexp in dh_sphinxdoc was too tight, so the file was completely
ignored.
The attached patch fixes both problems.
--
Jakub Wilk
diff --git a/debian/dh-sphinxdoc/dh_sphinxdoc b/debian/dh-sphinxdoc/dh_sphinxdoc
--- a/debian/dh-sphinxdoc/dh_sphinxdoc
+++ b/debian/dh-sphinxdoc/dh_sphinxdoc
@@ -132,7 +132,7 @@
find({
wanted => sub {
my $js = $_;
- my ($jsbase, $jsname) = m{([0-9.]+/(\w+[.]js))$} or return;
+ my ($jsbase, $jsname) = m{([0-9.]+/(\S+[.]js))$} or return;
my $version = $versions{$jsbase};
defined($version) or error("$jsbase is not in the index; is it up-to-date?");
delete $versions{$jsbase};
diff --git a/debian/dh-sphinxdoc/index b/debian/dh-sphinxdoc/index
--- a/debian/dh-sphinxdoc/index
+++ b/debian/dh-sphinxdoc/index
@@ -5,3 +5,4 @@
1.0/sidebar.js
1.0/theme_extras.js
1.0/underscore.js
+1.0/css3-mediaqueries.js 1.3
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team