py-junit-xml2: Import py-junit-xml2-1.9 as wip/py-junit-xml2

A Python module for creating JUnit XML test result documents that
can be read by tools such as Jenkins. If you are ever working with
test tool or test suite written in Python and want to take advantage
of Jenkins' pretty graphs and test reporting capabilities, this
module will let you generate the XML test reports.
This commit is contained in:
Leonardo Taccari 2020-12-25 15:52:40 +01:00
parent c14382598f
commit 59decb9fc9
5 changed files with 54 additions and 0 deletions

View File

@ -3652,6 +3652,7 @@ SUBDIR+= py-jsonrequester
SUBDIR+= py-jswebkit
SUBDIR+= py-jtextfsm
SUBDIR+= py-julio
SUBDIR+= py-junit-xml2
SUBDIR+= py-junos-netconify
SUBDIR+= py-jupyter-console
SUBDIR+= py-jwcrypto

5
py-junit-xml2/DESCR Normal file
View File

@ -0,0 +1,5 @@
A Python module for creating JUnit XML test result documents that
can be read by tools such as Jenkins. If you are ever working with
test tool or test suite written in Python and want to take advantage
of Jenkins' pretty graphs and test reporting capabilities, this
module will let you generate the XML test reports.

33
py-junit-xml2/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $NetBSD$
DISTNAME= junit-xml-2-1.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-2/2/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=j/junit-xml-2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/kyrus/python-junit-xml
COMMENT= Python module for creating JUnit XML test result documents
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
EGG_NAME= junit_xml-${PKGVERSION_NOREV}
USE_LANGUAGES= # none
SUBST_CLASSES+= rename-package
SUBST_STAGE.rename-package= pre-configure
SUBST_MESSAGE.rename-package= Rename the package to junit_xml
SUBST_FILES.rename-package+= junit_xml.egg-info/SOURCES.txt
SUBST_FILES.rename-package+= junit_xml.egg-info/top_level.txt
SUBST_FILES.rename-package+= setup.py
SUBST_SED.rename-package+= -e 's,junit_xml_2,junit_xml,g'
SUBST_SED.rename-package+= -e 's,junit-xml-2,junit-xml,g'
post-extract:
${MV} ${WRKSRC}/junit_xml_2.egg-info ${WRKSRC}/junit_xml.egg-info
${MV} ${WRKSRC}/junit_xml_2 ${WRKSRC}/junit_xml
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

9
py-junit-xml2/PLIST Normal file
View File

@ -0,0 +1,9 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/junit_xml/__init__.py
${PYSITELIB}/junit_xml/__init__.pyc
${PYSITELIB}/junit_xml/__init__.pyo

6
py-junit-xml2/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (junit-xml-2-1.9.tar.gz) = 4ca1fa75e34350397af5b14a943a2435880f3f13
RMD160 (junit-xml-2-1.9.tar.gz) = 872f82250615a2a63865255484b018f8fd743308
SHA512 (junit-xml-2-1.9.tar.gz) = c8f1459ca71f01b426e942e011c3fb8460c1c935210ed36b6cf801b06250e78218bd1b594ab7bc8e56ef0218d89464862f1c5a520fe6d18cb20bb479fcee5de1
Size (junit-xml-2-1.9.tar.gz) = 5242 bytes