Imported Debian patch 0.0~git20141123-1
Tim Potter authored 9 years ago
root committed 9 years ago
0 | golang-goini (0.0~git20141123-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #784402) | |
3 | ||
4 | -- Tim Potter <tpot@hp.com> Wed, 06 May 2015 13:42:18 +1000 |
0 | 9 |
0 | Source: golang-goini | |
1 | Section: devel | |
2 | Priority: extra | |
3 | Maintainer: pkg-go <pkg-go-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Tim Potter <tpot@hp.com> | |
5 | Build-Depends: debhelper (>= 9), dh-golang, golang-go | |
6 | Standards-Version: 3.9.6 | |
7 | Homepage: https://github.com/glacjay/goini | |
8 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-go/packages/golang-goini.git;a=summary | |
9 | Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-goini.git | |
10 | ||
11 | Package: golang-goini-dev | |
12 | Architecture: all | |
13 | Depends: ${shlibs:Depends}, ${misc:Depends}, golang-go | |
14 | Built-Using: ${misc:Built-Using} | |
15 | Description: INI file parser library for Go | |
16 | Go library to parse files in the INI format. |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: goini | |
2 | Source: https://github.com/glacjay/goini | |
3 | ||
4 | Files: * | |
5 | Copyright: 2011-2014 GlacJAY | |
6 | 2014 Burcu Dogan | |
7 | License: MIT | |
8 | ||
9 | Files: debian/* | |
10 | Copyright: 2015 Tim Potter <tpot@hp.com> | |
11 | License: MIT | |
12 | Comment: the Debian packaging is licensed under the same terms as the original package. | |
13 | ||
14 | License: MIT | |
15 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
16 | of this software and associated documentation files (the "Software"), to deal | |
17 | in the Software without restriction, including without limitation the rights | |
18 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
19 | copies of the Software, and to permit persons to whom the Software is | |
20 | furnished to do so, subject to the following conditions: | |
21 | . | |
22 | The above copyright notice and this permission notice shall be included in all | |
23 | copies or substantial portions of the Software. | |
24 | . | |
25 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
26 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
27 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
28 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
29 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
30 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
31 | SOFTWARE. |
0 | Index: golang-goini-0.0~git20141123/ini_test.go | |
1 | =================================================================== | |
2 | --- golang-goini-0.0~git20141123.orig/ini_test.go | |
3 | +++ golang-goini-0.0~git20141123/ini_test.go | |
4 | @@ -25,7 +25,7 @@ var ( | |
5 | ) | |
6 | ||
7 | func init() { | |
8 | - dict, err = Load("example.ini") | |
9 | + dict, err = Load("../../../../../example.ini") | |
10 | } | |
11 | ||
12 | func TestLoad(t *testing.T) { | |
13 | @@ -35,7 +35,7 @@ func TestLoad(t *testing.T) { | |
14 | } | |
15 | ||
16 | func TestWrite(t *testing.T) { | |
17 | - d, err := Load("empty.ini") | |
18 | + d, err := Load("../../../../../empty.ini") | |
19 | if err != nil { | |
20 | t.Error("Example: load error:", err) | |
21 | } | |
22 | @@ -119,7 +119,7 @@ func TestSetBoolAndStringAndIntAndDouble | |
23 | } | |
24 | ||
25 | func TestDelete(t *testing.T) { | |
26 | - d, err := Load("empty.ini") | |
27 | + d, err := Load("../../../../../empty.ini") | |
28 | if err != nil { | |
29 | t.Error("Example: load error:", err) | |
30 | } | |
31 | @@ -154,7 +154,7 @@ func TestGetSections(t *testing.T) { | |
32 | } | |
33 | ||
34 | func TestString(t *testing.T) { | |
35 | - d, err := Load("empty.ini") | |
36 | + d, err := Load("../../../../../empty.ini") | |
37 | if err != nil { | |
38 | t.Error("Example: load error:", err) | |
39 | } |
0 | 0001-fix-path-for-tests.patch |
0 | #!/usr/bin/make -f | |
1 | ||
2 | export DH_GOPKG := github.com/glacjay/goini | |
3 | ||
4 | %: | |
5 | dh $@ --buildsystem=golang --with=golang | |
6 | ||
7 | override_dh_auto_install: | |
8 | dh_auto_install | |
9 | rm -rf ${CURDIR}/debian/golang-goini-dev/usr/bin |
0 | 3.0 (quilt) |