You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-pytest-forked
  9. PKG_VERSION:=1.3.0
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=pytest-forked
  12. PKG_HASH:=6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca
  13. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-pytest-forked
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Runs tests in isolated forked subprocesses
  25. URL:=https://github.com/pytest-dev/pytest-forked
  26. DEPENDS:= +python3-light +python3-pytest +python3-py
  27. endef
  28. define Package/python3-pytest-forked/description
  29. Pytest plugin which enables to run tests in isolated forked subprocesses
  30. endef
  31. $(eval $(call Py3Package,python3-pytest-forked))
  32. $(eval $(call BuildPackage,python3-pytest-forked))
  33. $(eval $(call BuildPackage,python3-pytest-forked-src))