PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)?"
+MY_PN="WebSocket-for-Python"
+
inherit distutils-r1
if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git"
+ EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git"
inherit git-r3
else
- SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/Lawouach/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 arm ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
fi
DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy"
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)?"
+MY_PN="WebSocket-for-Python"
+
inherit distutils-r1
if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git"
+ EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git"
inherit git-r3
else
- SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
+ SRC_URI="https://github.com/Lawouach/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 arm ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
fi
DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy"