[Pkg-javascript-commits] [node-unicode-property-aliases] 01/04: Use unicode-data instead of shipping the needed data

Julien Puydt julien.puydt at laposte.net
Thu Sep 7 18:03:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-unicode-property-aliases.

commit 1f4c37d51032d0930aaa2304d700358f99228892
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Sep 7 19:53:58 2017 +0200

    Use unicode-data instead of shipping the needed data
---
 debian/copyright | 2 ++
 debian/rules     | 4 +++-
 debian/watch     | 3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 8ba234e..ff9068f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: unicode-property-aliases
 Upstream-Contact: https://github.com/mathiasbynens/unicode-property-aliases/issues
 Source: https://github.com/mathiasbynens/unicode-property-aliases
+Comment: Use unicode-data instead of shipping a copy of the needed data
+Files-Excluded: data
 
 Files: *
 Copyright: 2017 Mathias Bynens (https://mathiasbynens.be/)
diff --git a/debian/rules b/debian/rules
index 21e77e6..bbe7f9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,10 @@
 	dh $@
 
 override_dh_auto_build:
+	mkdir data
+	ln -s /usr/share/unicode/PropertyAliases.txt data/
 	mkdir dist
 	(cd dist ; node ../scripts/build.js)
 
 override_dh_auto_clean:
-	rm -rf build
+	rm -rf dist data
diff --git a/debian/watch b/debian/watch
index 1243205..61a8a18 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=4
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unicode-property-aliases-$1.tar.gz/ \
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unicode-property-aliases-$1.tar.gz/,\
+repacksuffix=+ds \
  https://github.com/mathiasbynens/unicode-property-aliases/tags .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-unicode-property-aliases.git



More information about the Pkg-javascript-commits mailing list