[DRE-commits] r3682 - in packages/kwalify/trunk: . bin debian
Marc Dequènes
duck at alioth.debian.org
Sat Jun 27 13:53:57 UTC 2009
Author: duck
Date: 2009-06-27 13:53:56 +0000 (Sat, 27 Jun 2009)
New Revision: 3682
Added:
packages/kwalify/trunk/debian/
packages/kwalify/trunk/debian/changelog
packages/kwalify/trunk/debian/compat
packages/kwalify/trunk/debian/control
packages/kwalify/trunk/debian/control.in
packages/kwalify/trunk/debian/copyright
packages/kwalify/trunk/debian/dirs
packages/kwalify/trunk/debian/doc-base.api
packages/kwalify/trunk/debian/doc-base.users-guide
packages/kwalify/trunk/debian/examples
packages/kwalify/trunk/debian/install
packages/kwalify/trunk/debian/kwalify.xml
packages/kwalify/trunk/debian/rules
packages/kwalify/trunk/debian/watch
Modified:
packages/kwalify/trunk/bin/kwalify
Log:
[svn-inject] Applying Debian modifications to trunk
Modified: packages/kwalify/trunk/bin/kwalify
===================================================================
--- packages/kwalify/trunk/bin/kwalify 2009-06-27 13:53:48 UTC (rev 3681)
+++ packages/kwalify/trunk/bin/kwalify 2009-06-27 13:53:56 UTC (rev 3682)
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/ruby1.8
###
### $Rev: 83 $
Property changes on: packages/kwalify/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/kwalify/trunk/debian/changelog
===================================================================
--- packages/kwalify/trunk/debian/changelog (rev 0)
+++ packages/kwalify/trunk/debian/changelog 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,74 @@
+kwalify (0.7.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Updated copyright information (licence change).
+ * Fixed watch file (Closes: #453593).
+ * Moved homepage information to new control field.
+ * Increased Standards-Version (no changes).
+ * Added patch to use the unversionned ruby interpreter in the shebang.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Thu, 13 Mar 2008 01:08:05 +0100
+
+kwalify (0.6.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Thu, 01 Nov 2007 16:51:13 +0100
+
+kwalify (0.6.0-2) unstable; urgency=low
+
+ * Updated watch file.
+ * Removed the Uploaders rule.
+ * Switched compat level to 5.
+ * Removed final blank line in doc-base to please lintian (which is
+ wrongly considered as a starting new paragraph).
+ * Created missing manpage.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Fri, 11 May 2007 01:35:08 +0200
+
+kwalify (0.6.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Moved Build-Depends-Indep to Build-Depends (all packages needed for
+ clean rule).
+ * Increased Standards-Version to 3.7.2.0 (no changes).
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Sun, 11 Jun 2006 01:15:50 +0200
+
+kwalify (0.5.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Entering the Ruby Team project.
+ * Now using the ruby CDBS class in ruby-pkg-tools and auto-generating
+ the Uploaders field.
+ * Added Homepage to package description.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Tue, 3 Jan 2006 23:24:03 +0100
+
+kwalify (0.4.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Sat, 29 Oct 2005 13:54:22 +0200
+
+kwalify (0.3.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Sat, 15 Oct 2005 01:02:02 +0200
+
+kwalify (0.2.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Added watch file.
+ * Fixed 'find' parameters ordering.
+ * Update FSF postal address in 'debian/copyright'.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Thu, 29 Sep 2005 22:18:57 +0200
+
+kwalify (0.1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org> Fri, 5 Aug 2005 20:42:02 +0200
+
Added: packages/kwalify/trunk/debian/compat
===================================================================
--- packages/kwalify/trunk/debian/compat (rev 0)
+++ packages/kwalify/trunk/debian/compat 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1 @@
+5
Added: packages/kwalify/trunk/debian/control
===================================================================
--- packages/kwalify/trunk/debian/control (rev 0)
+++ packages/kwalify/trunk/debian/control 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,19 @@
+Source: kwalify
+Section: text
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), ruby (>= 1.8.1), ruby-pkg-tools (>= 0.6)
+Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl
+Standards-Version: 3.7.3.0
+Homepage: http://www.kuwata-lab.com/kwalify/
+
+Package: kwalify
+Architecture: all
+Depends: ruby (>= 1.8.1)
+Suggests: doc-base
+Description: a tiny schema validator for YAML documents
+ Kwalify is a tiny schema validator for YAML documents.
+ It is in fact very poor compared to Relax NG or DTD.
+ I hope you extend/customize Kwalify for your own way.
+
Added: packages/kwalify/trunk/debian/control.in
===================================================================
--- packages/kwalify/trunk/debian/control.in (rev 0)
+++ packages/kwalify/trunk/debian/control.in 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,19 @@
+Source: kwalify
+Section: text
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: @cdbs@, ruby (>= 1.8.1), ruby-pkg-tools (>= 0.6)
+Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl
+Standards-Version: 3.7.3.0
+Homepage: http://www.kuwata-lab.com/kwalify/
+
+Package: kwalify
+Architecture: all
+Depends: ruby (>= 1.8.1)
+Suggests: doc-base
+Description: a tiny schema validator for YAML documents
+ Kwalify is a tiny schema validator for YAML documents.
+ It is in fact very poor compared to Relax NG or DTD.
+ I hope you extend/customize Kwalify for your own way.
+
Added: packages/kwalify/trunk/debian/copyright
===================================================================
--- packages/kwalify/trunk/debian/copyright (rev 0)
+++ packages/kwalify/trunk/debian/copyright 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,28 @@
+This package was debianized by Marc Dequènes <Duck at DuckCorp.org> on
+Fri, 5 Aug 2005 20:42:02 +0200.
+
+It was downloaded from http://www.kuwata-lab.com/kwalify/
+
+Upstream Author: Makoto Kuwata <kwa at kuwata-lab.com>
+
+Copyright: 2005-2008 kuwata-lab
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
Added: packages/kwalify/trunk/debian/dirs
===================================================================
--- packages/kwalify/trunk/debian/dirs (rev 0)
+++ packages/kwalify/trunk/debian/dirs 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1 @@
+usr/bin/
Added: packages/kwalify/trunk/debian/doc-base.api
===================================================================
--- packages/kwalify/trunk/debian/doc-base.api (rev 0)
+++ packages/kwalify/trunk/debian/doc-base.api 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,10 @@
+Document: kwalify-api
+Title: Kwalify API Documentation
+Author: Makoto Kuwata
+Abstract: Kwalify API Documentation
+ API Documentation automatically generated using Rdoc.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/kwalify/api/index.html
+Files: /usr/share/doc/kwalify/api/*
Added: packages/kwalify/trunk/debian/doc-base.users-guide
===================================================================
--- packages/kwalify/trunk/debian/doc-base.users-guide (rev 0)
+++ packages/kwalify/trunk/debian/doc-base.users-guide 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,10 @@
+Document: kwalify-users-guide
+Title: Kwalify Users' Guide
+Author: Makoto Kuwata
+Abstract: Command-line and programming usage of Kwalify, a YAML validator in Ruby.
+ Schema definition with examples are also provided.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/kwalify/users-guide/users-guide.html
+Files: /usr/share/doc/kwalify/users-guide/*
Added: packages/kwalify/trunk/debian/examples
===================================================================
--- packages/kwalify/trunk/debian/examples (rev 0)
+++ packages/kwalify/trunk/debian/examples 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1 @@
+examples/*
Added: packages/kwalify/trunk/debian/install
===================================================================
--- packages/kwalify/trunk/debian/install (rev 0)
+++ packages/kwalify/trunk/debian/install 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,2 @@
+doc/* usr/share/doc/kwalify/users-guide/
+doc-api/* usr/share/doc/kwalify/api/
Added: packages/kwalify/trunk/debian/kwalify.xml
===================================================================
--- packages/kwalify/trunk/debian/kwalify.xml (rev 0)
+++ packages/kwalify/trunk/debian/kwalify.xml 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,226 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'. A manual page
+<package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+ $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The
+XSL files are in docbook-xsl. Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>Marc</firstname>">
+ <!ENTITY dhsurname "<surname>Dequ\[`e]nes</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>20070511</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>1</manvolnum>">
+ <!ENTITY dhemail "<email>Duck at DuckCorp.org</email>">
+ <!ENTITY dhusername "Marc Dequ\[`e]nes (Duck)">
+ <!ENTITY dhucpackage "<refentrytitle>KWALIFY</refentrytitle>">
+ <!ENTITY dhpackage "kwalify">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2007</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>Tiny schema validator for YAML and JSON</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <group choice="opt">
+ <arg choice="plain"><option>-h</option></arg>
+ <arg choice="plain"><option>--help</option></arg>
+
+ <arg choice="plain"><option>-v</option></arg>
+ </group>
+
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg choice="opt"><option>-s</option></arg>
+ <arg choice="opt"><option>-t</option></arg>
+ <arg choice="opt"><option>-l</option></arg>
+ <arg choice="opt"><option>-E</option></arg>
+
+ <arg choice="plain"><option>-f</option> schema.yaml</arg>
+ <arg choice="plain">doc.yaml</arg>
+ <arg choice="opt">doc2.yaml ...</arg>
+
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg choice="opt"><option>-s</option></arg>
+ <arg choice="opt"><option>-t</option></arg>
+ <arg choice="opt"><option>-l</option></arg>
+ <arg choice="opt"><option>-E</option></arg>
+
+ <arg choice="plain"><option>-m</option> schema.yaml</arg>
+ <arg choice="opt">schema2.yaml ...</arg>
+
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg choice="opt"><option>-s</option></arg>
+ <arg choice="opt"><option>-t</option></arg>
+ <arg choice="opt"><option>-l</option></arg>
+ <arg choice="opt"><option>-E</option></arg>
+
+ <group choice="req">
+ <arg choice="plain"><option>-a</option> action</arg>
+ <arg choice="plain"><option>-ha</option> action</arg>
+ </group>
+ <arg choice="plain"><option>-f</option> schema.yaml</arg>
+ <arg choice="opt">schema2.yaml ...</arg>
+
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para><command>&dhpackage;</command> validates schema file, or YAML / JSON file against a schema.</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-h</option>
+ <option>--help</option>
+ </term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-v</option>
+ </term>
+ <listitem>
+ <para>Display version information.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-s</option></term>
+ <listitem>
+ <para>Be silent.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-t</option></term>
+ <listitem>
+ <para>Expand tab characters.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-l</option></term>
+ <listitem>
+ <para>Show linenumber when errored (experimental).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-E</option></term>
+ <listitem>
+ <para>Show errors in emacs-style (implies '-l').</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-m</option> <parameter>schema.yaml</parameter></term>
+ <listitem>
+ <para>Meta-validation mode: validate schema.yaml.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-f</option> <parameter>schema.yaml</parameter></term>
+ <listitem>
+ <para>Schema definition file: validate file against schema.yaml.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-a</option> <parameter>action</parameter></term>
+ <listitem>
+ <para>Generate code (depending on action: 'genclass-ruby' or 'genclass-java').</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-ha</option> <parameter>action</parameter></term>
+ <listitem>
+ <para>Generate code (depending on action: 'genclass-ruby' or 'genclass-java') with properties.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>doc.yaml</parameter></term>
+ <listitem>
+ <para>File to validate.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+ </para>
+
+ </refsect1>
+</refentry>
+
Added: packages/kwalify/trunk/debian/rules
===================================================================
--- packages/kwalify/trunk/debian/rules (rev 0)
+++ packages/kwalify/trunk/debian/rules 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+
+# configure and build should not be relaunched in binary rule
+DEB_RUBY_CONFIG_ARGS := --site-ruby=/usr/lib/ruby/1.8
+
+MANPAGES := debian/kwalify.1
+
+%.1: %.xml
+ xsltproc -nonet -o $@ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+
+binary-install/kwalify:: $(MANPAGES)
+ dh_installman -p$(cdbs_curpkg) $(MANPAGES)
+ # fix shebang without patch, as it is regenerated in the buildsys
+ sed -i 's/ruby1.8/ruby/' debian/$(cdbs_curpkg)/usr/bin/kwalify
+
+binary-predeb/kwalify::
+ find debian/$(cdbs_curpkg) -depth -type d -name ".arch-ids" -exec rm -rf {} \;
+
+clean::
+ rm -f $(MANPAGES)
+
Property changes on: packages/kwalify/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/kwalify/trunk/debian/watch
===================================================================
--- packages/kwalify/trunk/debian/watch (rev 0)
+++ packages/kwalify/trunk/debian/watch 2009-06-27 13:53:56 UTC (rev 3682)
@@ -0,0 +1,4 @@
+version=3
+http://rubyforge.org/frs/?group_id=815 \
+ /frs/download.php/(?:\d+)/kwalify[-_]([\d.]+)\.tar\.bz2 \
+ debian uupdate
More information about the Pkg-ruby-extras-commits
mailing list