summaryrefslogtreecommitdiff
path: root/dev-python/flask-babelex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/flask-babelex
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/flask-babelex')
-rw-r--r--dev-python/flask-babelex/Manifest2
-rw-r--r--dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild (renamed from dev-python/flask-babelex/flask-babelex-0.9.4.ebuild)30
2 files changed, 23 insertions, 9 deletions
diff --git a/dev-python/flask-babelex/Manifest b/dev-python/flask-babelex/Manifest
index d0315b5086da..46bd22cc12b3 100644
--- a/dev-python/flask-babelex/Manifest
+++ b/dev-python/flask-babelex/Manifest
@@ -1,4 +1,4 @@
AUX flask-babelex-0.9.3-tests-fix.patch 1508 BLAKE2B 828c0932722c4a052e8360338a21f31e45e26d6aeb2e7ef18678dd159ac9b4ec4f2566e46bc088dcf556dfeefb25567227d28a885a00617c1551bef40328d728 SHA512 60761e4117919619562701c24ea2e7f7f55554da251b8144526063cdde35413ced741bcfb35c8666104b7f0850e665450a27e8f134d768b0c5d49d1ee6775ace
DIST Flask-BabelEx-0.9.4.tar.gz 43423 BLAKE2B 9aa6223cd29cd1ce3de0d8c8b771980457fa0ee76b7fd361b9b6d8ae79f521b36096b4d912281b7fe671655ac8c7b04032c68fcc59463c5630af073f264f5815 SHA512 0deec4b481876f4c76cde398157cd2bdc564e9d1076a7accf1720be86b41912466435412ad5f7e5e8b06f17ad5363ea503191b159b30625d067e76a45eaba957
-EBUILD flask-babelex-0.9.4.ebuild 872 BLAKE2B 325c0721619624dd02eafe7a9c1acaa528f9fbb4e6c8d38a2e45ccdbccb5f12ef1b046a070de66d140c203204512bb84486f3e004941bcaaf8703251763e787d SHA512 d7641f0d061f587852e69941bb553b2de2099b028e06e8ee67b6a3c2431302c538c09e30d7b0111a98fcfe881d25cc567ec35e1738b51d18162bc516efcd3a83
+EBUILD flask-babelex-0.9.4-r1.ebuild 1045 BLAKE2B fd7886d64dd5ea062a900b7d653787b57d4f844e983f3549aa281e25ae5a0b3a702f67e8691d71dea07fb491220fecef7a9b01f849670c7da66576c991099a72 SHA512 83e9ca4b6ba6bf1c031e69c41e1a48a726c9716ec13a22132f548351619388209d6a673d91c3d869cb3c545936e23652529b6107ee70957b9735f1940b18b578
MISC metadata.xml 414 BLAKE2B 549d851f0776852b25bc89147081615a3790a8a0ad03e3fd1705c20ef2ad6ddbee54166c4762a5813beeda8e4a81bc15418d81c9785a77e43b28d9d401968780 SHA512 a33f1d03323cdbdcc19c8cdc2de6b7ddc9169d082a5295b151ccde0c3bea012b669d2888544d36e4740afd8c37bedfd3606b0e65c2123d1201c8a72ef74dbc09
diff --git a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild b/dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild
index 2b2f5f347a35..ae08fa04ef42 100644
--- a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild
+++ b/dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild
@@ -1,33 +1,47 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
-PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_PN="Flask-BabelEx"
MY_P="${MY_PN}-${PV}"
-
DESCRIPTION="Adds i18n/l10n support to Flask applications"
-HOMEPAGE="https://github.com/mrjoes/flask-babelex https://pypi.org/project/Flask-BabelEx/"
+HOMEPAGE="
+ https://github.com/mrjoes/flask-babelex/
+ https://pypi.org/project/Flask-BabelEx/
+"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~riscv x86"
-RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+RDEPEND="
+ dev-python/flask[${PYTHON_USEDEP}]
>=dev-python/Babel-1[${PYTHON_USEDEP}]
>=dev-python/speaklater-1.2[${PYTHON_USEDEP}]
- >=dev-python/jinja-2.5[${PYTHON_USEDEP}]"
+ >=dev-python/jinja-2.5[${PYTHON_USEDEP}]
+"
distutils_enable_tests unittest
distutils_enable_sphinx docs \
dev-python/flask-sphinx-themes
-PATCHES=( "${FILESDIR}/${PN}-0.9.3-tests-fix.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.3-tests-fix.patch"
+)
+
+src_prepare() {
+ # remove speaklater dep to allow speaklater3
+ sed -i -e '/speaklater/d' setup.py || die
+ distutils-r1_src_prepare
+}
python_test() {
cd tests || die