mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-python/sabyenc: fix tests
Fixes #623378 Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
@@ -13,12 +13,15 @@ SRC_URI="https://github.com/sabnzbd/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Remove forced CFLAG on setup.py
|
||||
PATCHES=( "${FILESDIR}"/0001-remove-hardcoded-cflags.patch )
|
||||
DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test/test.py || die "Test failed."
|
||||
pytest -v || die "Test failed."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user