[DRE-commits] [ruby-hocon] 01/01: Initial Debian packaging

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Fri Sep 8 22:41:52 UTC 2017


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

apoikos pushed a commit to branch master
in repository ruby-hocon.

commit 2947bb69796ad562c1e3bed5b7649ae58b2c0106
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Sat Sep 9 01:13:23 2017 +0300

    Initial Debian packaging
---
 debian/changelog           |  5 ++++
 debian/compat              |  1 +
 debian/control             | 27 +++++++++++++++++++++
 debian/copyright           | 34 ++++++++++++++++++++++++++
 debian/hocon.1             | 59 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/ruby-hocon.docs     |  1 +
 debian/ruby-hocon.manpages |  1 +
 debian/ruby-tests.rake     |  5 ++++
 debian/rules               |  6 +++++
 debian/source/format       |  1 +
 debian/watch               |  2 ++
 11 files changed, 142 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..445d4ab
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-hocon (1.2.5-1) unstable; urgency=medium
+
+  * Initial release (Closes: #874360)
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org>  Sat, 09 Sep 2017 01:04:28 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b3d6516
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: ruby-hocon
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Build-Depends: debhelper (>= 10),
+               gem2deb,
+               rake,
+               ruby-rspec
+Standards-Version: 4.1.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-hocon.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-hocon.git
+Homepage: https://github.com/puppetlabs/ruby-hocon
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-hocon
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Ruby port of the Typesafe Config library
+ ruby-hocon is a port of the Typesafe Config Java library to Ruby.
+ The library provides Ruby support for the HOCON configuration file
+ format. It supports parsing and modification of existing HOCON/JSON
+ files as well as rendering parsed config objects back to a Ruby String.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b60af11
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hocon
+Source: https://github.com/puppetlabs/ruby-hocon
+
+Files: *
+Copyright: Chris Price
+           Wayne Warren
+           Preben Ingvaldsen
+           Joe Pinsonault
+           Kevin Corcoran
+           Jane Lu
+License: Apache-2.0
+Comment: Authorship information obtained from hocon.gemspec.
+
+Files: debian/*
+Copyright: 2017 Apollon Oikonomopoulos <apoikos at debian.org>
+License: Apache-2.0
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the full text of the Apache License, Version 2.0 can be
+ found at /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/hocon.1 b/debian/hocon.1
new file mode 100644
index 0000000..f970f11
--- /dev/null
+++ b/debian/hocon.1
@@ -0,0 +1,59 @@
+.TH HOCON "1" "September 2017" "hocon 1.2.5" "User Commands"
+.SH NAME
+hocon \- manipulate HOCON files
+.SH SYNOPSIS
+.B hocon
+[\fI\,options\/\fR] \fI\,{get,set,unset} PATH \/\fR[\fI\,VALUE\/\fR]
+.SH DESCRIPTION
+The \fBhocon\fP(1) command can be used to get and set values on HOCON files.
+HOCON (Human-Optimized Config Object Notation) is a data format with the
+semantics of JSON, but more convenient as a human-editable config file format.
+
+.SH EXAMPLES
+\fBhocon \-i settings.conf -o new_settings.conf set some.nested.value 42\fR
+
+\fBhocon \-f settings.conf set some.nested.value 42\fR
+
+\fBcat settings.conf | hocon get some.nested.value\fR
+
+.SH COMMANDS
+.TP
+.BI get " PATH"
+Returns the value at the given path
+.TP
+.BI set " PATH" " " VALUE
+Sets or adds the given value at the given path
+.TP
+.BI unset " PATH"
+Removes the value at the given path
+.SH OPTIONS
+.TP
+\fB\-i\fR, \fB\-\-in\-file\fR \fIHOCON_FILE\fR
+HOCON file to read/modify. If omitted, STDIN assumed
+.TP
+\fB\-o\fR, \fB\-\-out\-file\fR \fIHOCON_FILE\fR
+File to be written to. If omitted, STDOUT assumed
+.TP
+\fB\-f\fR, \fB\-\-file\fR \fIHOCON_FILE\fR
+File to read/write to. Equivalent to setting \fB\-i\fR/\fB\-o\fR to the same file
+.TP
+\fB\-j\fR, \fB\-\-json\fR
+Output values from the 'get' subcommand in JSON format
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show usage help.
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Show version.
+.SH SEE ALSO
+The informal specification for HOCON is available at
+https://github.com/typesafehub/config/blob/master/HOCON.md .
+
+.SH AUTHOR
+\fBruby-hocon\fP was written by Chris Price, Wayne Warren, Preben Ingvaldsen, Joe Pinsonault, Kevin Corcoran and Jane Lu, based on the Typesafe Config Java library and distributed under the Apache License, Version 2.0.
+
+The original Typesafe Config Java library was written by Typesafe Inc and
+distributed under the Apache License, 2.0.
+
+This manpage was written by Apollon Oikonomopoulos <apoikos at debian.org> for the
+Debian project, but may be used by others.
diff --git a/debian/ruby-hocon.docs b/debian/ruby-hocon.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-hocon.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-hocon.manpages b/debian/ruby-hocon.manpages
new file mode 100644
index 0000000..f3e16b3
--- /dev/null
+++ b/debian/ruby-hocon.manpages
@@ -0,0 +1 @@
+debian/hocon.1
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3454d59
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c7f4d9c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/hocon .*/hocon-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-hocon.git



More information about the Pkg-ruby-extras-commits mailing list