Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/gen-b0rk:master commit in: ebuild-test/file-utf8/
Date: Wed, 01 Mar 2017 20:44:36
Message-Id: 1488400931.cf6dec915f7e66ae241fadb7f42710d01ed00171.ulm@gentoo
1 commit: cf6dec915f7e66ae241fadb7f42710d01ed00171
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 20:29:39 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 20:42:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=cf6dec91
7
8 ebuild-test/file-utf8: New test, ebuild in encoding other than utf-8.
9
10 This crashes repoman-2.3.1 (Python 3.4) with a UnicodeDecodeError.
11
12 ebuild-test/file-utf8/file-utf8-0.ebuild | 11 +++++++++++
13 ebuild-test/file-utf8/metadata.xml | 26 ++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/ebuild-test/file-utf8/file-utf8-0.ebuild b/ebuild-test/file-utf8/file-utf8-0.ebuild
17 new file mode 100644
18 index 0000000..613d154
19 --- /dev/null
20 +++ b/ebuild-test/file-utf8/file-utf8-0.ebuild
21 @@ -0,0 +1,11 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +DESCRIPTION="Ebuild in iso-8859-1 ênçódïñg"
28 +HOMEPAGE="http://example.com/"
29 +
30 +LICENSE="ISC"
31 +SLOT="0"
32 +KEYWORDS="~amd64"
33
34 diff --git a/ebuild-test/file-utf8/metadata.xml b/ebuild-test/file-utf8/metadata.xml
35 new file mode 100644
36 index 0000000..da7c4a8
37 --- /dev/null
38 +++ b/ebuild-test/file-utf8/metadata.xml
39 @@ -0,0 +1,26 @@
40 +<?xml version="1.0" encoding="UTF-8"?>
41 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
42 +<!--
43 +# $Id$
44 +
45 +This is the example metadata file.
46 +The root element of this file is <pkgmetadata>. Within this element a
47 +number of subelements are allowed, the most common being maintainer.
48 +
49 +For a full description look at:
50 +https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
51 +
52 +Before committing, please remove the comments from this file. They are
53 +not relevant for general metadata.xml files.
54 +-->
55 +<pkgmetadata>
56 +<maintainer type="person">
57 + <email>exampledev@g.o</email>
58 + <description>Primary maintainer</description>
59 +</maintainer>
60 +<maintainer type="project">
61 + <email>exampleproject@g.o</email>
62 + <name>Gentoo Example Project</name>
63 +</maintainer>
64 +<longdescription>Test for ???</longdescription>
65 +</pkgmetadata>