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.

53 lines
1.3 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
  9. PKG_VERSION:=5.4.2
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=pytest
  12. PKG_HASH:=eb2b5e935f6a019317e455b6da83dd8650ac9ffd2ee73a7b657a30873d67a698
  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
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Python testing framework
  25. URL:=https://docs.pytest.org/en/latest/
  26. DEPENDS:= \
  27. +python3-light \
  28. +python3-more-itertools \
  29. +python3-py \
  30. +python3-attrs \
  31. +python3-pluggy \
  32. +python3-packaging \
  33. +python3-wcwidth \
  34. +python3-decimal \
  35. +python3-logging \
  36. +python3-urllib
  37. endef
  38. define Package/python3-pytest/description
  39. The pytest framework makes it easy to write small tests, yet scales to support
  40. complex functional testing for applications and libraries.
  41. endef
  42. $(eval $(call Py3Package,python3-pytest))
  43. $(eval $(call BuildPackage,python3-pytest))
  44. $(eval $(call BuildPackage,python3-pytest-src))