summaryrefslogtreecommitdiff
path: root/dev-python/ws4py
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-02-28 01:47:42 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-02-28 01:47:42 +0000
commitf949a795fcd55ad2d7c2ca6cdfe8117e6c57ce19 (patch)
tree9137ddc39e31b07e5a40000e575c7b7e5775be83 /dev-python/ws4py
parent0d5be85c6df12853ac7b83a6522dd15ac7a4807f (diff)
downloadbaldeagleos-repo-f949a795fcd55ad2d7c2ca6cdfe8117e6c57ce19.tar.gz
baldeagleos-repo-f949a795fcd55ad2d7c2ca6cdfe8117e6c57ce19.tar.xz
baldeagleos-repo-f949a795fcd55ad2d7c2ca6cdfe8117e6c57ce19.zip
Adding metadata
Diffstat (limited to 'dev-python/ws4py')
-rw-r--r--dev-python/ws4py/ws4py-0.5.1-r1.ebuild10
-rw-r--r--dev-python/ws4py/ws4py-9999.ebuild10
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-python/ws4py/ws4py-0.5.1-r1.ebuild b/dev-python/ws4py/ws4py-0.5.1-r1.ebuild
index cbfce76e966c..88d0020e5715 100644
--- a/dev-python/ws4py/ws4py-0.5.1-r1.ebuild
+++ b/dev-python/ws4py/ws4py-0.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# We could depend on dev-python/cherrypy when USE=server, but
@@ -7,12 +7,14 @@
# pypy is viable but better with a cutdown set of deps
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
PYTHON_REQ_USE="threads(+)?"
MY_PN="WebSocket-for-Python"
inherit distutils-r1
+
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git"
inherit git-r3
@@ -42,11 +44,13 @@ DEPEND="test? (
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
)"
-PATCHES=( "${FILESDIR}"/${PN}-0.5.1-python3.7+-compatibility.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.1-python3.7+-compatibility.patch
+)
python_test() {
# testsuite displays an issue with mock under py3 but is non fatal
- "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
+ "${EPYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
}
python_install() {
diff --git a/dev-python/ws4py/ws4py-9999.ebuild b/dev-python/ws4py/ws4py-9999.ebuild
index d46bec6f790e..3fdcf612f2cb 100644
--- a/dev-python/ws4py/ws4py-9999.ebuild
+++ b/dev-python/ws4py/ws4py-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# We could depend on dev-python/cherrypy when USE=server, but
@@ -7,12 +7,14 @@
# pypy is viable but better with a cutdown set of deps
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
PYTHON_REQ_USE="threads(+)?"
MY_PN="WebSocket-for-Python"
inherit distutils-r1
+
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git"
inherit git-r3
@@ -42,11 +44,13 @@ DEPEND="test? (
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
)"
-PATCHES=( "${FILESDIR}"/${PN}-0.5.1-python3.7+-compatibility.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.1-python3.7+-compatibility.patch
+)
python_test() {
# testsuite displays an issue with mock under py3 but is non fatal
- "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
+ "${EPYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
}
python_install() {