commit: d1addcb9707f2667953a458ab236c679a8449328
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 18 19:12:33 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 18 19:13:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1addcb9
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 <AT> riseup.net>
dev-python/python-multipart/Manifest | 1 -
.../python-multipart/python-multipart-0.0.5.ebuild | 25 +++++++++++++++++-----
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/dev-python/python-multipart/Manifest
b/dev-python/python-multipart/Manifest
index 2e9ee3f..32f58eb 100644
--- a/dev-python/python-multipart/Manifest
+++ b/dev-python/python-multipart/Manifest
@@ -1,2 +1 @@
DIST python-multipart-0.0.5.tar.gz 32581 BLAKE2B
79a55b620d45f529f3c823b5452f7a100934ae2f1229e02344c5e8e4ac251225b66ea5505773a0f639cab2f1596e4b6d7a77f3919e56bab2ea9a2e2b04fec796
SHA512
159472175c7b21ddcfb6d026d2efe1dc68ceacb6b30afef7f2aab078542eef6faf61d7e40abb2d22d18346c88e2fbee12283795f3e4a8b1f36673a5dd9163a8e
-EBUILD python-multipart-0.0.5.ebuild 520 BLAKE2B
bae6b7341b9da9abf846a6965123887e744ab826a46463d685c2feba3184a558d004ae28220dbb064e0aee603d8da9094834e92ff41c833fc28d549a436343d9
SHA512
58658c21e11313da1be52fc3e82487ed39874f1765c08717dc186377a12f25a20d57c44efcc70f4c629c3c40abda8d04fa56e8706001a9c5340d5d3cc376a747
diff --git a/dev-python/python-multipart/python-multipart-0.0.5.ebuild
b/dev-python/python-multipart/python-multipart-0.0.5.ebuild
index c541ab6..9417854 100644
--- a/dev-python/python-multipart/python-multipart-0.0.5.ebuild
+++ b/dev-python/python-multipart/python-multipart-0.0.5.ebuild
@@ -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