aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sse-starlette/sse-starlette-0.2.2.ebuild')
-rw-r--r--dev-python/sse-starlette/sse-starlette-0.2.2.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild b/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild
index 66af94f76..e17527a40 100644
--- a/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild
+++ b/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=(python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
@@ -12,8 +12,15 @@ HOMEPAGE="
https://pypi.org/project/sse-starlette/
https://github.com/sysid/sse-starlette
"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/sysid/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? (
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/isort[${PYTHON_USEDEP}]
+ dev-python/starlette[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest