Commit 5ab6b4a2 authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

New version

parent 30081099
node-cached-path-relative (1.0.1-2) unstable; urgency=medium
* Move to salsa
* Bump policy and comapt (no changes)
-- Bastien Roucariès <rouca@debian.org> Wed, 16 May 2018 18:02:08 +0200
node-cached-path-relative (1.0.1-1) unstable; urgency=low
* Initial release (Closes: #860471)
......
Source: node-cached-path-relative
Section: web
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Bastien Roucariès <rouca@debian.org>
Build-Depends:
debhelper (>= 10)
debhelper (>= 11)
, dh-buildinfo
, nodejs (>= 4.7)
, dpkg-dev (>= 1.17.14)
, node-tape (>= 4.2.0) <!nocheck>
Standards-Version: 3.9.8
, node-tap (>= 8) <!nocheck>
Standards-Version: 4.1.4
Homepage: https://github.com/ashaffer/cached-path-relative#readme
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-cached-path-relative.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-cached-path-relative.git
Vcs-Git: https://salsa.debian.org/js-team/node-cached-path-relative.git
Vcs-Browser: https://salsa.debian.org/js-team/node-cached-path-relative
Package: node-cached-path-relative
Architecture: all
......
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: cached-path-relative
Upstream-Contact: https://github.com/ashaffer/cached-path-relative/issues
Source: https://github.com/ashaffer/cached-path-relative#readme
......
......@@ -12,4 +12,10 @@ override_dh_auto_build:
true
override_dh_auto_test:
tape test/*.js
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
tap -R spec test/*.js
else
@echo '**********************************************************'
@echo 'Skip test suite '
@echo '**********************************************************'
endif
Tests: require
Depends: node-cached-path-relative
Depends: node-cached-path-relative, nodejs (>= 6)
Tests: runtestsuite
Depends: node-cached-path-relative, node-tape (>= 4.2.0)
Depends: node-cached-path-relative, node-tape (>= 4.2.0), node-tap (>= 8)
#!/bin/sh
set -e
nodejs -e "require('cached-path-relative');"
node -e "require('cached-path-relative');"
......@@ -11,4 +11,5 @@ cp -r test $tmpdir/test
find test/ -maxdepth 1 -name '*.js' -print0 | \
xargs -0 -n1 \
sh -c 'set -e; echo "TESTING: $3"; sed "$1" < "$3" > "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
tape $tmpdir/test
cd $tmpdir
tap -R spec test
......@@ -7,4 +7,4 @@ opts=\
"dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
filenamemangle=s/.*=//,\
repacksuffix=+ds" \
http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/cached-path-relative .*=cached-path-relative-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/cached-path-relative .*=cached-path-relative-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment