[Pkg-javascript-commits] [node-supports-color] 02/10: Updating debian packaging for new upstream version.

Mathias Behrle mbehrle at moszumanska.debian.org
Sat Jul 23 13:43:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

mbehrle pushed a commit to branch master
in repository node-supports-color.

commit 1e6722b70dc9853e003dead54d4ec1f158217cbf
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jul 13 18:22:19 2016 +0200

    Updating debian packaging for new upstream version.
---
 debian/install                  |  2 +-
 debian/links                    |  1 -
 debian/man/supports-color.1.xml | 62 -----------------------------------------
 debian/manpages                 |  1 -
 debian/patches/nodejs.patch     | 12 --------
 debian/patches/series           |  1 -
 debian/rules                    | 14 ----------
 7 files changed, 1 insertion(+), 92 deletions(-)

diff --git a/debian/install b/debian/install
index 444f398..cb3c7bf 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,3 @@
 package.json usr/lib/nodejs/supports-color/
 index.js     usr/lib/nodejs/supports-color/
-cli.js       usr/lib/nodejs/supports-color/
+browser.js   usr/lib/nodejs/supports-color/
diff --git a/debian/links b/debian/links
deleted file mode 100644
index 92e9520..0000000
--- a/debian/links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/nodejs/supports-color/cli.js usr/bin/supports-color
diff --git a/debian/man/supports-color.1.xml b/debian/man/supports-color.1.xml
deleted file mode 100644
index 24644c7..0000000
--- a/debian/man/supports-color.1.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<refentry id='supports-color'>
-
-  <refmeta>
-    <refentrytitle>supports-color</refentrytitle>
-    <manvolnum>1</manvolnum>
-  </refmeta>
-
-  <refnamediv>
-    <refname>supports-color</refname>
-    <refpurpose>test color support with Node.js</refpurpose>
-  </refnamediv>
-
-  <refsynopsisdiv id='synopsis'>
-    <cmdsynopsis>
-      <command>supports-color</command>
-      <group>
-        <arg choice='opt'><option>--help</option></arg>
-        <arg choice='opt'><option>--version</option></arg>
-      </group>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-
-  <refsect1 id='description'>
-    <title>DESCRIPTION</title>
-    <para>
-      <command>supports-color</command> uses the supports-color module for
-      Node.js to determine if the terminal supports color.
-      <command>supports-color</command> exits with code 0 if color is supported
-      and 1 if not.
-    </para>
-  </refsect1>
-
-  <refsect1 id='options'>
-    <title>OPTIONS</title>
-
-    <variablelist>
-
-      <varlistentry>
-        <term><option>--help</option></term>
-        <listitem>
-          <para>
-            show usage information
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><option>--version</option></term>
-        <listitem>
-          <para>
-            display version and exit
-          </para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </refsect1>
-
-</refentry>
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index 13cdaf4..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/man/*.1
diff --git a/debian/patches/nodejs.patch b/debian/patches/nodejs.patch
deleted file mode 100644
index 420a3bf..0000000
--- a/debian/patches/nodejs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Description: Switch NodeJS command from node (upstream) to nodejs (Debian).
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: not-needed
-
---- a/cli.js
-+++ b/cli.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/nodejs
- 'use strict';
- var pkg = require('./package.json');
- var supportsColor = require('./');
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 81a5e8e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-nodejs.patch
diff --git a/debian/rules b/debian/rules
index a482c57..2f97d3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,23 +4,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
-
-MANPAGES := $(wildcard debian/man/*.*.xml)
-
 %:
 	dh $@
 
-override_dh_clean:
-	dh_clean debian/man/*.1
-
-override_dh_auto_build:
-	# Create man page from DocBook XML
-	for x in $(MANPAGES) ; do \
-	    docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \
-	    mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
-	done
-
 # Tests need required-uncached which is not packaged yet
 #override_dh_auto_test:
 #	mocha

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-supports-color.git



More information about the Pkg-javascript-commits mailing list