pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-test-freezegun: added version 0.4.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b721e0a3c9e
branches:  trunk
changeset: 378512:3b721e0a3c9e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 04 12:38:38 2022 +0000

description:
py-test-freezegun: added version 0.4.2

Wrap tests with fixtures in freeze_time

Features
* Freeze time in both the test and fixtures
* Access the freezer when you need it

diffstat:

 devel/Makefile                   |   4 +++-
 devel/py-test-freezegun/DESCR    |   5 +++++
 devel/py-test-freezegun/Makefile |  22 ++++++++++++++++++++++
 devel/py-test-freezegun/PLIST    |  11 +++++++++++
 devel/py-test-freezegun/distinfo |   5 +++++
 5 files changed, 46 insertions(+), 1 deletions(-)

diffs (84 lines):

diff -r f6a60f293b78 -r 3b721e0a3c9e devel/Makefile
--- a/devel/Makefile    Wed May 04 12:36:42 2022 +0000
+++ b/devel/Makefile    Wed May 04 12:38:38 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3729 2022/05/01 09:23:25 wiz Exp $
+# $NetBSD: Makefile,v 1.3730 2022/05/04 12:38:38 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2380,6 +2380,7 @@
 SUBDIR+=       py-cookiecutter
 SUBDIR+=       py-cooldict
 SUBDIR+=       py-coverage
+SUBDIR+=       py-coverage-enable-subprocess
 SUBDIR+=       py-cparser
 SUBDIR+=       py-cpplint
 SUBDIR+=       py-cppy
@@ -2792,6 +2793,7 @@
 SUBDIR+=       py-test-fixture-config
 SUBDIR+=       py-test-flake8
 SUBDIR+=       py-test-forked
+SUBDIR+=       py-test-freezegun
 SUBDIR+=       py-test-isort
 SUBDIR+=       py-test-lazy-fixture
 SUBDIR+=       py-test-localserver
diff -r f6a60f293b78 -r 3b721e0a3c9e devel/py-test-freezegun/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-freezegun/DESCR     Wed May 04 12:38:38 2022 +0000
@@ -0,0 +1,5 @@
+Wrap tests with fixtures in freeze_time
+
+Features
+* Freeze time in both the test and fixtures
+* Access the freezer when you need it
diff -r f6a60f293b78 -r 3b721e0a3c9e devel/py-test-freezegun/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-freezegun/Makefile  Wed May 04 12:38:38 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/05/04 12:38:39 adam Exp $
+
+DISTNAME=      pytest-freezegun-0.4.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-freezegun/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ktosiek/pytest-freezegun
+COMMENT=       Wrap tests with fixtures in freeze_time
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-freezegun>=0.3:../../devel/py-freezegun
+DEPENDS+=      ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f6a60f293b78 -r 3b721e0a3c9e devel/py-test-freezegun/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-freezegun/PLIST     Wed May 04 12:38:38 2022 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/04 12:38:39 adam Exp $
+${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/pytest_freezegun.py
+${PYSITELIB}/pytest_freezegun.pyc
+${PYSITELIB}/pytest_freezegun.pyo
diff -r f6a60f293b78 -r 3b721e0a3c9e devel/py-test-freezegun/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-freezegun/distinfo  Wed May 04 12:38:38 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/04 12:38:39 adam Exp $
+
+BLAKE2s (pytest-freezegun-0.4.2.zip) = f61c5e7df2189638444cedbdc20cfd9cbf83010b1c31e0e2ac2d178447bfd925
+SHA512 (pytest-freezegun-0.4.2.zip) = 0f1f8e75081ddc285f1fe5e985d434ad396cdf80efc585f9957462ccb1eebe23f3e2a260f141a637d2d523119ac9be498ce36900fbaabfeaa60590ca64788c29
+Size (pytest-freezegun-0.4.2.zip) = 9059 bytes



Home | Main Index | Thread Index | Old Index