aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-pytest-forked/Makefile
blob: 2b464337dbfc2c02810d7673e33f51ab44af15be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# 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.6.0
PKG_RELEASE:=1

PYPI_NAME:=pytest-forked
PKG_HASH:=4dafd46a9a600f65d822b8f605133ecf5b3e1941ebb3588e943b4e3eb71a5a3f

PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE

PKG_BUILD_DEPENDS:=python-setuptools-scm/host

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))