pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-asyncmock: add finished package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Wed Dec 13 14:45:01 2023 +0100
Changeset: 4f2adafd63b1181a7835c79f5065610d9e3b5082
Modified Files:
Makefile
Added Files:
py-asyncmock/DESCR
py-asyncmock/Makefile
py-asyncmock/PLIST
py-asyncmock/distinfo
Log Message:
py-asyncmock: add finished package
Works but is deprecated upstream.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4f2adafd63b1181a7835c79f5065610d9e3b5082
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-asyncmock/DESCR | 9 +++++++++
py-asyncmock/Makefile | 22 ++++++++++++++++++++++
py-asyncmock/PLIST | 11 +++++++++++
py-asyncmock/distinfo | 5 +++++
5 files changed, 48 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 89859bd3fc..77d36193c9 100644
--- a/Makefile
+++ b/Makefile
@@ -3240,6 +3240,7 @@ SUBDIR+= py-astropy5
SUBDIR+= py-astroquery
SUBDIR+= py-astroscrappy
SUBDIR+= py-async
+SUBDIR+= py-asyncmock
SUBDIR+= py-asynctest
SUBDIR+= py-atmark
SUBDIR+= py-atmos
diff --git a/py-asyncmock/DESCR b/py-asyncmock/DESCR
new file mode 100644
index 0000000000..0382a1d01a
--- /dev/null
+++ b/py-asyncmock/DESCR
@@ -0,0 +1,9 @@
+Awaitable mocks for async code.
+
+Not recommended for new projects!
+
+Mock 4.0+ (included within Python 3.8+) now includes an awaitable
+mock mock.AsyncMock.
+
+The package specifically only extends mock and not any other part
+of unittest.
diff --git a/py-asyncmock/Makefile b/py-asyncmock/Makefile
new file mode 100644
index 0000000000..761dfadf11
--- /dev/null
+++ b/py-asyncmock/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= asyncmock-0.4.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncmock/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/timsavage/asyncmock
+COMMENT= Extension to the standard mock framework to support support async
+LICENSE= modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-asyncmock/PLIST b/py-asyncmock/PLIST
new file mode 100644
index 0000000000..89073736f0
--- /dev/null
+++ b/py-asyncmock/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/asyncmock/__init__.py
+${PYSITELIB}/asyncmock/__init__.pyc
+${PYSITELIB}/asyncmock/__init__.pyo
+${PYSITELIB}/asyncmock/__version__.py
+${PYSITELIB}/asyncmock/__version__.pyc
+${PYSITELIB}/asyncmock/__version__.pyo
diff --git a/py-asyncmock/distinfo b/py-asyncmock/distinfo
new file mode 100644
index 0000000000..97050cbc39
--- /dev/null
+++ b/py-asyncmock/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (asyncmock-0.4.2.tar.gz) = 4fa1130c7afb60a3624144c6ef1fecfe9cb62dc594c740c1910c0bae6618fa43
+SHA512 (asyncmock-0.4.2.tar.gz) = b421849eda8edddd9e5d12b90ed3544ae164b890deff4052d5be252d65b9ad11ee32a45250de1e103fc84d5de06bf05d76aacaa4b907b1b784ccc18135674959
+Size (asyncmock-0.4.2.tar.gz) = 3191 bytes
Home |
Main Index |
Thread Index |
Old Index