debian/0000755000000000000000000000000012247675473007207 5ustar debian/docs0000644000000000000000000000001412247671660010047 0ustar README TODO debian/manpages0000644000000000000000000000002012247671660010707 0ustar debian/crudini.1debian/copyright0000644000000000000000000000410012247675362011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: crudini Upstream-Contact: Pádraig Brady Source: http://www.pixelbeat.org/programs/crudini/ Files: * Copyright: 2013 Pádraig Brady License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: debian/* Copyright: 2013 Zulip, Inc. License: Expat 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. debian/control0000644000000000000000000000154512247675362010614 0ustar Source: crudini Section: utils Priority: optional Maintainer: Zulip Debian Packaging Team Uploaders: Zev Benjamin , Luke Faraone , Python Applications Packaging Team Build-Depends: debhelper (>= 8.0.0), python Standards-Version: 3.9.4 Homepage: http://www.pixelbeat.org/programs/crudini/ Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/crudini/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/crudini/trunk/ Package: crudini Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-iniparse Description: utility for manipulating ini files crudini is a utility to simplify reading and updating ini files from shell scripts, so named as it provides CRUD functionality. It can handle most variants of ini. debian/source/0000755000000000000000000000000012247675473010507 5ustar debian/source/format0000644000000000000000000000001412247671660011707 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212247671660010377 0ustar 8 debian/rules0000755000000000000000000000071012247675362010262 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2 debian/install0000644000000000000000000000002012247671660010562 0ustar crudini usr/bin debian/watch0000644000000000000000000000025312247671660010232 0ustar # See uscan(1) for format version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/crudini-$1.tar.gz/ \ https://github.com/pixelb/crudini/releases .*/v?(\d\S*)\.tar\.gz debian/changelog0000644000000000000000000000022012247675404011045 0ustar crudini (0.3-1) unstable; urgency=low * Initial release (Closes: #723740) -- Zev Benjamin Tue, 26 Nov 2013 15:07:23 -0500 debian/crudini.10000644000000000000000000000267112247675362010731 0ustar .TH CRUDINI "1" "November 2013" "crudini 0.3" "User Commands" .SH NAME crudini \- A utility for manipulating ini files .SH SYNOPSIS crudini \fB\-\-set\fR [\-\-existing] config_file section [param] [value] .br crudini \fB\-\-get\fR [\-\-format=sh|ini] config_file [section] [param] .br crudini \fB\-\-del\fR [\-\-existing] config_file section [param] .br crudini \fB\-\-merge\fR [\-\-existing] config_file [section] .SH EXAMPLES .SS "Add/Update a var" .IP crudini \-\-set config_file section parameter value .SS "Update an existing var" .IP crudini \-\-set \-\-existing config_file section parameter value .SS "Delete a var" .IP crudini \-\-del config_file section parameter .SS "Delete a section" .IP crudini \-\-del config_file section .SS "Output a value" .IP crudini \-\-get config_file section parameter .SS "Output a global value not in a section" .IP crudini \-\-get config_file '' parameter .SS "Output a section" .IP crudini \-\-get config_file section .SS "Output a section, parseable by shell" .IP eval $(crudini \-\-get \-\-format=sh config_file section) .SS "Update an ini file from shell variable(s)" .IP echo name="$name" | crudini \-\-merge config_file section .SS "Merge an ini file from another ini" .IP crudini \-\-merge config_file < another.ini .SH AUTHOR This manual page was written by Zev Benjamin for the Debian GNU/Linux system (but may be used by others). Its contents are based on the crudini documentation.