Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/junit-xml/
Date: Mon, 07 Sep 2020 09:17:56
Message-Id: 1599470267.ce3699c84cdaa6d477e09f673bedeede0f1ff9fe.mgorny@gentoo
1 commit: ce3699c84cdaa6d477e09f673bedeede0f1ff9fe
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 09:05:41 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 09:17:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3699c8
7
8 dev-python/junit-xml: New package, dep of cfn-python-lint
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/junit-xml/Manifest | 1 +
13 dev-python/junit-xml/junit-xml-1.9.ebuild | 28 ++++++++++++++++++++++++++++
14 dev-python/junit-xml/metadata.xml | 7 +++++++
15 3 files changed, 36 insertions(+)
16
17 diff --git a/dev-python/junit-xml/Manifest b/dev-python/junit-xml/Manifest
18 new file mode 100644
19 index 00000000000..87a9856405e
20 --- /dev/null
21 +++ b/dev-python/junit-xml/Manifest
22 @@ -0,0 +1 @@
23 +DIST junit-xml-1.9.tar.gz 11111 BLAKE2B e40914263421e7021d6bd697a03ae74b596d915479f24e8227d8b0b0bda51529df58f7aa54b27e981bb1df0aa36d7876f4f30fff8924188143bc4dd6b1d80b17 SHA512 73d5245f4a324485370e91d0d4d9a754133e0f90e5ad9ae7070bbb7aad29bee5fda4103548483358d536834c5fee9c8bd5fef79c4b66f905a2aeb0823ef02d22
24
25 diff --git a/dev-python/junit-xml/junit-xml-1.9.ebuild b/dev-python/junit-xml/junit-xml-1.9.ebuild
26 new file mode 100644
27 index 00000000000..02e72f10dcf
28 --- /dev/null
29 +++ b/dev-python/junit-xml/junit-xml-1.9.ebuild
30 @@ -0,0 +1,28 @@
31 +# Copyright 2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Create JUnit XML test result documents"
40 +HOMEPAGE="
41 + https://pypi.org/project/junit-xml/
42 + https://github.com/kyrus/python-junit-xml"
43 +# upstream fails both at uploading to pypi and making tags
44 +# https://github.com/kyrus/python-junit-xml/issues/69
45 +# https://github.com/kyrus/python-junit-xml/issues/31
46 +EGIT_COMMIT="19d3cc333d35dfd2d17d75c506336c15e5c6685a"
47 +SRC_URI="
48 + https://github.com/kyrus/python-junit-xml/archive/${EGIT_COMMIT}.tar.gz
49 + -> ${P}.tar.gz"
50 +S=${WORKDIR}/python-junit-xml-${EGIT_COMMIT}
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +
56 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
57 +
58 +distutils_enable_tests pytest
59
60 diff --git a/dev-python/junit-xml/metadata.xml b/dev-python/junit-xml/metadata.xml
61 new file mode 100644
62 index 00000000000..266e3f19ca5
63 --- /dev/null
64 +++ b/dev-python/junit-xml/metadata.xml
65 @@ -0,0 +1,7 @@
66 +<?xml version="1.0" encoding="UTF-8"?>
67 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
68 +<pkgmetadata>
69 + <maintainer type="project">
70 + <email>python@g.o</email>
71 + </maintainer>
72 +</pkgmetadata>