[Git][debian-gis-team/node-leaflet-hash][master] 5 commits: Remove require, add a simple autopkgtest

Bas Couwenberg gitlab at salsa.debian.org
Mon Feb 10 17:34:21 GMT 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / node-leaflet-hash


Commits:
aa6439da by Nilesh at 2020-02-10T22:41:02+05:30
Remove require, add a simple autopkgtest

- - - - -
73a54e50 by Nilesh at 2020-02-10T22:43:14+05:30
Drop compat, switch to debhelper-compat

- - - - -
a381ec0b by Nilesh at 2020-02-10T22:43:44+05:30
Add "Rules-Requires-Root: no"

- - - - -
c7ab19cb by Nilesh at 2020-02-10T22:46:00+05:30
Install in /usr/share

- - - - -
896cdc38 by Nilesh at 2020-02-10T22:52:18+05:30
Update changelog

- - - - -


7 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/install
- debian/tests/control
- − debian/tests/require
- + debian/tests/runtest


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,19 @@
-node-leaflet-hash (0.2.1-3) UNRELEASED; urgency=medium
+node-leaflet-hash (0.2.1-3) unstable; urgency=medium
 
+  * Team Upload.
+
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.5.0, no changes.
   * Update gbp.conf to use --source-only-changes by default.
   * Drop Name field from upstream metadata.
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 05 Aug 2018 20:35:21 +0200
+  [ Nilesh ]
+  * Remove require, add a simple autopkgtest
+  * Drop compat, switch to debhelper-compat
+  * Add "Rules-Requires-Root: no"
+  * Install in /usr/share
+
+ -- Nilesh <npatra974 at gmail.com>  Mon, 10 Feb 2020 22:46:07 +0530
 
 node-leaflet-hash (0.2.1-2) unstable; urgency=medium
 


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


=====================================
debian/control
=====================================
@@ -3,13 +3,13 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Ross Gammon <rossgammon at mail.dk>
 Section: javascript
 Priority: optional
-Build-Depends: debhelper (>= 9),
-               dh-buildinfo,
+Build-Depends: debhelper-compat (= 12),
                nodejs
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/node-leaflet-hash
 Vcs-Git: https://salsa.debian.org/debian-gis-team/node-leaflet-hash.git
 Homepage: https://github.com/mlevans/leaflet-hash
+Rules-Requires-Root: no
 
 Package: node-leaflet-hash
 Architecture: all


=====================================
debian/install
=====================================
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/leaflet-hash/
-leaflet-hash.js usr/lib/nodejs/leaflet-hash/
+package.json usr/share/nodejs/leaflet-hash/
+leaflet-hash.js usr/share/nodejs/leaflet-hash/


=====================================
debian/tests/control
=====================================
@@ -1,2 +1,3 @@
-Tests: require
-Depends: node-leaflet-hash
+Tests: runtest
+Depends: node-leaflet-hash, node-leaflet, rollup
+Restrictions: allow-stderr
\ No newline at end of file


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


=====================================
debian/tests/runtest
=====================================
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+echo "Test for rollup to be able to bundle a simple code which uses leaflet-hash"
+echo ' 
+	var map = L.map('mapid').setView([51.505, -0.09], 13);
+	var hash = new L.Hash(map);
+' > foo.js
+rollup foo.js --output.file bundle.js --output.format cjs
+rm -f ./bundle.js ./foo.js
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/debian-gis-team/node-leaflet-hash/compare/0ea6b7b1f7b4c1d3811f522a7d16987556e78445...896cdc38ebbeaebde95d7208542c6bb64afdaf90

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/node-leaflet-hash/compare/0ea6b7b1f7b4c1d3811f522a7d16987556e78445...896cdc38ebbeaebde95d7208542c6bb64afdaf90
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-grass-devel/attachments/20200210/84c5bbef/attachment-0001.html>


More information about the Pkg-grass-devel mailing list