From 0e83fb81aef9f5cfcbb5d49cd546aa1f2105d770 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Fri, 31 Jul 2020 17:01:00 +0200 Subject: [PATCH 1/4] python-pytest-xdist: add new package Signed-off-by: Jan Pavlinec --- lang/python/python-pytest-xdist/Makefile | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lang/python/python-pytest-xdist/Makefile diff --git a/lang/python/python-pytest-xdist/Makefile b/lang/python/python-pytest-xdist/Makefile new file mode 100644 index 000000000..300d1f960 --- /dev/null +++ b/lang/python/python-pytest-xdist/Makefile @@ -0,0 +1,49 @@ +# +# 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-xdist +PKG_VERSION:=1.34.0 +PKG_RELEASE:=1 + +PYPI_NAME:=pytest-xdist +PKG_HASH:=340e8e83e2a4c0d861bdd8d05c5d7b7143f6eea0aba902997db15c2a86be04ee + +PKG_MAINTAINER:=Jan Pavlinec +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-xdist + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Pytest plugin for parallel test running + URL:=https://github.com/pytest-dev/pytest-xdist + DEPENDS:= \ + +python3-light \ + +python3-pytest \ + +python3-pytest-forked \ + +python3-execnet \ + +python3-six +endef + +define Package/python3-pytest-xdist/description + The pytest framework makes it easy to write small tests, yet scales to support + complex functional testing for applications and libraries. +endef + +$(eval $(call Py3Package,python3-pytest-xdist)) +$(eval $(call BuildPackage,python3-pytest-xdist)) +$(eval $(call BuildPackage,python3-pytest-xdist-src)) From d17b29cbdf1c351b3c456e402c2045631bca63a0 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Mon, 3 Aug 2020 14:48:43 +0200 Subject: [PATCH 2/4] python-execnet: add new package Signed-off-by: Jan Pavlinec --- lang/python/python-execnet/Makefile | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lang/python/python-execnet/Makefile diff --git a/lang/python/python-execnet/Makefile b/lang/python/python-execnet/Makefile new file mode 100644 index 000000000..d5f322506 --- /dev/null +++ b/lang/python/python-execnet/Makefile @@ -0,0 +1,45 @@ +# +# 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-execnet +PKG_VERSION:=1.7.1 +PKG_RELEASE:=1 + +PYPI_NAME:=execnet +PKG_HASH:=cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50 + +PKG_MAINTAINER:=Jan Pavlinec +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-execnet + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Library for distributed interact mechanism + URL:=https://execnet.readthedocs.io + DEPENDS:= +python3-light +python3-apipkg +endef + +define Package/python3-execnet/description + The execnet provides a share-nothing model with channel-send/receive communication for + distributing execution across many Python interpreters across version, platform and network + barriers.complex functional testing for applications and libraries. +endef + +$(eval $(call Py3Package,python3-execnet)) +$(eval $(call BuildPackage,python3-execnet)) +$(eval $(call BuildPackage,python3-execnet-src)) From 274fcf4d6c680f26aaaeb20400f80257d41608e4 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Mon, 3 Aug 2020 15:29:15 +0200 Subject: [PATCH 3/4] python-apipkg: add new package Signed-off-by: Jan Pavlinec --- lang/python/python-apipkg/Makefile | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lang/python/python-apipkg/Makefile diff --git a/lang/python/python-apipkg/Makefile b/lang/python/python-apipkg/Makefile new file mode 100644 index 000000000..37aa0c171 --- /dev/null +++ b/lang/python/python-apipkg/Makefile @@ -0,0 +1,44 @@ +# +# 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-apipkg +PKG_VERSION:=1.5 +PKG_RELEASE:=1 + +PYPI_NAME:=apipkg +PKG_HASH:=37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6 + +PKG_MAINTAINER:=Jan Pavlinec +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-apipkg + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:= Controler for exported namespace of a Python package a + URL:=https://github.com/pytest-dev/apipkg + DEPENDS:= +python3-light +endef + +define Package/python3-apipkg/description + apipkg is used to control the exported namespace of a Python package and greatly reduce + the number of imports for users. +endef + +$(eval $(call Py3Package,python3-apipkg)) +$(eval $(call BuildPackage,python3-apipkg)) +$(eval $(call BuildPackage,python3-apipkg-src)) From 2d7e32b1a581fbb3a2b6256ff09661be36b33131 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Wed, 5 Aug 2020 16:07:43 +0200 Subject: [PATCH 4/4] python-pytest-forked: add new package (dependency for xdist) Signed-off-by: Jan Pavlinec --- lang/python/python-pytest-forked/Makefile | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lang/python/python-pytest-forked/Makefile 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 +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))