dev-python/python-multipart: support python 3.9

Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna Vyalkova
2021-05-26 04:05:42 +05:00
parent 6d977ecde3
commit 96cb779281
2 changed files with 6 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=(python3_{7,8} )
PYTHON_COMPAT=(python3_{7..9} )
inherit distutils-r1
@@ -11,7 +11,7 @@ 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"
SRC_URI="https://github.com/andrew-d/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
@@ -22,10 +22,8 @@ RESTRICT="test"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}] )"
DEPEND="test? ( 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
distutils_enable_sphinx docs/source dev-python/sphinx-bootstrap-theme