mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
30 lines
730 B
Bash
30 lines
730 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
|
|
|
inherit distutils-r1
|
|
|
|
if [[ ${PV} = *9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/heroku-python/flask-sockets.git"
|
|
else
|
|
HASH_COMMIT="v${PV}"
|
|
SRC_URI="https://github.com/heroku-python/flask-sockets/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
fi
|
|
|
|
DESCRIPTION="Elegant WebSockets for your Flask apps"
|
|
HOMEPAGE="https://github.com/heroku-python/flask-sockets"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}
|
|
dev-python/flask[${PYTHON_USEDEP}]
|
|
dev-python/gevent[${PYTHON_USEDEP}]
|
|
dev-python/gevent-websocket[${PYTHON_USEDEP}]
|
|
"
|