1
0
Fork 0

dev-python/black: improved test support

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-05-12 04:26:08 -04:00
parent 3045ea7dbf
commit ffc7ade52a
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,6 @@
12 May 2020; <chymera@gentoo.org> black-19.10_beta_p0.ebuild:
dev-python/black: improved test support
*pypubsub-4.0.3 (18 Mar 2019)
18 Mar 2019; Horea Christian <h.chr@mail.ru> +pypubsub-4.0.3.ebuild,

View File

@ -19,7 +19,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND=""
DEPEND="
test? (
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
)
"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
@ -35,6 +40,4 @@ RDEPEND="
S="${WORKDIR}/${PN}-${MY_PV}"
python_test() {
pytest -vv || die
}
distutils_enable_tests pytest