public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-lsp-jsonrpc/files/, dev-python/python-lsp-jsonrpc/
@ 2021-05-19 18:42 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-05-19 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     7fc5a36f834073654825415bd46c0779501ef8eb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Apr 18 08:14:39 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed May 19 18:41:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc5a36f

dev-python/python-lsp-jsonrpc: add spyder fork of python-jsonrpc-server

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/python-lsp-jsonrpc/Manifest             |  1 +
 ...sonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch | 12 ++++++++
 dev-python/python-lsp-jsonrpc/metadata.xml         | 20 +++++++++++++
 .../python-lsp-jsonrpc-1.0.0.ebuild                | 35 ++++++++++++++++++++++
 4 files changed, 68 insertions(+)

diff --git a/dev-python/python-lsp-jsonrpc/Manifest b/dev-python/python-lsp-jsonrpc/Manifest
new file mode 100644
index 00000000000..38ee18a0871
--- /dev/null
+++ b/dev-python/python-lsp-jsonrpc/Manifest
@@ -0,0 +1 @@
+DIST python-lsp-jsonrpc-1.0.0.tar.gz 10011 BLAKE2B 671490d439f10eebf2d05f221adad25be6f881f4a0f4fa975d4574937a951d4d0bc51264a9ec67d3ef5d112b6e025b551685d3e3c2b959c4a6bcef92d46c5ff3 SHA512 447835fc6c3810f486d80f85295089c021b792843bdf88d461c021b8b04407d8f7e6a99c07351a23658a5dff46eb475bc64e51bdec029787cd33330b54d4dfec

