30 lines
643 B
Bash
30 lines
643 B
Bash
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||
|
inherit distutils-r1
|
||
|
|
||
|
DESCRIPTION="Matchers for pytest"
|
||
|
HOMEPAGE="https://github.com/jwodder/anys"
|
||
|
EGIT_REPO_URI="https://github.com/dandi/dandischema.git"
|
||
|
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/wheel[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-0.2.0-coverage.patch"
|
||
|
)
|
||
|
|
||
|
distutils_enable_tests pytest
|