[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 30b031ac6c2ff695a166953f0ec4391a2acb0268 Author: Sam James gentoo org> AuthorDate: Thu Mar 14 19:18:08 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 14 19:18:08 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b031ac dev-python/klein: Stabilize 23.12.0 amd64, #926699 Signed-off-by: Sam James gentoo.org> dev-python/klein/klein-23.12.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/klein/klein-23.12.0.ebuild b/dev-python/klein/klein-23.12.0.ebuild index 4a97f15113d3..9395225bb7ec 100644 --- a/dev-python/klein/klein-23.12.0.ebuild +++ b/dev-python/klein/klein-23.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" RDEPEND=" >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 73e316df9cd9fb8c982924f4c17f8a27097099f3 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 30 18:29:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 30 18:29:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e316df dev-python/klein: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest| 1 - dev-python/klein/klein-23.5.0.ebuild | 47 2 files changed, 48 deletions(-) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index afa0fa115f6e..0acad6869039 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1,2 +1 @@ DIST klein-23.12.0.tar.gz 103287 BLAKE2B ee6afe720a8cb68a28dd0dfc666de713c2188efbd92d31a669ac2db0c49afa3b61860bd2db216d0f846fb5d273105a18b8d443813c8e5d0e970ae9bece66e521 SHA512 2833d3b4ea53ccb62eccf72051b66867ca73c43dee0eb84aac9bd4ec4ba04b1b00acc5391863f0960eda2e5c329fc5b9537603997b9fa703750a3906febbbf72 -DIST klein-23.5.0.tar.gz 100691 BLAKE2B 913f48d975ef94787da910f217e687046e6d60273aac455eecae89378742cb7533ff5ab0a8ad868d5b363f27af1d0ee68f3b17a16b51482b5e4c015e7a779b53 SHA512 10d7bb1a5aabc035aa69a0f9c25516ee9b6043f442b35b31f5687c249370e4674c4488a9531ff4bc06ea40574fd9a7974343899de3d5b3895f28a2feb70ae543 diff --git a/dev-python/klein/klein-23.5.0.ebuild b/dev-python/klein/klein-23.5.0.ebuild deleted file mode 100644 index 5894803fc2ec.. --- a/dev-python/klein/klein-23.5.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Micro-framework for developing production-ready web services with Python" -HOMEPAGE=" - https://pypi.org/project/klein/ - https://github.com/twisted/klein/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/tubes[${PYTHON_USEDEP}] - >=dev-python/twisted-16.6[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/treq[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Failing hypothesis health checks... so upstream reinvented - # hypothesis in trunk. This is too big to backport, and the package - # is too awful to install from snapshot. - src/klein/test/test_headers.py::{Frozen,Mutable}HTTPHeadersTests::test_getTextName{,BinaryValues} - src/klein/test/test_headers_compat.py::HTTPHeadersWrappingHeadersTests::test_getTextName{,BinaryValues} - src/klein/test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFrom{Bytes,Fount}{,Cached} - src/klein/test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFrom{Bytes,Fount}{,Twice} -)
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: ffe50aba7e72ce68c3bc43089c04ebb4f620bb52 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 23 04:43:43 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 23 05:12:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe50aba dev-python/klein: Bump to 23.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest | 1 + dev-python/klein/klein-23.12.0.ebuild | 41 +++ 2 files changed, 42 insertions(+) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index f3d4c7ef9d5a..afa0fa115f6e 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1 +1,2 @@ +DIST klein-23.12.0.tar.gz 103287 BLAKE2B ee6afe720a8cb68a28dd0dfc666de713c2188efbd92d31a669ac2db0c49afa3b61860bd2db216d0f846fb5d273105a18b8d443813c8e5d0e970ae9bece66e521 SHA512 2833d3b4ea53ccb62eccf72051b66867ca73c43dee0eb84aac9bd4ec4ba04b1b00acc5391863f0960eda2e5c329fc5b9537603997b9fa703750a3906febbbf72 DIST klein-23.5.0.tar.gz 100691 BLAKE2B 913f48d975ef94787da910f217e687046e6d60273aac455eecae89378742cb7533ff5ab0a8ad868d5b363f27af1d0ee68f3b17a16b51482b5e4c015e7a779b53 SHA512 10d7bb1a5aabc035aa69a0f9c25516ee9b6043f442b35b31f5687c249370e4674c4488a9531ff4bc06ea40574fd9a7974343899de3d5b3895f28a2feb70ae543 diff --git a/dev-python/klein/klein-23.12.0.ebuild b/dev-python/klein/klein-23.12.0.ebuild new file mode 100644 index ..4a97f15113d3 --- /dev/null +++ b/dev-python/klein/klein-23.12.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Micro-framework for developing production-ready web services with Python" +HOMEPAGE=" + https://pypi.org/project/klein/ + https://github.com/twisted/klein/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/hyperlink[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/tubes[${PYTHON_USEDEP}] + >=dev-python/twisted-16.6[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: e2cf3464b99fd6b0c1a5e62ac3263a267ca54bd8 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 8 13:24:31 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Nov 8 14:41:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cf3464 dev-python/klein: Deselect broken tests Signed-off-by: Michał Górny gentoo.org> dev-python/klein/klein-23.5.0.ebuild | 10 ++ 1 file changed, 10 insertions(+) diff --git a/dev-python/klein/klein-23.5.0.ebuild b/dev-python/klein/klein-23.5.0.ebuild index 115b81d4d0d5..439d58e31c6e 100644 --- a/dev-python/klein/klein-23.5.0.ebuild +++ b/dev-python/klein/klein-23.5.0.ebuild @@ -35,3 +35,13 @@ BDEPEND=" " distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Failing hypothesis health checks... so upstream reinvented + # hypothesis in trunk. This is too big to backport, and the package + # is too awful to install from snapshot. + src/klein/test/test_headers.py::{Frozen,Mutable}HTTPHeadersTests::test_getTextName{,BinaryValues} + src/klein/test/test_headers_compat.py::HTTPHeadersWrappingHeadersTests::test_getTextName{,BinaryValues} + src/klein/test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFrom{Bytes,Fount}{,Cached} + src/klein/test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFrom{Bytes,Fount}{,Twice} +)
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 8e3e734a721141c77a58bc8d80cba9b8c2f86644 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 8 13:24:42 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Nov 8 14:41:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3e734a dev-python/klein: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/klein/klein-23.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/klein/klein-23.5.0.ebuild b/dev-python/klein/klein-23.5.0.ebuild index 439d58e31c6e..5894803fc2ec 100644 --- a/dev-python/klein/klein-23.5.0.ebuild +++ b/dev-python/klein/klein-23.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/files/, dev-python/klein/
commit: adec4af1206da37c3c8c7bb325796504863776f2 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 11:19:08 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 11:32:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adec4af1 dev-python/klein: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest | 1 - .../klein/files/klein-21.8.0-test_resource.patch | 28 - dev-python/klein/klein-21.8.0.ebuild | 46 -- 3 files changed, 75 deletions(-) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index 501170634d41..f3d4c7ef9d5a 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1,2 +1 @@ -DIST klein-21.8.0.tar.gz 100578 BLAKE2B ea2535e93affebe822ff086eb5749481edf7811340a35b11319b7c23b23d3877f6208ac1ef6cc7a4bb9eedd33d087820304f2ee71695413d72308e83c47aa2ee SHA512 cce28865e172effb6044f73c1841875fa5eb55daf20dcea482d0764604ab826ca5063a4679165bb253953d54428a42c2082022fd273e2a1083aefa595a563ccd DIST klein-23.5.0.tar.gz 100691 BLAKE2B 913f48d975ef94787da910f217e687046e6d60273aac455eecae89378742cb7533ff5ab0a8ad868d5b363f27af1d0ee68f3b17a16b51482b5e4c015e7a779b53 SHA512 10d7bb1a5aabc035aa69a0f9c25516ee9b6043f442b35b31f5687c249370e4674c4488a9531ff4bc06ea40574fd9a7974343899de3d5b3895f28a2feb70ae543 diff --git a/dev-python/klein/files/klein-21.8.0-test_resource.patch b/dev-python/klein/files/klein-21.8.0-test_resource.patch deleted file mode 100644 index c9779c46ac17.. --- a/dev-python/klein/files/klein-21.8.0-test_resource.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/twisted/klein/commit/bce8b85036a6d185b9e8aab037c805f81354544c - -From bce8b85036a6d185b9e8aab037c805f81354544c Mon Sep 17 00:00:00 2001 -From: Glyph -Date: Tue, 31 May 2022 17:44:13 -0700 -Subject: [PATCH] testing exact content-length is way too strict - a/src/klein/test/test_resource.py -+++ b/src/klein/test/test_resource.py -@@ -2,7 +2,7 @@ - from io import BytesIO - from types import MappingProxyType - from typing import Any, Callable, List, Mapping, Optional, Sequence, cast --from unittest.mock import Mock, call -+from unittest.mock import ANY, Mock, call - from urllib.parse import parse_qs - - from werkzeug.exceptions import NotFound -@@ -642,7 +642,7 @@ def foo(request: IRequest) -> KleinRenderable: - request.setHeader.assert_has_calls( - [ - call(b"Content-Type", b"text/html; charset=utf-8"), --call(b"Content-Length", b"258"), -+call(b"Content-Length", ANY), - call(b"Location", b"http://localhost:8080/foo/;), - ] - ) - diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild deleted file mode 100644 index 9444fbdbe265.. --- a/dev-python/klein/klein-21.8.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 pypi - -DESCRIPTION="micro-framework for developing production-ready web services with Python" -HOMEPAGE="https://pypi.org/project/klein/ https://github.com/twisted/klein/; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/tubes[${PYTHON_USEDEP}] - >=dev-python/twisted-16.6[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/treq[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-test_resource.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # known test fail: https://github.com/twisted/klein/issues/339 -# sed -e 's/big world/big+world/' \ -# -e 's/4321)]/4321.0)]/' \ -# -e 's/not a number/not+a+number/' \ -# -i src/klein/test/test_form.py || die - - distutils-r1_python_prepare_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: a63d05f0f6f4e9fe1e7025330197ee2592d2ec5b Author: Michał Górny gentoo org> AuthorDate: Wed May 3 06:48:06 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed May 3 07:51:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a63d05f0 dev-python/klein: Bump to 23.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest| 1 + dev-python/klein/klein-23.5.0.ebuild | 37 2 files changed, 38 insertions(+) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index 5b57ead8ae3a..501170634d41 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1 +1,2 @@ DIST klein-21.8.0.tar.gz 100578 BLAKE2B ea2535e93affebe822ff086eb5749481edf7811340a35b11319b7c23b23d3877f6208ac1ef6cc7a4bb9eedd33d087820304f2ee71695413d72308e83c47aa2ee SHA512 cce28865e172effb6044f73c1841875fa5eb55daf20dcea482d0764604ab826ca5063a4679165bb253953d54428a42c2082022fd273e2a1083aefa595a563ccd +DIST klein-23.5.0.tar.gz 100691 BLAKE2B 913f48d975ef94787da910f217e687046e6d60273aac455eecae89378742cb7533ff5ab0a8ad868d5b363f27af1d0ee68f3b17a16b51482b5e4c015e7a779b53 SHA512 10d7bb1a5aabc035aa69a0f9c25516ee9b6043f442b35b31f5687c249370e4674c4488a9531ff4bc06ea40574fd9a7974343899de3d5b3895f28a2feb70ae543 diff --git a/dev-python/klein/klein-23.5.0.ebuild b/dev-python/klein/klein-23.5.0.ebuild new file mode 100644 index ..115b81d4d0d5 --- /dev/null +++ b/dev-python/klein/klein-23.5.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Micro-framework for developing production-ready web services with Python" +HOMEPAGE=" + https://pypi.org/project/klein/ + https://github.com/twisted/klein/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + dev-python/hyperlink[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/tubes[${PYTHON_USEDEP}] + >=dev-python/twisted-16.6[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 7a0f6ed2f44d67e76c3c6ee47400ca5c73fc1ef8 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 15 17:46:34 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 16 03:51:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0f6ed2 dev-python/klein: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/klein/klein-21.8.0.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild index 22e5725d4695..9444fbdbe265 100644 --- a/dev-python/klein/klein-21.8.0.ebuild +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -4,11 +4,10 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="micro-framework for developing production-ready web services with Python" HOMEPAGE="https://pypi.org/project/klein/ https://github.com/twisted/klein/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/files/, dev-python/klein/
commit: a99c289b32c21c8cad1832ef6ddf9581021f682b Author: Sam James gentoo org> AuthorDate: Fri Oct 28 13:29:36 2022 + Commit: Sam James gentoo org> CommitDate: Fri Oct 28 13:34:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99c289b dev-python/klein: fix tests Closes: https://bugs.gentoo.org/865677 Signed-off-by: Sam James gentoo.org> .../klein/files/klein-21.8.0-test_resource.patch | 28 ++ dev-python/klein/klein-21.8.0.ebuild | 4 2 files changed, 32 insertions(+) diff --git a/dev-python/klein/files/klein-21.8.0-test_resource.patch b/dev-python/klein/files/klein-21.8.0-test_resource.patch new file mode 100644 index ..c9779c46ac17 --- /dev/null +++ b/dev-python/klein/files/klein-21.8.0-test_resource.patch @@ -0,0 +1,28 @@ +https://github.com/twisted/klein/commit/bce8b85036a6d185b9e8aab037c805f81354544c + +From bce8b85036a6d185b9e8aab037c805f81354544c Mon Sep 17 00:00:00 2001 +From: Glyph +Date: Tue, 31 May 2022 17:44:13 -0700 +Subject: [PATCH] testing exact content-length is way too strict + +--- a/src/klein/test/test_resource.py b/src/klein/test/test_resource.py +@@ -2,7 +2,7 @@ + from io import BytesIO + from types import MappingProxyType + from typing import Any, Callable, List, Mapping, Optional, Sequence, cast +-from unittest.mock import Mock, call ++from unittest.mock import ANY, Mock, call + from urllib.parse import parse_qs + + from werkzeug.exceptions import NotFound +@@ -642,7 +642,7 @@ def foo(request: IRequest) -> KleinRenderable: + request.setHeader.assert_has_calls( + [ + call(b"Content-Type", b"text/html; charset=utf-8"), +-call(b"Content-Length", b"258"), ++call(b"Content-Length", ANY), + call(b"Location", b"http://localhost:8080/foo/;), + ] + ) + diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild index 3008d5599a89..40ab5c966c28 100644 --- a/dev-python/klein/klein-21.8.0.ebuild +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -30,6 +30,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-test_resource.patch +) + distutils_enable_tests pytest python_prepare_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 05d4d793fcf47a04e41cf9b589f17cc81c9c26c1 Author: Sam James gentoo org> AuthorDate: Fri Oct 28 13:34:15 2022 + Commit: Sam James gentoo org> CommitDate: Fri Oct 28 13:34:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d4d793 dev-python/klein: enable py3.11 Closes: https://bugs.gentoo.org/865677 Signed-off-by: Sam James gentoo.org> dev-python/klein/klein-21.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild index 40ab5c966c28..da5e00f51a2b 100644 --- a/dev-python/klein/klein-21.8.0.ebuild +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="micro-framework for developing production-ready web services with Python"
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 8d48661faca5c96abfc35e288afbea51df22e14a Author: Yongxiang Liang gmail com> AuthorDate: Sat Mar 12 21:35:59 2022 + Commit: Yixun Lan gentoo org> CommitDate: Mon Mar 14 10:27:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d48661f dev-python/klein: keyword ~riscv Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yongxiang Liang gmail.com> Signed-off-by: Yixun Lan gentoo.org> dev-python/klein/klein-21.8.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild index c75366af0dcc..3008d5599a89 100644 --- a/dev-python/klein/klein-21.8.0.ebuild +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: e9292a37762b8a70f7db3e510fd51ff2e90bbcb6 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 17 08:59:02 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 17 08:59:02 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9292a37 dev-python/klein: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest| 1 - dev-python/klein/klein-20.6.0.ebuild | 57 2 files changed, 58 deletions(-) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index a4000618c07..5b57ead8ae3 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1,2 +1 @@ -DIST klein-20.6.0.tar.gz 125676 BLAKE2B 2ef9e4293cc7a727488ce4e95e2918eb3c5012559ff52699ef7d53d022d7238b33fc59774572ca8487870e8d242dd80659bca15c65c82b0aa76f45f8d8822fd7 SHA512 128b180c51c4457d3ffcd088e127d671d8260c3d62a80129bafbf6e3a2e47945290cd5ec695a64a1795465199e14c8f367445f8d90649f6384fd8338a53bb48e DIST klein-21.8.0.tar.gz 100578 BLAKE2B ea2535e93affebe822ff086eb5749481edf7811340a35b11319b7c23b23d3877f6208ac1ef6cc7a4bb9eedd33d087820304f2ee71695413d72308e83c47aa2ee SHA512 cce28865e172effb6044f73c1841875fa5eb55daf20dcea482d0764604ab826ca5063a4679165bb253953d54428a42c2082022fd273e2a1083aefa595a563ccd diff --git a/dev-python/klein/klein-20.6.0.ebuild b/dev-python/klein/klein-20.6.0.ebuild deleted file mode 100644 index 8a23e937e7c..000 --- a/dev-python/klein/klein-20.6.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="micro-framework for developing production-ready web services with Python" -HOMEPAGE="https://pypi.org/project/klein https://github.com/twisted/klein; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/treq[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/hyperlink[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/tubes[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_prepare_all() { - # nuke irreleveant test dep - sed -e 's/"typing",//' \ - -i setup.py || die - # known test fail: https://github.com/twisted/klein/issues/339 - sed -e 's/big world/big+world/' \ - -e 's/4321)]/4321.0)]/' \ - -e 's/not a number/not+a+number/' \ - -i src/klein/test/test_form.py || die - - distutils-r1_python_prepare_all -} -python_test() { - distutils_install_for_testing - - pytest -v || - die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 3c5224afe92d3d80d4ab82987afe2b633e3fcecb Author: Michał Górny gentoo org> AuthorDate: Mon Aug 9 09:13:35 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 9 09:20:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c5224af dev-python/klein: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/klein/klein-21.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild index c8361e18ddc..c75366af0dc 100644 --- a/dev-python/klein/klein-21.8.0.ebuild +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="micro-framework for developing production-ready web services with Python"
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: bbed63e7c068eb468ca970c496e41848e91afdad Author: Michał Górny gentoo org> AuthorDate: Mon Aug 9 07:35:31 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 9 07:42:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbed63e7 dev-python/klein: Add python@ as co-maint. Signed-off-by: Michał Górny gentoo.org> dev-python/klein/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/dev-python/klein/metadata.xml b/dev-python/klein/metadata.xml index dab0ec77e4d..b8695f61f15 100644 --- a/dev-python/klein/metadata.xml +++ b/dev-python/klein/metadata.xml @@ -5,6 +5,10 @@ dol...@gentoo.org Brian Dolbec + + pyt...@gentoo.org + Python + hawk...@twistedmatrix.com
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: a70986152d0f1ad402078a5628f0d7172d9a455e Author: Michał Górny gentoo org> AuthorDate: Mon Aug 9 07:32:44 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 9 07:42:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7098615 dev-python/klein: Bump to 21.8.0 Signed-off-by: Michał Górny gentoo.org> dev-python/klein/Manifest| 1 + dev-python/klein/klein-21.8.0.ebuild | 43 2 files changed, 44 insertions(+) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index 7320ac9020e..a4000618c07 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1 +1,2 @@ DIST klein-20.6.0.tar.gz 125676 BLAKE2B 2ef9e4293cc7a727488ce4e95e2918eb3c5012559ff52699ef7d53d022d7238b33fc59774572ca8487870e8d242dd80659bca15c65c82b0aa76f45f8d8822fd7 SHA512 128b180c51c4457d3ffcd088e127d671d8260c3d62a80129bafbf6e3a2e47945290cd5ec695a64a1795465199e14c8f367445f8d90649f6384fd8338a53bb48e +DIST klein-21.8.0.tar.gz 100578 BLAKE2B ea2535e93affebe822ff086eb5749481edf7811340a35b11319b7c23b23d3877f6208ac1ef6cc7a4bb9eedd33d087820304f2ee71695413d72308e83c47aa2ee SHA512 cce28865e172effb6044f73c1841875fa5eb55daf20dcea482d0764604ab826ca5063a4679165bb253953d54428a42c2082022fd273e2a1083aefa595a563ccd diff --git a/dev-python/klein/klein-21.8.0.ebuild b/dev-python/klein/klein-21.8.0.ebuild new file mode 100644 index 000..c8361e18ddc --- /dev/null +++ b/dev-python/klein/klein-21.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="micro-framework for developing production-ready web services with Python" +HOMEPAGE="https://pypi.org/project/klein/ https://github.com/twisted/klein/; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/hyperlink[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/tubes[${PYTHON_USEDEP}] + >=dev-python/twisted-16.6[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # known test fail: https://github.com/twisted/klein/issues/339 +# sed -e 's/big world/big+world/' \ +# -e 's/4321)]/4321.0)]/' \ +# -e 's/not a number/not+a+number/' \ +# -i src/klein/test/test_form.py || die + + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: b6adcf2eccd59010de67c9b7684f26141b97a266 Author: Brian Dolbec gentoo org> AuthorDate: Sun Mar 28 21:58:53 2021 + Commit: Brian Dolbec gentoo org> CommitDate: Sun Mar 28 22:16:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6adcf2e dev-python/klein: Add py3.9 to python_compat Required for buildbot-3.0.2 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Brian Dolbec gentoo.org> dev-python/klein/klein-20.6.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/klein/klein-20.6.0.ebuild b/dev-python/klein/klein-20.6.0.ebuild index 43622c7d56f..8a23e937e7c 100644 --- a/dev-python/klein/klein-20.6.0.ebuild +++ b/dev-python/klein/klein-20.6.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 666f3e44cb751705eb2948c02dd52028fe955ac5 Author: Brian Dolbec gentoo org> AuthorDate: Sat Jul 25 22:50:20 2020 + Commit: Brian Dolbec gentoo org> CommitDate: Sat Jul 25 23:25:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666f3e44 dev-python/klein: Version bump Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Brian Dolbec gentoo.org> dev-python/klein/Manifest| 1 + dev-python/klein/klein-20.6.0.ebuild | 57 2 files changed, 58 insertions(+) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest index 1d9a9e8c171..732763d2f32 100644 --- a/dev-python/klein/Manifest +++ b/dev-python/klein/Manifest @@ -1 +1,2 @@ DIST klein-19.6.0.tar.gz 100867 BLAKE2B 2d03a5040d7f470bd73b25a66a1dbb2d6278a12afd7ffeffe0055b2d8bf88d5fd6d97e08bdbc185fbfcd34aa0589f79d79488cba77b4b08430dbafd8ba5e0afe SHA512 c085269d4d79206446bc7ac333f536eb9dbeea0ada65b23610e4e8a35208820ef1bac78c17a4e71c22ed2c06f5467ce6c59666dc36fde3e4c0843ed69549 +DIST klein-20.6.0.tar.gz 125676 BLAKE2B 2ef9e4293cc7a727488ce4e95e2918eb3c5012559ff52699ef7d53d022d7238b33fc59774572ca8487870e8d242dd80659bca15c65c82b0aa76f45f8d8822fd7 SHA512 128b180c51c4457d3ffcd088e127d671d8260c3d62a80129bafbf6e3a2e47945290cd5ec695a64a1795465199e14c8f367445f8d90649f6384fd8338a53bb48e diff --git a/dev-python/klein/klein-20.6.0.ebuild b/dev-python/klein/klein-20.6.0.ebuild new file mode 100644 index 000..f89fedf523f --- /dev/null +++ b/dev-python/klein/klein-20.6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="micro-framework for developing production-ready web services with Python" +HOMEPAGE="https://pypi.org/project/klein https://github.com/twisted/klein; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/hyperlink[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/tubes[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_prepare_all() { + # nuke irreleveant test dep + sed -e 's/"typing",//' \ + -i setup.py || die + # known test fail: https://github.com/twisted/klein/issues/339 + sed -e 's/big world/big+world/' \ + -e 's/4321)]/4321.0)]/' \ + -e 's/not a number/not+a+number/' \ + -i src/klein/test/test_form.py || die + + distutils-r1_python_prepare_all +} +python_test() { + distutils_install_for_testing + + pytest -v || + die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/klein/
commit: 5e038299cefa7a85cc0536c18c4fc61ef2ecd104 Author: Brian Dolbec gentoo org> AuthorDate: Mon Jun 1 04:06:49 2020 + Commit: Brian Dolbec gentoo org> CommitDate: Mon Jun 1 22:57:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e038299 dev-python/klein: New pkg, dep of dev-util/buildbot-badges Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Brian Dolbec gentoo.org> dev-python/klein/Manifest| 1 + dev-python/klein/klein-19.6.0.ebuild | 57 dev-python/klein/metadata.xml| 24 +++ 3 files changed, 82 insertions(+) diff --git a/dev-python/klein/Manifest b/dev-python/klein/Manifest new file mode 100644 index 000..1d9a9e8c171 --- /dev/null +++ b/dev-python/klein/Manifest @@ -0,0 +1 @@ +DIST klein-19.6.0.tar.gz 100867 BLAKE2B 2d03a5040d7f470bd73b25a66a1dbb2d6278a12afd7ffeffe0055b2d8bf88d5fd6d97e08bdbc185fbfcd34aa0589f79d79488cba77b4b08430dbafd8ba5e0afe SHA512 c085269d4d79206446bc7ac333f536eb9dbeea0ada65b23610e4e8a35208820ef1bac78c17a4e71c22ed2c06f5467ce6c59666dc36fde3e4c0843ed69549 diff --git a/dev-python/klein/klein-19.6.0.ebuild b/dev-python/klein/klein-19.6.0.ebuild new file mode 100644 index 000..f89fedf523f --- /dev/null +++ b/dev-python/klein/klein-19.6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="micro-framework for developing production-ready web services with Python" +HOMEPAGE="https://pypi.org/project/klein https://github.com/twisted/klein; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/hyperlink[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/tubes[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_prepare_all() { + # nuke irreleveant test dep + sed -e 's/"typing",//' \ + -i setup.py || die + # known test fail: https://github.com/twisted/klein/issues/339 + sed -e 's/big world/big+world/' \ + -e 's/4321)]/4321.0)]/' \ + -e 's/not a number/not+a+number/' \ + -i src/klein/test/test_form.py || die + + distutils-r1_python_prepare_all +} +python_test() { + distutils_install_for_testing + + pytest -v || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/klein/metadata.xml b/dev-python/klein/metadata.xml new file mode 100644 index 000..dab0ec77e4d --- /dev/null +++ b/dev-python/klein/metadata.xml @@ -0,0 +1,24 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + dol...@gentoo.org + Brian Dolbec + + + + hawk...@twistedmatrix.com + Amber Brown + + klein + twisted/klein + + + Klein is a micro-framework for developing production-ready web services + with Python. It is 'micro' in that it has an incredibly small API + similar to Bottle and Flask. It is not 'micro' in that it depends on + things outside the standard library. This is primarily because it is + built on widely used and well tested components like Werkzeug and + Twisted. + +