[Pkg-javascript-commits] [libjs-fetch] 02/03: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Aug 4 14:57:57 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository libjs-fetch.

commit a40f54af9f2d511a50e81f33634fa880ea04a3d2
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Aug 4 15:09:28 2017 +0100

    Initial debianization
---
 debian/changelog     |  5 +++++
 debian/clean         |  1 +
 debian/compat        |  1 +
 debian/control       | 21 +++++++++++++++++++++
 debian/copyright     | 30 ++++++++++++++++++++++++++++++
 debian/gbp.conf      |  7 +++++++
 debian/install       |  1 +
 debian/rules         | 16 ++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 10 files changed, 86 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f0c25fd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjs-fetch (2.0.3-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #870726)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Thu, 03 Aug 2017 12:26:54 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..cfde634
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+fetch.min.js
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1c32b11
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: libjs-fetch
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: javascript
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               node-uglify
+Standards-Version: 4.0.0
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/libjs-fetch.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/libjs-fetch.git
+Homepage: https://github.com/github/fetch
+
+Package: libjs-fetch
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: window.fetch JavaScript polyfill
+ The fetch() function is a Promise-based mechanism for programmatically making
+ web requests in the browser. This project is a polyfill that implements a
+ subset of the standard Fetch specification, enough to make fetch a viable
+ replacement for most uses of XMLHttpRequest in traditional web applications.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..aba2d5b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fetch
+Source: https://github.com/github/fetch
+
+Files: *
+Copyright: 2014-2016 GitHub, Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Ghislain Antony Vaillant <ghisvail at gmail.com>
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f53906f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+sign-tags = True
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..34c2ab0
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+fetch*.js /usr/share/javascript/fetch/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f5eb5bf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	uglifyjs -o fetch.min.js fetch.js
+
+# Testing is disabled because phantomjs cannot run headless on Debian.
+override_dh_auto_test:
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
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/watch b/debian/watch
new file mode 100644
index 0000000..a46957a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?@ANY_VERSION@\.tar\.gz/fetch-$1\.tar\.gz/ \
+https://github.com/github/fetch/tags .*/v?@ANY_VERSION@\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/libjs-fetch.git



More information about the Pkg-javascript-commits mailing list