diff --git a/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch b/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch
new file mode 100644
index 00000000000..c7b01903761
--- /dev/null
+++ b/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch
@@ -0,0 +1,12 @@
+diff --git a/test/test_streams.py b/test/test_streams.py
+index bce3ffa..f93cb8d 100644
+--- a/test/test_streams.py
++++ b/test/test_streams.py
+@@ -113,6 +113,7 @@ def test_writer_bad_message(wfile, writer):
+         hour=1,
+         minute=1,
+         second=1,
++        tzinfo=datetime.timezone.utc
+     ))
+ 
+     assert wfile.getvalue() in [

diff --git a/dev-python/python-lsp-jsonrpc/metadata.xml b/dev-python/python-lsp-jsonrpc/metadata.xml
new file mode 100644
index 00000000000..8de0ea86732
--- /dev/null
+++ b/dev-python/python-lsp-jsonrpc/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>andrewammerlaan@riseup.net</email>
+		<name>Andrew Ammerlaan</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+		<name>Python</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">python-lsp-jsonrpc</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild
new file mode 100644
index 00000000000..3e5baaabbc4
--- /dev/null
+++ b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="JSON RPC 2.0 server library"
+HOMEPAGE="https://github.com/python-lsp/python-lsp-jsonrpc"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND="
+	test? (
+		dev-python/pycodestyle[${PYTHON_USEDEP}]
+		dev-python/pyflakes[${PYTHON_USEDEP}]
+	)"
+
+RDEPEND=">=dev-python/ujson-3[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}/${P}-fix-test-with-ujson-3-and-up.patch" )
+
+python_prepare_all() {
+	# Remove pytest-cov dep
+	sed -i -e '0,/addopts/I!d' setup.cfg || die
+
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-lsp-jsonrpc/files/, dev-python/python-lsp-jsonrpc/
@ 2023-10-14 18:43 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-10-14 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a66a086676222a8a7f4f725a26c735f2eba1a485
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 14 18:40:51 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 18:40:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a66a0866

dev-python/python-lsp-jsonrpc: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-lsp-jsonrpc/Manifest             |  3 --
 ...sonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch | 12 -------
 .../python-lsp-jsonrpc-1.0.0-r1.ebuild             | 35 --------------------
 .../python-lsp-jsonrpc-1.1.0.ebuild                | 38 ----------------------
 .../python-lsp-jsonrpc-1.1.1.ebuild                | 38 ----------------------
 5 files changed, 126 deletions(-)

diff --git a/dev-python/python-lsp-jsonrpc/Manifest b/dev-python/python-lsp-jsonrpc/Manifest
index 7bff30b697e7..afcf1412a7f2 100644
--- a/dev-python/python-lsp-jsonrpc/Manifest
+++ b/dev-python/python-lsp-jsonrpc/Manifest
@@ -1,4 +1 @@
-DIST python-lsp-jsonrpc-1.0.0.tar.gz 10011 BLAKE2B 671490d439f10eebf2d05f221adad25be6f881f4a0f4fa975d4574937a951d4d0bc51264a9ec67d3ef5d112b6e025b551685d3e3c2b959c4a6bcef92d46c5ff3 SHA512 447835fc6c3810f486d80f85295089c021b792843bdf88d461c021b8b04407d8f7e6a99c07351a23658a5dff46eb475bc64e51bdec029787cd33330b54d4dfec
-DIST python-lsp-jsonrpc-1.1.0.tar.gz 14950 BLAKE2B 061a7c2028d909dcef5a1b1235263fb6909ec6b78c71c210e26403a1c6af351138428e4d3c8360d77d7f0420d27ae9c0f1c0d8aa6bdb645aedd1ca1e85d236d7 SHA512 f62ee2177939a154251bd67f28dd9ce6fdebd39aa1d5e8993676becf7ace074a0397ff1f86c1e91b38bf5f7d06c1d9df5ab7aed00d952534c40999086c4878fe
-DIST python-lsp-jsonrpc-1.1.1.tar.gz 15151 BLAKE2B c9e5a516318e85dbd2f9da61b17507a256b7e09a657b2bf4246bfa9020de753fcb8d89082b92cf741fc7bef1b5f9d2559016cd1001d69e5b582d46eedde77e5a SHA512 2722aa038f6d2aebab4980ece7f67685d7285fa81e67ddf541478dd338dabb1279106233ec9124c40a15d4f1801c57cc3fbb9bebd5d5651355f36aae77b104d6
 DIST python-lsp-jsonrpc-1.1.2.tar.gz 15298 BLAKE2B 04c4616e63cbdee199747e87e6b21cede9b3b6d3001cf43f3d2640ab727e3c3466f914a7b870311cd08d01161d5cb8bd8a7c9ce35e24ea2a2a7b2821957a79e5 SHA512 7f8de21ca9616b725617b9aed2b2f3d991477e16065ac239559e45723713fe29fb16194145ed191df57d621d49a04e0258e9573fdabce34409fc779cae45ea82

diff --git a/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch b/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch
deleted file mode 100644
index c7b01903761b..000000000000
--- a/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/test/test_streams.py b/test/test_streams.py
-index bce3ffa..f93cb8d 100644
---- a/test/test_streams.py
-+++ b/test/test_streams.py
-@@ -113,6 +113,7 @@ def test_writer_bad_message(wfile, writer):
-         hour=1,
-         minute=1,
-         second=1,
-+        tzinfo=datetime.timezone.utc
-     ))
- 
-     assert wfile.getvalue() in [

diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.ebuild
deleted file mode 100644
index d1cf40779941..000000000000
--- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 pypi
-
-DESCRIPTION="JSON RPC 2.0 server library"
-HOMEPAGE="https://github.com/python-lsp/python-lsp-jsonrpc"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-
-BDEPEND="
-	test? (
-		dev-python/pycodestyle[${PYTHON_USEDEP}]
-		dev-python/pyflakes[${PYTHON_USEDEP}]
-	)"
-
-RDEPEND=">=dev-python/ujson-3[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}/${P}-fix-test-with-ujson-3-and-up.patch" )
-
-python_prepare_all() {
-	# Remove pytest-cov dep
-	sed -i -e '0,/addopts/I!d' setup.cfg || die
-
-	distutils-r1_python_prepare_all
-}

diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild
deleted file mode 100644
index 68be8217ecf5..000000000000
--- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="JSON RPC 2.0 server library"
-HOMEPAGE="
-	https://github.com/python-lsp/python-lsp-jsonrpc/
-	https://pypi.org/project/python-lsp-jsonrpc/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
-	>=dev-python/ujson-3[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		dev-python/pycodestyle[${PYTHON_USEDEP}]
-		dev-python/pyflakes[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local -x TZ=UTC
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest -o addopts=
-}

diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild
deleted file mode 100644
index 68be8217ecf5..000000000000
--- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="JSON RPC 2.0 server library"
-HOMEPAGE="
-	https://github.com/python-lsp/python-lsp-jsonrpc/
-	https://pypi.org/project/python-lsp-jsonrpc/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
-	>=dev-python/ujson-3[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		dev-python/pycodestyle[${PYTHON_USEDEP}]
-		dev-python/pyflakes[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local -x TZ=UTC
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest -o addopts=
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-14 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-19 18:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-lsp-jsonrpc/files/, dev-python/python-lsp-jsonrpc/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-10-14 18:43 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox