[Pkg-javascript-commits] [node-unicode-property-value-aliases] 01/06: Use the unicode-data package instead of shipping a copy of the needed data

Julien Puydt julien.puydt at laposte.net
Thu Sep 7 19:28:14 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-value-aliases.

commit a5c411fe6bf9692d2b32283951e0691412a05eea
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Sep 7 19:47:05 2017 +0200

    Use the unicode-data package instead of shipping a copy of the needed data
---
 debian/control   | 2 +-
 debian/copyright | 1 +
 debian/rules     | 2 ++
 debian/watch     | 3 ++-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index dda2a4f..ac7750a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 10), nodejs, node-jsesc, node-unicode-property-aliases
+Build-Depends: debhelper (>= 10), nodejs, node-jsesc, node-unicode-property-aliases, unicode-data
 Standards-Version: 4.1.0
 Homepage: https://github.com/mathiasbynens/unicode-property-value-aliases
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-unicode-property-value-aliases.git
diff --git a/debian/copyright b/debian/copyright
index f04462a..0cf5f42 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: unicode-property-value-aliases
 Upstream-Contact: https://github.com/mathiasbynens/unicode-property-value-aliases/issues
 Source: https://github.com/mathiasbynens/unicode-property-value-aliases
+Files-Excluded: data
 
 Files: *
 Copyright: 2017 Mathias Bynens (https://mathiasbynens.be/)
diff --git a/debian/rules b/debian/rules
index 2aaf766..9420c27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 	dh $@
 
 override_dh_auto_build:
+	mkdir data
+	ln -s /usr/share/unicode/PropertyValueAliases.txt data/
 	mkdir dist
 	(cd dist ; node ../scripts/build.js)
 
diff --git a/debian/watch b/debian/watch
index cc9c19a..5b642b2 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-value-aliases-$1.tar.gz/ \
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unicode-property-value-aliases-$1.tar.gz/,\
+repacksuffix=+ds \
  https://github.com/mathiasbynens/unicode-property-value-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-value-aliases.git



More information about the Pkg-javascript-commits mailing list