[Pkg-javascript-commits] [mathjax] 01/01: New upstream release.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Tue Feb 27 11:52:12 UTC 2018
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository mathjax.
commit 4b48f8d4432d3830cf718c4ec57a2cac90dcc899
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Tue Feb 27 14:45:56 2018 +0300
New upstream release.
Use manual code to download upstream tarballs instead of uscan,
until bug #855464 is fixed.
---
debian/changelog | 8 ++++++++
debian/copyright | 5 -----
debian/rules | 16 ++++++++++++++++
debian/watch | 2 +-
4 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d3cc13b..1522bc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mathjax (2.7.3+dfsg-1) UNRELEASED; urgency=medium
+
+ * New upstream release.
+ * Use manual code to download upstream tarballs instead of uscan,
+ until bug #855464 is fixed.
+
+ -- Dmitry Shachnev <mitya57 at debian.org> Tue, 27 Feb 2018 14:43:05 +0300
+
mathjax (2.7.2+dfsg-1) unstable; urgency=medium
* New upstream release (closes: #883227).
diff --git a/debian/copyright b/debian/copyright
index 4e5b7d7..cc323d6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,11 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: MathJax
Source: https://github.com/mathjax/MathJax
-Files-Excluded: config extensions jax localization
- unpacked/extensions/a11y/mathjax-sre.js
- unpacked/extensions/a11y/mathmaps
- unpacked/extensions/a11y/wgxpath.install.js
- fonts/HTML-CSS/TeX/png
Files: *
Copyright: 2009-2017 The MathJax Consortium
diff --git a/debian/rules b/debian/rules
index d1edbe1..749920f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,16 @@
# -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small.
+include /usr/share/dpkg/pkg-info.mk
+
+UPSTREAM_VERSION = $(DEB_VERSION_UPSTREAM:+dfsg=)
+
+DELETED_FILES = config extensions jax localization \
+ unpacked/extensions/a11y/mathjax-sre.js \
+ unpacked/extensions/a11y/mathmaps \
+ unpacked/extensions/a11y/wgxpath.install.js \
+ fonts/HTML-CSS/TeX/png
+
%:
dh $@
@@ -12,3 +22,9 @@ override_dh_auto_build:
override_dh_auto_clean:
rm -rfv config/ extensions/ jax/ localization/
rm -fv MathJax.js
+
+get-orig-source:
+ uscan --noconf --download-current-version --no-symlink
+ gunzip -c ../$(UPSTREAM_VERSION).tar.gz | \
+ tar --delete $(addprefix MathJax-$(UPSTREAM_VERSION)/,$(DELETED_FILES)) | \
+ xz -z > ../mathjax_$(UPSTREAM_VERSION)+dfsg.orig.tar.xz
diff --git a/debian/watch b/debian/watch
index 4d229fa..c2ba49c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -4,5 +4,5 @@
# Compulsory line, this is a version 3 file
version=3
-opts=uversionmangle=s/-/~/,dversionmangle=s/\+dfsg//,repack,repacksuffix=+dfsg,compression=xz \
+opts=uversionmangle=s/-/~/,dversionmangle=s/\+dfsg// \
https://github.com/mathjax/MathJax/releases .*/archive/v?(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax.git
More information about the Pkg-javascript-commits
mailing list