pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-unittest2pytest



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sun Feb 25 00:22:53 UTC 2018

Added Files:
        pkgsrc/devel/py-unittest2pytest: ALTERNATIVES DESCR Makefile PLIST
            distinfo

Log Message:
devel/py-unittest2pytest: Import version 0.3

unittest2pytest is a tool that helps rewriting Python unittest
test-cases into pytest test-cases. In contrast to other similar tools,
this handles keyword arguments, handles single-line test-cases and
several tests on one line, and uses context-handlers where
appropriate.  This is done by using lib2to3 and Python's mighty
inspect module.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-unittest2pytest/ALTERNATIVES \
    pkgsrc/devel/py-unittest2pytest/DESCR \
    pkgsrc/devel/py-unittest2pytest/Makefile \
    pkgsrc/devel/py-unittest2pytest/PLIST \
    pkgsrc/devel/py-unittest2pytest/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-unittest2pytest/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-unittest2pytest/ALTERNATIVES:1.1
--- /dev/null   Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/ALTERNATIVES        Sun Feb 25 00:22:53 2018
@@ -0,0 +1 @@
+bin/unittest2pytest @PREFIX@/bin/unittest2pytest@PYVERSSUFFIX@
Index: pkgsrc/devel/py-unittest2pytest/DESCR
diff -u /dev/null pkgsrc/devel/py-unittest2pytest/DESCR:1.1
--- /dev/null   Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/DESCR       Sun Feb 25 00:22:53 2018
@@ -0,0 +1,6 @@
+unittest2pytest is a tool that helps rewriting Python unittest
+test-cases into pytest test-cases. In contrast to other similar tools,
+this handles keyword arguments, handles single-line test-cases and
+several tests on one line, and uses context-handlers where
+appropriate.  This is done by using lib2to3 and Python's mighty
+inspect module.
Index: pkgsrc/devel/py-unittest2pytest/Makefile
diff -u /dev/null pkgsrc/devel/py-unittest2pytest/Makefile:1.1
--- /dev/null   Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/Makefile    Sun Feb 25 00:22:53 2018
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/02/25 00:22:53 minskim Exp $
+
+DISTNAME=      unittest2pytest-0.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=u/unittest2pytest/}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pytest-dev/unittest2pytest
+COMMENT=       Tool to rewrite Python unittest into pytest test cases
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/unittest2pytest \
+               ${DESTDIR}${PREFIX}/bin/unittest2pytest${PYVERSSUFFIX}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-unittest2pytest/PLIST
diff -u /dev/null pkgsrc/devel/py-unittest2pytest/PLIST:1.1
--- /dev/null   Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/PLIST       Sun Feb 25 00:22:53 2018
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/25 00:22:53 minskim Exp $
+bin/unittest2pytest${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/unittest2pytest/__init__.py
+${PYSITELIB}/unittest2pytest/__init__.pyc
+${PYSITELIB}/unittest2pytest/__init__.pyo
+${PYSITELIB}/unittest2pytest/__main__.py
+${PYSITELIB}/unittest2pytest/__main__.pyc
+${PYSITELIB}/unittest2pytest/__main__.pyo
+${PYSITELIB}/unittest2pytest/fixes/__init__.py
+${PYSITELIB}/unittest2pytest/fixes/__init__.pyc
+${PYSITELIB}/unittest2pytest/fixes/__init__.pyo
+${PYSITELIB}/unittest2pytest/fixes/fix_remove_class.py
+${PYSITELIB}/unittest2pytest/fixes/fix_remove_class.pyc
+${PYSITELIB}/unittest2pytest/fixes/fix_remove_class.pyo
+${PYSITELIB}/unittest2pytest/fixes/fix_self_assert.py
+${PYSITELIB}/unittest2pytest/fixes/fix_self_assert.pyc
+${PYSITELIB}/unittest2pytest/fixes/fix_self_assert.pyo
+${PYSITELIB}/unittest2pytest/utils.py
+${PYSITELIB}/unittest2pytest/utils.pyc
+${PYSITELIB}/unittest2pytest/utils.pyo
Index: pkgsrc/devel/py-unittest2pytest/distinfo
diff -u /dev/null pkgsrc/devel/py-unittest2pytest/distinfo:1.1
--- /dev/null   Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/distinfo    Sun Feb 25 00:22:53 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/25 00:22:53 minskim Exp $
+
+SHA1 (unittest2pytest-0.3.tar.gz) = 4d28e60e8a9818d2e4b6c90810a99fc9a9ca8da6
+RMD160 (unittest2pytest-0.3.tar.gz) = 8f623c10d5418c6ec8dea9190919583d48f49c30
+SHA512 (unittest2pytest-0.3.tar.gz) = 169ab92551007fccd369005f59e89b6cd20e2722031ae8dc51604c9131774a006465d350daad90fbce69828cfacae2d0b0d4a27f483ff992da94c3360517dc70
+Size (unittest2pytest-0.3.tar.gz) = 30389 bytes



Home | Main Index | Thread Index | Old Index