pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test_socket



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul  5 21:06:56 UTC 2023

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

Log Message:
devel/py-test_socket: import py-pytest_socket-0.6.0

A plugin to use with Pytest to disable or restrict `socket` calls during
tests to ensure network calls are prevented.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test_socket/DESCR \
    pkgsrc/devel/py-test_socket/Makefile pkgsrc/devel/py-test_socket/PLIST \
    pkgsrc/devel/py-test_socket/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-test_socket/DESCR
diff -u /dev/null pkgsrc/devel/py-test_socket/DESCR:1.1
--- /dev/null   Wed Jul  5 21:06:56 2023
+++ pkgsrc/devel/py-test_socket/DESCR   Wed Jul  5 21:06:56 2023
@@ -0,0 +1,2 @@
+A plugin to use with Pytest to disable or restrict `socket` calls during
+tests to ensure network calls are prevented.
Index: pkgsrc/devel/py-test_socket/Makefile
diff -u /dev/null pkgsrc/devel/py-test_socket/Makefile:1.1
--- /dev/null   Wed Jul  5 21:06:56 2023
+++ pkgsrc/devel/py-test_socket/Makefile        Wed Jul  5 21:06:56 2023
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2023/07/05 21:06:56 wiz Exp $
+
+DISTNAME=      pytest_socket-0.6.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest_socket/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/pytest-socket/
+COMMENT=       Pytest Plugin to disable socket calls during tests
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test_socket/PLIST
diff -u /dev/null pkgsrc/devel/py-test_socket/PLIST:1.1
--- /dev/null   Wed Jul  5 21:06:56 2023
+++ pkgsrc/devel/py-test_socket/PLIST   Wed Jul  5 21:06:56 2023
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/05 21:06:56 wiz 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}/pytest_socket.py
+${PYSITELIB}/pytest_socket.pyc
+${PYSITELIB}/pytest_socket.pyo
Index: pkgsrc/devel/py-test_socket/distinfo
diff -u /dev/null pkgsrc/devel/py-test_socket/distinfo:1.1
--- /dev/null   Wed Jul  5 21:06:56 2023
+++ pkgsrc/devel/py-test_socket/distinfo        Wed Jul  5 21:06:56 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/07/05 21:06:56 wiz Exp $
+
+BLAKE2s (pytest_socket-0.6.0.tar.gz) = 2f28c5c6438a6a9585bef766e0bf624bab3dbf99b1467065d9d4878764894073
+SHA512 (pytest_socket-0.6.0.tar.gz) = f26055495ad77c94b6af53ddf3ea628e2b8ce68efcd1006457b7e87957f74ad3d30a944ef9c8f32368e8e010cfa3d2e62864ca4125a7e7c832c32f48b192ce78
+Size (pytest_socket-0.6.0.tar.gz) = 12484 bytes



Home | Main Index | Thread Index | Old Index