summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-07 11:05:41 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-07 11:17:47 +0200
commitce3699c84cdaa6d477e09f673bedeede0f1ff9fe (patch)
tree5475ef5610cc412b0ae60a19d6b41399beb3cea5 /dev-python/junit-xml
parentnet-misc/netifrc: Removed old (diff)
downloadgentoo-ce3699c84cdaa6d477e09f673bedeede0f1ff9fe.tar.gz
gentoo-ce3699c84cdaa6d477e09f673bedeede0f1ff9fe.tar.bz2
gentoo-ce3699c84cdaa6d477e09f673bedeede0f1ff9fe.zip
dev-python/junit-xml: New package, dep of cfn-python-lint
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/junit-xml')
-rw-r--r--dev-python/junit-xml/Manifest1
-rw-r--r--dev-python/junit-xml/junit-xml-1.9.ebuild28
-rw-r--r--dev-python/junit-xml/metadata.xml7
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/junit-xml/Manifest b/dev-python/junit-xml/Manifest
new file mode 100644
index 000000000000..87a9856405ef
--- /dev/null
+++ b/dev-python/junit-xml/Manifest
@@ -0,0 +1 @@
+DIST junit-xml-1.9.tar.gz 11111 BLAKE2B e40914263421e7021d6bd697a03ae74b596d915479f24e8227d8b0b0bda51529df58f7aa54b27e981bb1df0aa36d7876f4f30fff8924188143bc4dd6b1d80b17 SHA512 73d5245f4a324485370e91d0d4d9a754133e0f90e5ad9ae7070bbb7aad29bee5fda4103548483358d536834c5fee9c8bd5fef79c4b66f905a2aeb0823ef02d22
diff --git a/dev-python/junit-xml/junit-xml-1.9.ebuild b/dev-python/junit-xml/junit-xml-1.9.ebuild
new file mode 100644
index 000000000000..02e72f10dcfc
--- /dev/null
+++ b/dev-python/junit-xml/junit-xml-1.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Create JUnit XML test result documents"
+HOMEPAGE="
+ https://pypi.org/project/junit-xml/
+ https://github.com/kyrus/python-junit-xml"
+# upstream fails both at uploading to pypi and making tags
+# https://github.com/kyrus/python-junit-xml/issues/69
+# https://github.com/kyrus/python-junit-xml/issues/31
+EGIT_COMMIT="19d3cc333d35dfd2d17d75c506336c15e5c6685a"
+SRC_URI="
+ https://github.com/kyrus/python-junit-xml/archive/${EGIT_COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S=${WORKDIR}/python-junit-xml-${EGIT_COMMIT}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/junit-xml/metadata.xml b/dev-python/junit-xml/metadata.xml
new file mode 100644
index 000000000000..266e3f19ca59
--- /dev/null
+++ b/dev-python/junit-xml/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>