SwordArMor-gentoo-overlay/dev-python/flufl-testing/flufl-testing-0.8.ebuild

26 lines
604 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
MY_P=${P/-/.}
DESCRIPTION="Small collection of test tool plugins"
HOMEPAGE="https://gitlab.com/warsaw/flufl.testing https://pypi.org/project/flufl.testing/"
SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/nose2[${PYTHON_USEDEP}]"
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}