2020-03-27 17:10:34 +08:00
|
|
|
#
|
2021-01-27 18:50:14 +08:00
|
|
|
# Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
2020-03-27 17:10:34 +08:00
|
|
|
#
|
|
|
|
# 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
|
2023-08-19 04:42:43 +08:00
|
|
|
PKG_VERSION:=7.4.0
|
|
|
|
PKG_RELEASE:=1
|
2020-03-27 17:10:34 +08:00
|
|
|
|
|
|
|
PYPI_NAME:=pytest
|
2023-08-19 04:42:43 +08:00
|
|
|
PKG_HASH:=b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a
|
2020-03-27 17:10:34 +08:00
|
|
|
|
2021-07-08 21:32:31 +08:00
|
|
|
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
2020-03-27 17:10:34 +08:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
2023-02-17 08:49:36 +08:00
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
|
2020-03-27 17:10:34 +08:00
|
|
|
|
|
|
|
include ../pypi.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
define Package/python3-pytest
|
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Python testing framework
|
2023-08-19 04:42:43 +08:00
|
|
|
URL:=https://pytest.org/
|
2020-03-27 17:10:34 +08:00
|
|
|
DEPENDS:= \
|
2020-08-04 20:31:04 +08:00
|
|
|
+python3 \
|
2023-08-19 04:42:43 +08:00
|
|
|
+python3-iniconfig \
|
2020-03-27 17:10:34 +08:00
|
|
|
+python3-packaging \
|
2023-08-19 04:42:43 +08:00
|
|
|
+python3-pluggy
|
2020-03-27 17:10:34 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-pytest/description
|
2023-08-19 04:42:43 +08:00
|
|
|
The pytest framework makes it easy to write small tests, yet scales to
|
|
|
|
support complex functional testing for applications and libraries.
|
2020-03-27 17:10:34 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-pytest))
|
|
|
|
$(eval $(call BuildPackage,python3-pytest))
|
|
|
|
$(eval $(call BuildPackage,python3-pytest-src))
|