[Pkg-javascript-commits] [node-parse-filepath] 02/06: initial debian dir

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 12 15:14:30 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-parse-filepath.

commit f81b95520629f9a75e4e7891278224f0a5c375d3
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 12 15:08:44 2016 +0000

    initial debian dir
---
 debian/changelog                        |  5 ++++
 debian/compat                           |  1 +
 debian/control                          | 28 ++++++++++++++++++
 debian/copyright                        | 50 +++++++++++++++++++++++++++++++++
 debian/docs                             |  1 +
 debian/install                          |  2 ++
 debian/patches/00-path-is-absolute.diff | 17 +++++++++++
 debian/patches/series                   |  1 +
 debian/rules                            | 15 ++++++++++
 debian/source/format                    |  1 +
 debian/tests/control                    |  2 ++
 debian/tests/require                    |  3 ++
 debian/watch                            |  6 ++++
 13 files changed, 132 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b24ee24
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-parse-filepath (1.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #847911)
+
+ -- Paolo Greppi <paolo.greppi at libpf.com>  Mon, 12 Dec 2016 14:57:27 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..563c687
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: node-parse-filepath
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+Standards-Version: 3.9.8
+Homepage: https://github.com/jonschlinkert/parse-filepath
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-parse-filepath.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-parse-filepath.git
+
+Package: node-parse-filepath
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-path-root (>= 0.1.1)
+ , node-map-cache (>= 0.2.0)
+ , node-path-is-absolute
+Description: Parses a filepath into an object
+ Node.js module that provides a polyfill for the native path.parse,
+ that parses a filepath into an object with absolute filepath,
+ dirname, basename, extname etc.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a8d871d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: parse-filepath
+Upstream-Contact: https://github.com/jonschlinkert/parse-filepath/issues
+Source: https://github.com/jonschlinkert/parse-filepath
+
+Files: *
+Copyright: 2016 Jon Schlinkert (https://github.com/jonschlinkert)
+License: Expat
+
+License: Expat
+ 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.
+
+Files: debian/*
+Copyright: 2016 Paolo Greppi <paolo.greppi at libpf.com>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..9435207
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/parse-filepath/
+index.js usr/lib/nodejs/parse-filepath/
diff --git a/debian/patches/00-path-is-absolute.diff b/debian/patches/00-path-is-absolute.diff
new file mode 100644
index 0000000..30b4cf8
--- /dev/null
+++ b/debian/patches/00-path-is-absolute.diff
@@ -0,0 +1,17 @@
+Description: Patch the dependency on is-absolute with path-is-absolute
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-parse-filepath/index.js
+===================================================================
+--- node-parse-filepath.orig/index.js
++++ node-parse-filepath/index.js
+@@ -1,7 +1,7 @@
+ 'use strict';
+ 
+ var path = require('path');
+-var isAbsolute = require('is-absolute');
++var isAbsolute = require('path-is-absolute');
+ var pathRoot = require('path-root');
+ var MapCache = require('map-cache');
+ var cache = new MapCache();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9057e9c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-path-is-absolute.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de57af0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+#override_dh_auto_build:
+
+#override_dh_auto_test:
+
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9ccc9dc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-parse-filepath
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..9a5ba9f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('parse-filepath');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..736e60c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-parse-filepath-$1.tar.gz/ \
+ https://github.com/jonschlinkert/parse-filepath/tags .*/archive/v?([\d\.]+).tar.gz
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-parse-filepath.git



More information about the Pkg-javascript-commits mailing list