mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
flask-jwt-extended: update to 4.7.1, add test examples and doc
This commit is contained in:
parent
6cd969b5dd
commit
2051e43c27
4 changed files with 54 additions and 31 deletions
|
|
@ -1 +1 @@
|
|||
DIST flask-jwt-extended-3.24.1.tar.gz 59311 BLAKE2B bfb041b76f00c012c79ead0c7387bdbf2ce9a6d2a30af7b56237fc7f78f5b2057aac8b2930b83de41ea81867ff20c1572f8e9a25f933ea985a33d25a12755cb8 SHA512 f00299f3163f9706217844f36d54ceb7c099b7bfd5421c0bbe489beb835a94e898df1743bb894e16f59273f6a4e92b1881f8757f43b4458f54a8988def4235b6
|
||||
DIST flask-jwt-extended-4.7.1.gh.tar.gz 60972 BLAKE2B 2a68158c1a0826c2ed8d12e7f311625ca9ee2525036a4984dfed08598667aa5de57a33eaa13d48ec169086e119c5ec4d692520710635009f8edf34aec33874ed SHA512 6a28a8678fb96d3496caa9ebfcd4ad0d7575d6bd719a45d2469ca9b1f682a97df112d758123298f58588e85e2fbd2eee020630fdbdc3ff1990a8c672dbd0da9a
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright 1999-2020 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="An open source Flask extension that provides JWT support"
|
||||
HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended"
|
||||
SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/werkzeug-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.4.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
# 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="An open source Flask extension that provides JWT support"
|
||||
HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended"
|
||||
SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/flask-4.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pyjwt-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.14[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
distutils_enable_sphinx docs dev-python/pallets-sphinx-themes
|
||||
distutils_enable_tests pytest
|
||||
|
|
@ -1,8 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">vimalloc/flask-jwt-extended</remote-id>
|
||||
<remote-id type="pypi">Flask-JWT-Extended</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
Loading…
Reference in a new issue