[Pkg-javascript-commits] [Git][js-team/node-wide-align][master] 13 commits: Bump debhelper compatibility level to 12

Xavier Guimard gitlab at salsa.debian.org
Wed Aug 28 21:36:16 BST 2019



Xavier Guimard pushed to branch master at Debian JavaScript Maintainers / node-wide-align


Commits:
a78c291c by Xavier Guimard at 2019-08-28T20:23:51Z
Bump debhelper compatibility level to 12

- - - - -
2de5780e by Xavier Guimard at 2019-08-28T20:23:51Z
Declare compliance with policy 4.4.0

- - - - -
77084ea5 by Xavier Guimard at 2019-08-28T20:23:51Z
Change section to javascript

- - - - -
6f5b9eb2 by Xavier Guimard at 2019-08-28T20:23:51Z
Add debian/gbp.conf

- - - - -
fa6cf256 by Xavier Guimard at 2019-08-28T20:23:52Z
Add upstream/metadata

- - - - -
e904257e by Xavier Guimard at 2019-08-28T20:24:58Z
New upstream version 1.1.3
- - - - -
d01dc958 by Xavier Guimard at 2019-08-28T20:24:59Z
Update upstream source from tag 'upstream/1.1.3'

Update to upstream version '1.1.3'
with Debian dir 53c7c261f0f61fb5ace8d7d668a38c82371113c4
- - - - -
158ac1ac by Xavier Guimard at 2019-08-28T20:28:57Z
Switch install to pkg-js-tools

- - - - -
d95be04b by Xavier Guimard at 2019-08-28T20:29:21Z
Enable upstream test using pkg-js-tools

- - - - -
ebdd3af9 by Xavier Guimard at 2019-08-28T20:32:02Z
Update VCS fields to salsa

- - - - -
58b6cb64 by Xavier Guimard at 2019-08-28T20:32:43Z
Update debian/copyright

- - - - -
58188bd8 by Xavier Guimard at 2019-08-28T20:34:40Z
Update link

- - - - -
3a0829c9 by Xavier Guimard at 2019-08-28T20:35:52Z
releasing package node-wide-align version 1.1.3-1

- - - - -


15 changed files:

- − .npmignore
- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- + debian/gbp.conf
- − debian/install
- debian/rules
- − debian/tests/control
- + debian/tests/pkg-js/test
- − debian/tests/require
- + debian/upstream/metadata
- + package-lock.json
- package.json
- test/align.js


Changes:

=====================================
.npmignore deleted
=====================================
@@ -1,5 +0,0 @@
-*~
-/node_modules
-.#*
-/.nyc_output
-/coverage


=====================================
debian/changelog
=====================================
@@ -1,8 +1,23 @@
-node-wide-align (1.1.0-2) UNRELEASED; urgency=medium
+node-wide-align (1.1.3-1) unstable; urgency=medium
 
-  * Switch to github tarballs 
+  * Team upload
 
- -- Pirate Praveen <praveen at debian.org>  Fri, 12 May 2017 10:36:26 +0530
+  [ Pirate Praveen ]
+  * Switch to github tarballs
+
+  [ Xavier Guimard ]
+  * Bump debhelper compatibility level to 12
+  * Declare compliance with policy 4.4.0
+  * Change section to javascript
+  * Add debian/gbp.conf
+  * Add upstream/metadata
+  * New upstream version 1.1.3
+  * Switch install to pkg-js-tools
+  * Enable upstream test using pkg-js-tools
+  * Update VCS fields to salsa
+  * Update debian/copyright
+
+ -- Xavier Guimard <yadd at debian.org>  Wed, 28 Aug 2019 22:29:28 +0200
 
 node-wide-align (1.1.0-1) unstable; urgency=low
 


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-9


=====================================
debian/control
=====================================
@@ -1,23 +1,26 @@
 Source: node-wide-align
-Section: web
-Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Pirate Praveen <praveen at debian.org>
+Section: javascript
+Testsuite: autopkgtest-pkg-nodejs
+Priority: optional
 Build-Depends:
- debhelper (>= 9)
- , dh-buildinfo
+ debhelper-compat (= 12)
  , nodejs
-Standards-Version: 3.9.8
+ , node-string-width <!nocheck>
+ , node-tap <!nocheck>
+ , pkg-js-tools (>= 0.9.8)
+Standards-Version: 4.4.0
+Vcs-Browser: https://salsa.debian.org/js-team/node-wide-align
+Vcs-Git: https://salsa.debian.org/js-team/node-wide-align.git
 Homepage: https://github.com/iarna/wide-align#readme
-Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-wide-align.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-wide-align.git
 
 Package: node-wide-align
 Architecture: all
 Depends:
  ${misc:Depends}
  , nodejs
- , node-string-width (>= 1.0.1)
+ , node-string-width
 Description: Wide-character aware text alignment function
  Wide-character aware text alignment function for use on the console or with
  fixed width fonts.


=====================================
debian/copyright
=====================================
@@ -1,14 +1,15 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: wide-align
 Upstream-Contact: https://github.com/iarna/wide-align/issues
 Source: https://github.com/iarna/wide-align#readme
 
 Files: *
-Copyright: 2014 Rebecca Turner <me at re-becca.org> (http://re-becca.org/)
+Copyright: 2015 Rebecca Turner <me at re-becca.org>
 License: ISC
 
 Files: debian/*
 Copyright: 2017 Pirate Praveen <praveen at debian.org>
+ 2019, Xavier Guimard <yadd at debian.org>
 License: ISC
 
 License: ISC
@@ -23,4 +24,3 @@ License: ISC
  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,5 @@
+[DEFAULT]
+pristine-tar = True
+
+[import-orig]
+filter = [ '.gitignore', '.travis.yml', '.git*' ]


=====================================
debian/install deleted
=====================================
@@ -1,2 +0,0 @@
-align.js usr/lib/nodejs/wide-align/
-package.json usr/lib/nodejs/wide-align/


=====================================
debian/rules
=====================================
@@ -5,11 +5,4 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
-
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
-
+	dh $@ --with nodejs


=====================================
debian/tests/control deleted
=====================================
@@ -1,2 +0,0 @@
-Tests: require
-Depends: node-wide-align


=====================================
debian/tests/pkg-js/test
=====================================
@@ -0,0 +1 @@
+tap --coverage test/*.js


=====================================
debian/tests/require deleted
=====================================
@@ -1,3 +0,0 @@
-#!/bin/sh
-set -e
-nodejs -e "require('wide-align');"


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,7 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/iarna/wide-align/issues
+Contact: https://github.com/iarna/wide-align/issues
+Name: wide-align
+Repository: https://github.com/iarna/wide-align.git
+Repository-Browse: https://github.com/iarna/wide-align


=====================================
package-lock.json
=====================================
The diff for this file was not included because it is too large.

=====================================
package.json
=====================================
@@ -1,10 +1,11 @@
 {
   "name": "wide-align",
-  "version": "1.1.0",
+  "version": "1.1.3",
   "description": "A wide-character aware text alignment function for use on the console or with fixed width fonts.",
   "main": "align.js",
   "scripts": {
-    "test": "tap --coverage test/*.js"
+    "test": "tap --coverage test/*.js",
+    "version": "perl -pi -e 's/^(  \"version\": $ENV{npm_config_node_version}\").*?\",/$1abc\",/' package-lock.json ; git add package-lock.json"
   },
   "keywords": [
     "wide",
@@ -21,9 +22,12 @@
     "url": "https://github.com/iarna/wide-align"
   },
   "dependencies": {
-    "string-width": "^1.0.1"
+    "string-width": "^1.0.2 || 2"
   },
   "devDependencies": {
-    "tap": "^2.3.2"
-  }
+    "tap": "10 || 11 || 12"
+  },
+  "files": [
+    "align.js"
+  ]
 }


=====================================
test/align.js
=====================================
@@ -29,9 +29,9 @@ test('align', function (t) {
   t.is(align.center('   ', 2), '   ', 'center align whitespace overflow')
   t.is(align.right('   ', 2), '   ', 'right align whitespace overflow')
 
-  t.is(align.left('x         ', 10), 'x         ', 'left align whitespace mix')
-  t.is(align.center('x         ', 10), '    x     ', 'center align whitespace mix')
-  t.is(align.right('x         ', 10), '         x', 'right align whitespace mix')
+  t.is(align.left('  x  ', 10), '  x       ', 'left align whitespace mix')
+  t.is(align.center('  x  ', 10), '    x     ', 'center align whitespace mix')
+  t.is(align.right('  x  ', 10), '       x  ', 'right align whitespace mix')
 
   t.end()
 })



View it on GitLab: https://salsa.debian.org/js-team/node-wide-align/compare/54dec650478753029c75432d66b72cb8123db457...3a0829c902148ba469580a358f2200752d1adc58

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-wide-align/compare/54dec650478753029c75432d66b72cb8123db457...3a0829c902148ba469580a358f2200752d1adc58
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20190828/3102de32/attachment-0001.html>


More information about the Pkg-javascript-commits mailing list