[Pkg-javascript-commits] [node-contextify] 02/02: Import Debian patch 0.1.6-1

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Oct 25 10:21:40 UTC 2016


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

praveen pushed a commit to branch master
in repository node-contextify.

commit 36e16e7cc5ed7a6a6a356fd0b2035f5ec56b470a
Merge: f525c97 2f8d62a
Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Date:   Mon Sep 16 14:13:05 2013 +0200

    Import Debian patch 0.1.6-1

 .npmignore => .gitignore                 |   1 -
 .npmignore                               |   6 +-
 Makefile                                 |  12 +++
 README.md                                |   6 +-
 changelog                                |   9 +++
 debian/changelog                         |   9 +++
 debian/compat                            |   2 +-
 debian/control                           |   9 ++-
 debian/copyright                         |   3 +-
 debian/patches/00-fix_require.patch      |  12 +--
 debian/patches/01-move_to_node-gyp.patch |  22 ++++++
 debian/patches/series                    |   1 +
 debian/rules                             |   6 +-
 debian/source/include-binaries           |   3 +
 debian/watch                             |   6 +-
 lib/contextify.js                        |  22 +++++-
 package.json                             |   2 +-
 src/contextify.cc                        | 129 +++++++++++++++++++++----------
 test/contextify.js                       |  96 ++++++++++++++++++++++-
 wscript                                  |   3 +-
 20 files changed, 289 insertions(+), 70 deletions(-)

diff --cc debian/changelog
index 8e953ad,0000000..2647f5e
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,33 -1,0 +1,42 @@@
++node-contextify (0.1.6-1) unstable; urgency=low
++
++  * New upstream release.
++  * Move to debhelper level 9 for hardening.
++  * Update packaging to node-gyp (closes: #719377).
++  * New maintainer, but leave David in for now.
++
++ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Mon, 16 Sep 2013 14:13:05 +0200
++
 +node-contextify (0.1.2-2) unstable; urgency=low
 +
 +  * Fixed reference to local compiled version of the module
 +    (Closes: #670312)
 +
 + -- David Paleino <dapal at debian.org>  Tue, 24 Apr 2012 22:00:23 +0200
 +
 +node-contextify (0.1.2-1) unstable; urgency=low
 +
 +  * New upstream version
 +  * Standards-Version bump to 3.9.3, no changes needed
 +  * Update debian/copyright
 +  * Refreshed patch to fix requirement on node-bindings
 +
 + -- David Paleino <dapal at debian.org>  Sat, 14 Apr 2012 23:46:33 +0200
 +
 +node-contextify (0.0.7-1) unstable; urgency=low
 +
 +  * New upstream version
 +
 + -- David Paleino <dapal at debian.org>  Sat, 31 Dec 2011 11:47:46 +0100
 +
 +node-contextify (0.0.6-2) unstable; urgency=low
 +
 +  * Fix installation of contextify
 +
 + -- David Paleino <dapal at debian.org>  Sun, 06 Nov 2011 21:10:47 +0100
 +
 +node-contextify (0.0.6-1) unstable; urgency=low
 +
 +  * Initial release
 +
 + -- David Paleino <dapal at debian.org>  Sat, 29 Oct 2011 15:59:32 +0200
diff --cc debian/compat
index 45a4fb7,0000000..ec63514
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 8
++9
diff --cc debian/control
index 62c2b15,0000000..f7e4dcf
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,32 -1,0 +1,35 @@@
 +Source: node-contextify
 +Section: devel
 +Priority: extra
 +Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
- Uploaders: David Paleino <dapal at debian.org>
++Uploaders: Laszlo Boszormenyi (GCS) <gcs at debian.org>,
++ David Paleino <dapal at debian.org>
 +Build-Depends:
-  debhelper (>= 8~)
++ debhelper (>= 9)
 + , nodejs-dev
++ , node-gyp
++ , npm
 + , dh-buildinfo
- Standards-Version: 3.9.3
++Standards-Version: 3.9.4
 +Homepage: https://github.com/brianmcd/contextify
 +Vcs-Git: git://git.debian.org/collab-maint/node-contextify.git
 +Vcs-Browser: http://git.debian.org/?p=collab-maint/node-contextify.git;a=summary
 +
 +Package: node-contextify
 +Architecture: any
 +Depends:
 + ${shlibs:Depends}
 + , ${misc:Depends}
 + , nodejs
 +Description: turn an object into a persistent execution context
 + Contextify is a NodeJS module that lets you to turn an object into a
 + persistent V8 execution context.
 + .
 + A contextified object acts as the global 'this' when executing scripts
 + in its context.  Contextify adds 3 methods to the contextified object:
 +  - run(code, filename);
 +  - getGlobal();
 +  - dispose().
 + The main difference between Contextify and Node's vm methods is that
 + Contextify allows asynchronous functions to continue executing in the
 + Contextified object's context.
diff --cc debian/copyright
index a747da3,0000000..dfc5cca
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,31 -1,0 +1,32 @@@
 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
 +
 +Files: *
 +Copyright: © 2011, Brian McDaniel <brianmcd05 at gmail.com>
 +License: MIT
 +
 +Files: debian/*
- Copyright: © 2011-2012, David Paleino <dapal at debian.org>
++Copyright: © 2013, Laszlo Boszormenyi (GCS) <gcs at debian.org>,
++ © 2011-2012, David Paleino <dapal at debian.org>
 +License: MIT
 +
 +License: MIT
 + Permission is hereby granted, free of charge, to any person
 + obtaining a copy of this software and associated documentation
 + files (the "Software"), to deal in the Software without
 + restriction, including without limitation the rights to use,
 + copy, modify, merge, publish, distribute, sublicense, and/or sell
 + copies of the Software, and to permit persons to whom the
 + Software is furnished to do so, subject to the following
 + conditions:
 + .
 + The above copyright notice and this permission notice shall be
 + included in all copies or substantial portions of the Software.
 + .
 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 + OTHER DEALINGS IN THE SOFTWARE.
diff --cc debian/patches/00-fix_require.patch
index eaa6d9f,0000000..0fcb609
mode 100644,000000..100644
--- a/debian/patches/00-fix_require.patch
+++ b/debian/patches/00-fix_require.patch
@@@ -1,17 -1,0 +1,17 @@@
 +From: David Paleino <dapal at debian.org>
 +Subject: fix requirement of compiled module
 +Origin: vendor
 +Forwarded: no
 +
 +---
 + lib/contextify.js |    2 +-
 + 1 file changed, 1 insertion(+), 1 deletion(-)
 +
- --- node-contextify.orig/lib/contextify.js
- +++ node-contextify/lib/contextify.js
++--- node-contextify-0.1.6.orig/lib/contextify.js
+++++ node-contextify-0.1.6/lib/contextify.js
 +@@ -1,4 +1,4 @@
- -var ContextifyContext = require('bindings')('contextify').ContextifyContext;
- +var ContextifyContext = require('./contextify').ContextifyContext;
++-var binding = require('bindings')('contextify');
+++var binding = require('./contextify');
++ var ContextifyContext = binding.ContextifyContext;
++ var ContextifyScript = binding.ContextifyScript;
 + 
-  module.exports = function Contextify (sandbox) {
-      if (typeof sandbox != 'object') {
diff --cc debian/patches/01-move_to_node-gyp.patch
index 0000000,0000000..8499415
new file mode 100644
--- /dev/null
+++ b/debian/patches/01-move_to_node-gyp.patch
@@@ -1,0 -1,0 +1,22 @@@
++Description: node-waf is deprecated to node-gyp
++ Execute node-gyp instead of node-waf .
++Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
++Last-Update: 2013-09-16
++
++---
++
++--- node-contextify-0.1.6.orig/Makefile
+++++ node-contextify-0.1.6/Makefile
++@@ -3,10 +3,10 @@ all: build
++ .PHONY: test clean
++ 
++ clean:
++-	node-waf distclean
+++	node-gyp distclean
++ 
++ build: src/contextify.cc
++-	node-waf distclean && node-waf configure build
+++	node-gyp distclean && node-gyp configure build
++ 
++ test:
++ 	npm test
diff --cc debian/patches/series
index 8e4fa17,0000000..3c68573
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,2 @@@
 +00-fix_require.patch
++01-move_to_node-gyp.patch
diff --cc debian/rules
index 65fc744,0000000..a32636d
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,37 -1,0 +1,39 @@@
 +#!/usr/bin/make -f
 +# -*- makefile -*-
 +
 +# Uncomment this to turn on verbose mode.
 +#export DH_VERBOSE=1
 +
 +%:
 +	dh $@
 +
 +override_dh_auto_configure:
- 	node-waf configure
++	node-gyp configure
 +
 +override_dh_auto_build:
- 	node-waf build
++	node-gyp build
 +
 +override_dh_install:
 +	dh_install
 +	dh_buildinfo
 +
 +	mv $(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.js \
 +		$(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextifyjs.js
 +
 +override_dh_shlibdeps:
 +	dpkg-shlibdeps \
 +		-T$(CURDIR)/debian/node-contextify.substvars \
 +		$(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.node
 +
 +override_dh_strip:
 +	strip \
 +		--remove-section=.comment \
 +		--remove-section=.note \
 +		--strip-unneeded \
 +		$(CURDIR)/debian/node-contextify/usr/lib/nodejs/contextify/contextify.node
 +
 +override_dh_clean:
 +	dh_clean
 +	rm -rf build/ .lock-wscript
++
++override_dh_auto_test:
diff --cc debian/source/include-binaries
index 0000000,0000000..586c935
new file mode 100644
--- /dev/null
+++ b/debian/source/include-binaries
@@@ -1,0 -1,0 +1,3 @@@
++build/Release/contextify.node
++build/Release/obj.target/contextify.node
++build/Release/obj.target/contextify/src/contextify.o
diff --cc debian/watch
index 170b642,0000000..8f1bfd4
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,5 -1,0 +1,3 @@@
 +version=3
- opts=\
- dversionmangle=s/\?(debian|dfsg|ds|deb)\d*$//,\
- filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-contextify-$1.tar.gz/ \
-  https://github.com/brianmcd/contextify/tags .*/archive/v?([\d\.]+).tar.gz
++https://alioth.debian.org/~dapal/npmjs.php?id=contextify \
++	http://registry.npmjs.org/contextify/-/contextify-(\d+.*)\.tgz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-contextify.git



More information about the Pkg-javascript-commits mailing list