[Pkg-javascript-commits] [node-unicode-data] 03/03: Packaging latest upstream commit
Julien Puydt
julien.puydt at laposte.net
Thu Sep 7 19:28:43 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-data.
commit 3e546942c06afb7554dac153a3f42bfee44dc774
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Thu Sep 7 21:03:52 2017 +0200
Packaging latest upstream commit
---
debian/README.source | 5 -----
debian/changelog | 4 ++--
debian/control | 1 +
debian/patches/don_t_ship_unneeded.patch | 6 +++---
debian/patches/use_fs_extra_for_cp | 8 ++++----
5 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index dde15cd..169088a 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -8,8 +8,3 @@ So to get something useful, we take a git commit and use it to generate the
package ; with the following modifications:
- remove .git/
- remove data/ (which means we have our own resources.js)
-
-Notice that at the moment, I am packaging an old commit, because there are
-less dependencies -- and more interestingly, a dependency loop! The goal is
-to get node-unicode-10.0.0 from that old commit, which will then allow working
-on packages for the deps, and then a more recent commit.
diff --git a/debian/changelog b/debian/changelog
index 81c3a48..a939e51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-unicode-data (0~20170824+git833a20b-1) UNRELEASED; urgency=medium
+node-unicode-data (0~20170907+gitcb53c2ac-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #872697)
- -- Julien Puydt <julien.puydt at laposte.net> Thu, 24 Aug 2017 18:54:45 +0200
+ -- Julien Puydt <julien.puydt at laposte.net> Thu, 07 Sep 2017 21:03:35 +0200
diff --git a/debian/control b/debian/control
index ba2023f..cf64afd 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 10),
node-mkdirp (>= 0.5.0),
node-regenerate (>= 1.2.1),
node-request (>= 2.26.1),
+ node-unicode-loose-match,
node-unicode-property-aliases (>= 1.0.0),
node-unicode-property-value-aliases (>= 1.0.1),
node-when (>= 3.7.7),
diff --git a/debian/patches/don_t_ship_unneeded.patch b/debian/patches/don_t_ship_unneeded.patch
index 865aad9..a9c4021 100644
--- a/debian/patches/don_t_ship_unneeded.patch
+++ b/debian/patches/don_t_ship_unneeded.patch
@@ -1,8 +1,8 @@
--- a/index.js
+++ b/index.js
-@@ -97,14 +97,6 @@
+@@ -132,14 +132,6 @@
}
- });
+ }
fs.writeFileSync(
- path.resolve(__dirname, 'output', 'unicode-' + version, 'README.md'),
- compileReadMe({
@@ -15,7 +15,7 @@
path.resolve(__dirname, 'output', 'unicode-' + version, 'index.js'),
compileIndex({ 'version': version, 'data': jsesc(dirMap) })
);
-@@ -112,15 +104,6 @@
+@@ -147,15 +139,6 @@
path.resolve(__dirname, 'output', 'unicode-' + version, 'package.json'),
compilePackage({ 'version': version })
);
diff --git a/debian/patches/use_fs_extra_for_cp b/debian/patches/use_fs_extra_for_cp
index 0faab40..ce938ea 100644
--- a/debian/patches/use_fs_extra_for_cp
+++ b/debian/patches/use_fs_extra_for_cp
@@ -1,15 +1,15 @@
--- a/index.js
+++ b/index.js
-@@ -8,7 +8,7 @@
- parsers.parseCaseFolding = require('./scripts/parse-case-folding.js');
- parsers.parseScriptExtensions = require('./scripts/parse-script-extensions.js');
+@@ -13,7 +13,7 @@
+ parsers.parseWordBreak = require('./scripts/parse-word-break.js');
+ parsers.parseNames = require('./scripts/parse-names.js');
const extend = utils.extend;
-const cp = require('cp');
+const copySync = require('fs-extra').copySync;
const jsesc = require('jsesc');
const template = require('lodash.template');
-@@ -116,7 +116,7 @@
+@@ -151,7 +151,7 @@
'.gitattributes',
'.gitignore'
].forEach(function(file) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-unicode-data.git
More information about the Pkg-javascript-commits
mailing list