Commit d3b46e07 authored by Bastien Roucariès's avatar Bastien Roucariès

Finalize

parent 13f669f7
node-type-is (1.6.16-1) unstable; urgency=medium
* Team upload
* New upstream version
* Move to section javascript
* Bump policy and standard version
-- Bastien Roucariès <rouca@debian.org> Wed, 20 Jun 2018 15:34:34 +0200
node-type-is (1.5.2-1) unstable; urgency=medium
* Imported Upstream version 1.5.2
......@@ -18,7 +27,7 @@ node-type-is (1.3.2-1) unstable; urgency=low
and build-deps according with new version
- add node-mocha and node-should as build-deps, needed to run
tests
- move package from collab-maint to pkg-javascript area at
- move package from collab-maint to pkg-javascript area at
Alioth, update Vcs-* fields accordingly
* debian/rules: enable source tests
* debian/copyright
......
Source: node-type-is
Section: web
Priority: extra
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Leo Iannacone <l3on@ubuntu.com>
Build-Depends:
debhelper (>= 9)
debhelper (>= 11)
, dh-buildinfo
, node-mime-types
, node-media-typer
, node-mocha
Standards-Version: 3.9.6
Homepage: http://github.com/jshttp/type-is
XS-Testsuite: autopkgtest
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-type-is.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-type-is.git
, node-mocha <!nocheck>
Standards-Version: 4.1.4
Homepage: https://github.com/jshttp/type-is
Vcs-Git: https://salsa.debian.org/js-team/node-type-is.git
Vcs-Browser: https://salsa.debian.org/js-team/node-type-is
Package: node-type-is
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: type-is
Upstream-Contact: http://github.com/jshttp/type-is/issues
Source: http://github.com/jshttp/type-is
Files: *
Copyright: 2014 Jonathan Ong <me@jongleberry.com>
Copyright: 2014-2018 Jonathan Ong <me@jongleberry.com>
2014-2018 Douglas Christopher Wilson <doug@somethingdoug.com>
License: Expat
Files: debian/*
......
......@@ -7,8 +7,17 @@
%:
dh $@
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_test:
mocha -C --reporter spec --check-leaks --bail test/
else
override_dh_auto_test:
@echo '**********************************************************'
@echo 'Skip test suite '
@echo '**********************************************************'
endif
override_dh_installchangelogs:
dh_installchangelogs -k HISTORY.md
Tests: require
Depends: node-type-is
Depends: node-type-is, nodejs (>= 6)
Test-Command: mocha -C --reporter spec --check-leaks --bail test/
Depends: @, mocha
#!/bin/sh
set -e
nodejs -e "require('type-is');"
node -e "require('type-is');"
version=3
version=4
opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-type-is-$1.tar.gz/ \
http://github.com/jshttp/type-is/tags .*/archive/v?([\d\.]+).tar.gz
https://github.com/jshttp/type-is/tags .*/archive/v?([\d\.]+).tar.gz
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