aboutsummaryrefslogtreecommitdiff
blob: 659e797cfe9784b1cba1dc30de2e17b49a958f68 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_10 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1

DESCRIPTION="Matchers for pytest"
HOMEPAGE="https://github.com/jwodder/anys"
SRC_URI="https://github.com/jwodder/anys/releases/download/v${PV}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-python/deprecated[${PYTHON_USEDEP}]
	dev-python/wheel[${PYTHON_USEDEP}]
"

PATCHES=(
	"${FILESDIR}/${PN}-0.2.0-coverage.patch"
)

distutils_enable_tests pytest