Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-babelex/, profiles/, dev-python/flask-babelex/files/
Date: Thu, 29 Sep 2022 08:09:11
Message-Id: 1664438834.be2d35d41572deeeb35da1b83215dc93f5468360.jsmolic@gentoo
1 commit: be2d35d41572deeeb35da1b83215dc93f5468360
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 08:07:09 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 08:07:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2d35d4
7
8 dev-python/flask-babelex: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/796431
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 dev-python/flask-babelex/Manifest | 1 -
14 .../files/flask-babelex-0.9.3-tests-fix.patch | 41 ------------------
15 .../flask-babelex/flask-babelex-0.9.4-r1.ebuild | 49 ----------------------
16 dev-python/flask-babelex/metadata.xml | 13 ------
17 profiles/package.mask | 1 -
18 5 files changed, 105 deletions(-)
19
20 diff --git a/dev-python/flask-babelex/Manifest b/dev-python/flask-babelex/Manifest
21 deleted file mode 100644
22 index a63893e2a779..000000000000
23 --- a/dev-python/flask-babelex/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST Flask-BabelEx-0.9.4.tar.gz 43423 BLAKE2B 9aa6223cd29cd1ce3de0d8c8b771980457fa0ee76b7fd361b9b6d8ae79f521b36096b4d912281b7fe671655ac8c7b04032c68fcc59463c5630af073f264f5815 SHA512 0deec4b481876f4c76cde398157cd2bdc564e9d1076a7accf1720be86b41912466435412ad5f7e5e8b06f17ad5363ea503191b159b30625d067e76a45eaba957
27
28 diff --git a/dev-python/flask-babelex/files/flask-babelex-0.9.3-tests-fix.patch b/dev-python/flask-babelex/files/flask-babelex-0.9.3-tests-fix.patch
29 deleted file mode 100644
30 index 5b11f1ae6e46..000000000000
31 --- a/dev-python/flask-babelex/files/flask-babelex-0.9.3-tests-fix.patch
32 +++ /dev/null
33 @@ -1,41 +0,0 @@
34 -From d56d2c9a42c291a3592f3d7977b4dcca9ac755b3 Mon Sep 17 00:00:00 2001
35 -From: Jeffrey Kyllo <jkyllo@××××××××××.com>
36 -Date: Mon, 25 Jan 2016 14:00:04 +0000
37 -Subject: [PATCH] Updated DateFormattingTestCase with new datetime formats from
38 - babel.
39 -
40 ----
41 - tests/tests.py | 6 +++---
42 - 1 file changed, 3 insertions(+), 3 deletions(-)
43 -
44 -diff --git a/tests/tests.py b/tests/tests.py
45 -index 63c2ecf..2df68ee 100644
46 ---- a/tests/tests.py
47 -+++ b/tests/tests.py
48 -@@ -35,7 +35,7 @@ def test_basics(self):
49 - with app.test_request_context():
50 - app.config['BABEL_DEFAULT_LOCALE'] = 'de_DE'
51 - assert babel.format_datetime(d, 'long') == \
52 -- '12. April 2010 15:46:00 MESZ'
53 -+ '12. April 2010 um 15:46:00 MESZ'
54 -
55 - def test_init_app(self):
56 - b = babel.Babel()
57 -@@ -57,7 +57,7 @@ def test_init_app(self):
58 - with app.test_request_context():
59 - app.config['BABEL_DEFAULT_LOCALE'] = 'de_DE'
60 - assert babel.format_datetime(d, 'long') == \
61 -- '12. April 2010 15:46:00 MESZ'
62 -+ '12. April 2010 um 15:46:00 MESZ'
63 -
64 - def test_custom_formats(self):
65 - app = flask.Flask(__name__)
66 -@@ -95,7 +95,7 @@ def select_timezone():
67 - the_timezone = 'Europe/Vienna'
68 -
69 - with app.test_request_context():
70 -- assert babel.format_datetime(d) == '12.04.2010 15:46:00'
71 -+ assert babel.format_datetime(d) == '12.04.2010, 15:46:00'
72 -
73 - def test_refreshing(self):
74 - app = flask.Flask(__name__)
75
76 diff --git a/dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild b/dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild
77 deleted file mode 100644
78 index ae08fa04ef42..000000000000
79 --- a/dev-python/flask-babelex/flask-babelex-0.9.4-r1.ebuild
80 +++ /dev/null
81 @@ -1,49 +0,0 @@
82 -# Copyright 1999-2022 Gentoo Authors
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=8
86 -
87 -DISTUTILS_USE_PEP517=setuptools
88 -PYTHON_COMPAT=( python3_{8..11} )
89 -
90 -inherit distutils-r1
91 -
92 -MY_PN="Flask-BabelEx"
93 -MY_P="${MY_PN}-${PV}"
94 -DESCRIPTION="Adds i18n/l10n support to Flask applications"
95 -HOMEPAGE="
96 - https://github.com/mrjoes/flask-babelex/
97 - https://pypi.org/project/Flask-BabelEx/
98 -"
99 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
100 -S=${WORKDIR}/${MY_P}
101 -
102 -LICENSE="BSD"
103 -SLOT="0"
104 -KEYWORDS="amd64 ~riscv x86"
105 -
106 -RDEPEND="
107 - dev-python/flask[${PYTHON_USEDEP}]
108 - >=dev-python/Babel-1[${PYTHON_USEDEP}]
109 - >=dev-python/speaklater-1.2[${PYTHON_USEDEP}]
110 - >=dev-python/jinja-2.5[${PYTHON_USEDEP}]
111 -"
112 -
113 -distutils_enable_tests unittest
114 -distutils_enable_sphinx docs \
115 - dev-python/flask-sphinx-themes
116 -
117 -PATCHES=(
118 - "${FILESDIR}/${PN}-0.9.3-tests-fix.patch"
119 -)
120 -
121 -src_prepare() {
122 - # remove speaklater dep to allow speaklater3
123 - sed -i -e '/speaklater/d' setup.py || die
124 - distutils-r1_src_prepare
125 -}
126 -
127 -python_test() {
128 - cd tests || die
129 - eunittest
130 -}
131
132 diff --git a/dev-python/flask-babelex/metadata.xml b/dev-python/flask-babelex/metadata.xml
133 deleted file mode 100644
134 index 47b06c786439..000000000000
135 --- a/dev-python/flask-babelex/metadata.xml
136 +++ /dev/null
137 @@ -1,13 +0,0 @@
138 -<?xml version="1.0" encoding="UTF-8"?>
139 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
140 -<pkgmetadata>
141 - <maintainer type="project">
142 - <email>python@g.o</email>
143 - <name>Python</name>
144 - </maintainer>
145 - <stabilize-allarches/>
146 - <upstream>
147 - <remote-id type="pypi">Flask-BabelEx</remote-id>
148 - <remote-id type="github">mrjoes/flask-babelex</remote-id>
149 - </upstream>
150 -</pkgmetadata>
151
152 diff --git a/profiles/package.mask b/profiles/package.mask
153 index 73e6f2019fae..3471f2db6849 100644
154 --- a/profiles/package.mask
155 +++ b/profiles/package.mask
156 @@ -197,7 +197,6 @@ mail-filter/sigh
157 #
158 # Removal on 2022-09-29. Bug #867415.
159 dev-python/flask-security
160 -dev-python/flask-babelex
161
162 # hololeap <hololeap@××××××××××.com> (2022-08-21)
163 # doctest-parallel does not currently work with Setup.hs (used internally by