pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-junit-xml2: Import py-junit-xml2-1.9 as wip/py-junit-xml2
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Fri Dec 25 15:52:40 2020 +0100
Changeset: 59decb9fc9f2948c4c6960e8373debc67465495c
Modified Files:
Makefile
Added Files:
py-junit-xml2/DESCR
py-junit-xml2/Makefile
py-junit-xml2/PLIST
py-junit-xml2/distinfo
Log Message:
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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59decb9fc9f2948c4c6960e8373debc67465495c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-junit-xml2/DESCR | 5 +++++
py-junit-xml2/Makefile | 33 +++++++++++++++++++++++++++++++++
py-junit-xml2/PLIST | 9 +++++++++
py-junit-xml2/distinfo | 6 ++++++
5 files changed, 54 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index d2996c882e..7af5b66122 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/py-junit-xml2/DESCR b/py-junit-xml2/DESCR
new file mode 100644
index 0000000000..c88c37be5a
--- /dev/null
+++ b/py-junit-xml2/DESCR
@@ -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.
diff --git a/py-junit-xml2/Makefile b/py-junit-xml2/Makefile
new file mode 100644
index 0000000000..205db969c2
--- /dev/null
+++ b/py-junit-xml2/Makefile
@@ -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@localhost
+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"
diff --git a/py-junit-xml2/PLIST b/py-junit-xml2/PLIST
new file mode 100644
index 0000000000..633418a76a
--- /dev/null
+++ b/py-junit-xml2/PLIST
@@ -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
diff --git a/py-junit-xml2/distinfo b/py-junit-xml2/distinfo
new file mode 100644
index 0000000000..ae7041f146
--- /dev/null
+++ b/py-junit-xml2/distinfo
@@ -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
Home |
Main Index |
Thread Index |
Old Index