Le 30/05/2019 à 06:10, Nilesh Patra a écrit :
> Hi! 
> With reference to the conversation in  these mails for d3-scale-chtomatic : 
> 
> https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2019-February/031950.html
> 
> I have made the changes asked and it does work fine as per my
> understanding. I have pushed the changes to my local fork here at : 
> 
> https://salsa.debian.org/gi-boi-guest/node-d3-scale-chromatic
> 
> It is my request that the package is uploaded by someone who can upload it. 
> 
> Awaiting response 
> 
> Regards 
> Nilesh

Hello,

autopkgtest didn't work, also you duplicated some autopkgtests. Here are
my changes. Could you commit this directly in
[email protected]:js-team/node-d3-scale-chromatic.git ?

Cheers,
Xavier
diff --git a/debian/control b/debian/control
index 5946dc8..2044588 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <[email protected]>
 Uploaders: Ambady Anand S <[email protected]>, Nilesh <[email protected]>
-Testsuite: autopkgtest-nodejs
+Testsuite: autopkgtest-pkg-nodejs
 Build-Depends:
  debhelper (>= 11)
  , nodejs (>= 6)
diff --git a/debian/install b/debian/install
index fabc098..bba7166 100644
--- a/debian/install
+++ b/debian/install
@@ -1,5 +1,3 @@
 package.json usr/lib/nodejs/d3-scale-chromatic/
 rollup.config.js usr/lib/nodejs/d3-scale-chromatic/
 dist usr/lib/nodejs/d3-scale-chromatic/
-src usr/lib/nodejs/d3-scale-chromatic/
-yarn.lock usr/lib/nodejs/d3-scale-chromatic/
diff --git a/debian/rules b/debian/rules
index 06de4c3..534210b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,17 +9,3 @@
 
 override_dh_auto_build:
 	rollup src/index.js -o dist/d3-scale-chromatic.js -f umd -n d3 -g d3-color:d3,d3-interpolate:d3 -e d3-color,d3-interpolate --no-indent --extend true
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
-	tape 'test/**/*-test.js'
-else
-	@echo '**********************************************************'
-	@echo 'Skip test suite                                           '
-	@echo '**********************************************************'
-
-endif
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf dist
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index 11fa076..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,5 +0,0 @@
-Tests: require
-Depends: node-d3-scale-chromatic
-
-Test-command: tape 'test/**/*-test.js'
-Depends: @, node-tape
diff --git a/debian/tests/pkg-js/test b/debian/tests/pkg-js/test
index 700fb5d..305491f 100644
--- a/debian/tests/pkg-js/test
+++ b/debian/tests/pkg-js/test
@@ -1 +1 @@
-tape 'test/**/*-test.js'
\ No newline at end of file
+tape 'test/**/*-test.js'
diff --git a/debian/tests/require b/debian/tests/require
deleted file mode 100644
index 6ef7540..0000000
--- a/debian/tests/require
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-set -e
-node -e "require('d3-scale-chromatic');"
-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to