diff options
Diffstat (limited to 'dev-python/flask')
-rw-r--r-- | dev-python/flask/Manifest | 2 | ||||
-rw-r--r-- | dev-python/flask/flask-3.0.1.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index 830fab45e69f..fe830d947ad3 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,5 +1,7 @@ DIST flask-2.3.3.tar.gz 672756 BLAKE2B 70feb2f1ec8bc4742e8da978b7e1063c5f0bcbfda5321f397cba121283376b5b10a275635eac76383945415dbba3b2c4f917e1495851ee1dfd745db97caddec5 SHA512 801b2521c42de7a4cd16005ea6ea7737aaef6c88edacb38ab03e2d78bb4e080e35e540c23e157e2bcdb43e4818b4b7a856c50c6cf41bb17f0b7b2590c0c6aff2 DIST flask-3.0.0.tar.gz 674171 BLAKE2B 5ae270b429d6ea344828bead0cab855b42f4c28821c843a7754f4741ef0320c190e386a08adb4c6a5018e6a2cc7be588d955ebd4edf31ae59ea9d511c9cd93cb SHA512 dab4f97909619e380e9d8f14cea346dbda8932f3e9d19ee45e3651faf51b94aa5ccaa658116c69abae680f5357235842c63f0c6ff2a191de70cc103f0e7624a4 +DIST flask-3.0.1.tar.gz 675138 BLAKE2B 974eda07aa3c8d679495d34ac0d3c64a5aa2318c8675a52817068c2eeb3b90c7da07800230b18df0767329f15670b72ed4fe8fa6e4737ad00e842cdd9aa77adf SHA512 ae1f191b965b548e6f390b61ea1219b3399f773a1667d28aef63fcd4ab0f82d3eac9a430be43488ea01aa82a12d5677b3f6a5a48b8cce6c7204bf386d4c3f6f2 EBUILD flask-2.3.3.ebuild 1339 BLAKE2B 9ff51577b82478a1ded7e46945e84aaceac8269b8dd03fa141fc4f3fb36246c78dc07a06bcdd82f9803df5ecf8f31deaecd680c444e077988688d049e63e7af6 SHA512 21ff4b8daf6225dedd407187bf16d6c7163700d5bb1962fe9b01d02918f5f03b19453ca6e5c2cb0f9edac7b813b4913189f8976e1b36c0ce29ab4046776144a1 EBUILD flask-3.0.0.ebuild 1368 BLAKE2B 06cf9fad5c183d1124ad657a03cf6c57992bbf0f293197ea6538b344a61065fb46c6810acec5bf069d26c299abcc2965e41c5ca6e98b1e16063aaf2996e30e04 SHA512 3e15cddd8592b4d585a81d1d4facefbb7410f0405c10df584601bc65e50853e2d679569899812297aa13c7f6acf7890954889ba3d6d50764e940e076944e4034 +EBUILD flask-3.0.1.ebuild 1376 BLAKE2B 67626dde4c5d8307e19cfcb51eb3e871f61657ba81a7c94151be7e8ef59d07333f97da4e9d9078ec633c075c222bf7d3ed1daf8458ed35917dada1771ee9d28b SHA512 89a4f916a58ace46e78bc0cc89b8642359a9939e50b6f2ed36d01ad79bc1be22ac90d3f36b053899c1dab9cabb52209b8ad201334995bc8f208d78afaa79adfd MISC metadata.xml 386 BLAKE2B b449c54b966bc8943f7b7b12d6126867a89a2759eb749c08f7ad53a174e93ecad07f09b5e30c8562c63ab05df75a82e2f48f550ea8cf3a546f5afc2eef5a896d SHA512 123334db31948046e47f3cdbe0237cdec3dc2207485c8243d1e34e065436995423b6a89909563a6158741a8cc62a7fdad95923870a7114cf69e58ef715e7ec5c diff --git a/dev-python/flask/flask-3.0.1.ebuild b/dev-python/flask/flask-3.0.1.ebuild new file mode 100644 index 000000000000..d356436274d9 --- /dev/null +++ b/dev-python/flask/flask-3.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" +HOMEPAGE=" + https://palletsprojects.com/p/flask/ + https://github.com/pallets/flask/ + https://pypi.org/project/Flask/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=dev-python/blinker-1.6.2[${PYTHON_USEDEP}] + >=dev-python/click-8.1.3[${PYTHON_USEDEP}] + >=dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] + !!dev-python/shiboken2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log-cabinet +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} |