mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
flask-socketio: update to 5.5.1, add doc, examples and test
drop 4.3.1, add metadata
This commit is contained in:
parent
2051e43c27
commit
678a69ee31
4 changed files with 57 additions and 27 deletions
|
|
@ -1 +1 @@
|
|||
DIST Flask-SocketIO-4.3.1.tar.gz 15071 BLAKE2B 9931eb5b4e4c475d90fe94f2a7b9e77ee689c5c04efada0f02a1ce7abb7a5e590ec365b8b765aaf6089d7e8b00d15d85904dc01e711f72158de5982afbe1aee8 SHA512 3db754cdd742bccac2362911db0aae6e832f32396e086c2effddc66cc28a1fc362f8b915d9c19d45b1c72968e7f1abb4226c84b17ba707cfaf85faa2762f596c
|
||||
DIST flask-socketio-5.5.1.gh.tar.gz 58270 BLAKE2B 05a018794ee371fc0ced2365d14a395556b321c76f7fd0d91c3475d25fccd18287bd4d495d376c0537d128348b00848c6a86fd9812af0c19d708f00089708cbe SHA512 3118a70fedeb66a88af17446e8527f9b34a5b7b0f1c062622d5ea89821837b0af84e41a34ff954de9f9fb50fd1c82d1bf99889a13cfbd8ec909c5fc81c1ccb5c
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-SocketIO"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Socket.IO integration for Flask applications"
|
||||
HOMEPAGE="https://github.com/miguelgrinberg/Flask-SocketIO/"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}]
|
||||
dev-python/python-socketio[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
44
dev-python/flask-socketio/flask-socketio-5.5.1.ebuild
Normal file
44
dev-python/flask-socketio/flask-socketio-5.5.1.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Socket.IO integration for Flask applications"
|
||||
HOMEPAGE="https://github.com/miguelgrinberg/Flask-SocketIO/"
|
||||
SRC_URI="https://github.com/miguelgrinberg/Flask-SocketIO/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/Flask-SocketIO-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flask-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-socketio-5.12.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/redis[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r example/*
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
12
dev-python/flask-socketio/metadata.xml
Normal file
12
dev-python/flask-socketio/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.org</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">miguelgrinberg/Flask-SocketIO</remote-id>
|
||||
<remote-id type="pypi">flask-socketio</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue