summaryrefslogtreecommitdiff
path: root/lang/python/python-pytest-forked/Makefile
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2020-08-11 15:46:31 +0200
committerGitHub <noreply@github.com>2020-08-11 15:46:31 +0200
commit1df9f4272aa63be13604cfc4474e12a823ea82da (patch)
tree6984814bbe356c6fceb2622d080960cee5e6536a /lang/python/python-pytest-forked/Makefile
parent9fe837f0f2f9f12895e20aad48e4c7905e390d46 (diff)
parent2d7e32b1a581fbb3a2b6256ff09661be36b33131 (diff)
Merge pull request #13010 from ja-pa/python-pytest-xdist-new
python-pytest-xdist: add new package
Diffstat (limited to 'lang/python/python-pytest-forked/Makefile')
-rw-r--r--lang/python/python-pytest-forked/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/python/python-pytest-forked/Makefile b/lang/python/python-pytest-forked/Makefile
new file mode 100644
index 000000000..bb50042f7
--- /dev/null
+++ b/lang/python/python-pytest-forked/Makefile
@@ -0,0 +1,43 @@
+#
+# Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-pytest-forked
+PKG_VERSION:=1.3.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=pytest-forked
+PKG_HASH:=6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+PKG_BUILD_PARALLEL:=0
+HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-pytest-forked
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Runs tests in isolated forked subprocesses
+ URL:=https://github.com/pytest-dev/pytest-forked
+ DEPENDS:= +python3-light +python3-pytest +python3-py
+endef
+
+define Package/python3-pytest-forked/description
+ Pytest plugin which enables to run tests in isolated forked subprocesses
+endef
+
+$(eval $(call Py3Package,python3-pytest-forked))
+$(eval $(call BuildPackage,python3-pytest-forked))
+$(eval $(call BuildPackage,python3-pytest-forked-src))