1 |
commit: e9292a37762b8a70f7db3e510fd51ff2e90bbcb6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 17 08:59:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 17 08:59:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9292a37 |
7 |
|
8 |
dev-python/klein: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/klein/Manifest | 1 - |
13 |
dev-python/klein/klein-20.6.0.ebuild | 57 ------------------------------------ |
14 |
2 files changed, 58 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest |
17 |
index a4000618c07..5b57ead8ae3 100644 |
18 |
--- a/dev-python/klein/Manifest |
19 |
+++ b/dev-python/klein/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST klein-20.6.0.tar.gz 125676 BLAKE2B 2ef9e4293cc7a727488ce4e95e2918eb3c5012559ff52699ef7d53d022d7238b33fc59774572ca8487870e8d242dd80659bca15c65c82b0aa76f45f8d8822fd7 SHA512 128b180c51c4457d3ffcd088e127d671d8260c3d62a80129bafbf6e3a2e47945290cd5ec695a64a1795465199e14c8f367445f8d90649f6384fd8338a53bb48e |
22 |
DIST klein-21.8.0.tar.gz 100578 BLAKE2B ea2535e93affebe822ff086eb5749481edf7811340a35b11319b7c23b23d3877f6208ac1ef6cc7a4bb9eedd33d087820304f2ee71695413d72308e83c47aa2ee SHA512 cce28865e172effb6044f73c1841875fa5eb55daf20dcea482d0764604ab826ca5063a4679165bb253953d54428a42c2082022fd273e2a1083aefa595a563ccd |
23 |
|
24 |
diff --git a/dev-python/klein/klein-20.6.0.ebuild b/dev-python/klein/klein-20.6.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 8a23e937e7c..00000000000 |
27 |
--- a/dev-python/klein/klein-20.6.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,57 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
35 |
- |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="micro-framework for developing production-ready web services with Python" |
39 |
-HOMEPAGE="https://pypi.org/project/klein https://github.com/twisted/klein" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="MIT" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64" |
45 |
- |
46 |
-IUSE="test" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-BDEPEND=" |
50 |
- test? ( |
51 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
52 |
- dev-python/pytest[${PYTHON_USEDEP}] |
53 |
- dev-python/treq[${PYTHON_USEDEP}] |
54 |
- ) |
55 |
-" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- dev-python/attrs[${PYTHON_USEDEP}] |
59 |
- dev-python/hyperlink[${PYTHON_USEDEP}] |
60 |
- dev-python/incremental[${PYTHON_USEDEP}] |
61 |
- dev-python/six[${PYTHON_USEDEP}] |
62 |
- dev-python/tubes[${PYTHON_USEDEP}] |
63 |
- dev-python/twisted[${PYTHON_USEDEP}] |
64 |
- dev-python/werkzeug[${PYTHON_USEDEP}] |
65 |
- dev-python/zope-interface[${PYTHON_USEDEP}] |
66 |
-" |
67 |
-DEPEND="${RDEPEND}" |
68 |
- |
69 |
-python_prepare_all() { |
70 |
- # nuke irreleveant test dep |
71 |
- sed -e 's/"typing",//' \ |
72 |
- -i setup.py || die |
73 |
- # known test fail: https://github.com/twisted/klein/issues/339 |
74 |
- sed -e 's/big world/big+world/' \ |
75 |
- -e 's/4321)]/4321.0)]/' \ |
76 |
- -e 's/not a number/not+a+number/' \ |
77 |
- -i src/klein/test/test_form.py || die |
78 |
- |
79 |
- distutils-r1_python_prepare_all |
80 |
-} |
81 |
-python_test() { |
82 |
- distutils_install_for_testing |
83 |
- |
84 |
- pytest -v || |
85 |
- die "Tests failed with ${EPYTHON}" |
86 |
-} |