dev-python/python-multipart: try to enable test and doc

but failed, see ebuild for details

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-18 20:12:33 +01:00
parent 5e51e6394f
commit d1addcb970
2 changed files with 20 additions and 6 deletions

View File

@@ -3,14 +3,29 @@
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8} pypy3 )
PYTHON_COMPAT=(python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="A streaming multipart parser for Python."
HOMEPAGE="https://andrew-d.github.io/python-multipart/"
DESCRIPTION="A streaming multipart parser for Python"
HOMEPAGE="
https://andrew-d.github.io/python-multipart
https://github.com/andrew-d/python-multipart"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86"
# RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348
RESTRICT="test"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
# there are docs on github, but there is no 0.0.5 release tarball there for some reason
#distutils_enable_sphinx docs/source dev-python/sphinx-bootstrap-theme