1 |
commit: 82e5587d45d875cb13a959e5cc27a36865954c3b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 19 06:37:48 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 19 06:39:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e5587d |
7 |
|
8 |
dev-python/flask-htmlmin: add 2.2.0, enable py3.10 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/flask-htmlmin/Manifest | 1 + |
13 |
.../flask-htmlmin/flask-htmlmin-2.2.0.ebuild | 33 ++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flask-htmlmin/Manifest b/dev-python/flask-htmlmin/Manifest |
17 |
index 2ff92db8fd0..e89adb2596d 100644 |
18 |
--- a/dev-python/flask-htmlmin/Manifest |
19 |
+++ b/dev-python/flask-htmlmin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Flask-HTMLmin-2.1.0.gh.tar.gz 16395 BLAKE2B 259d3af497343d35fabb60e4aa1a832782de47fa78f2e8c6bdaa47a7e78efa8dfa756e87d0d03b5972f3e051a29dfff53b370cb1f3ee1f8a9e401d06c40894fd SHA512 3d3ea40bc5d802f41b0d3a99fcca59407b3948d9b4fe2300bc597bbfbaa851435276a7dcee4b6cc08cc52b0674a53fd655b7bb1c6504bd53ea9963600626a59a |
22 |
+DIST Flask-HTMLmin-2.2.0.gh.tar.gz 17637 BLAKE2B 541ae212ba5bfd5e5881adb108d62c994248a7f851512d0fddedb001737620433cb46e267cdd66de73a353c6b357802eb89ea33c771153bc0acf3937c06f83c3 SHA512 24287ef93e99a16e7dde35ba6b7b8fefa06f11ce30fb47969313c3e0e1135ac8a2685aac06bc430d3253162f4f2bc7e8eed90ddda2092bbad092d4e0d09cb4fc |
23 |
|
24 |
diff --git a/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild b/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..5cdcf795a32 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+MY_P="Flask-HTMLmin-${PV}" |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Minimize your flask rendered html" |
41 |
+HOMEPAGE="https://github.com/hamidfzm/Flask-HTMLmin" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/hamidfzm/Flask-HTMLmin/archive/v${PV}.tar.gz |
44 |
+ -> ${MY_P}.gh.tar.gz" |
45 |
+S="${WORKDIR}/${MY_P}" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ app-text/cssmin[${PYTHON_USEDEP}] |
53 |
+ app-text/htmlmin[${PYTHON_USEDEP}] |
54 |
+ dev-python/flask[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ sed -e '/pytest-runner/d' -i setup.py || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |