[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Friday, November 13, 2020 @ 17:24:30 Author: foutrelis Revision: 753938 upgpkg: python-jsonrpc-server 0.4.0-3: Python 3.9 rebuild Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-13 17:23:49 UTC (rev 753937) +++ PKGBUILD2020-11-13 17:24:30 UTC (rev 753938) @@ -4,7 +4,7 @@ pkgname=python-jsonrpc-server pkgver=0.4.0 -pkgrel=2 +pkgrel=3 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") url="https://github.com/palantir/python-jsonrpc-server;
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD fix-test.patch)
Date: Friday, November 13, 2020 @ 17:23:49 Author: foxboron Revision: 753937 Added proper patch for tests Modified: python-jsonrpc-server/trunk/PKGBUILD python-jsonrpc-server/trunk/fix-test.patch + PKGBUILD |2 +- fix-test.patch | 21 +++-- 2 files changed, 8 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-13 17:21:19 UTC (rev 753936) +++ PKGBUILD2020-11-13 17:23:49 UTC (rev 753937) @@ -15,7 +15,7 @@ source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; "fix-test.patch") sha256sums=('62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595' -'ad8dfe322b5d1f29db6da44f1346f2a900d046d2163241c1e312bfd7c54b5155') +'7f6dcef7052f666bafccaa2d43c037a511aaad8ee289fb65130eae809cf88072') prepare(){ cd "${pkgname}-${pkgver}" Modified: fix-test.patch === --- fix-test.patch 2020-11-13 17:21:19 UTC (rev 753936) +++ fix-test.patch 2020-11-13 17:23:49 UTC (rev 753937) @@ -1,19 +1,12 @@ diff --git a/test/test_streams.py b/test/test_streams.py -index 6985aec..8b292f9 100644 +index 6985aec..9e64489 100644 --- a/test/test_streams.py +++ b/test/test_streams.py -@@ -121,10 +121,10 @@ def test_writer_bad_message(wfile, writer): +@@ -119,6 +119,7 @@ def test_writer_bad_message(wfile, writer): + hour=1, + minute=1, second=1, ++tzinfo=datetime.timezone.utc )) - --assert wfile.getvalue() in [ --b'', -+assert wfile.getvalue() == ( -+b'' - b'Content-Length: 10\r\n' - b'Content-Type: application/vscode-jsonrpc; charset=utf8\r\n' - b'\r\n' --b'1546304461' --] -+b'1546300861' -+) + + assert wfile.getvalue() in [
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 20:13:18 Author: felixonmars Revision: 748156 upgpkg: python-jsonrpc-server 0.4.0-2: Python 3.9 rebuild Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 20:13:17 UTC (rev 748155) +++ PKGBUILD2020-11-09 20:13:18 UTC (rev 748156) @@ -4,7 +4,7 @@ pkgname=python-jsonrpc-server pkgver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") url="https://github.com/palantir/python-jsonrpc-server;
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD fix-test.patch)
Date: Tuesday, September 15, 2020 @ 16:17:04 Author: foxboron Revision: 707160 upgpkg: python-jsonrpc-server 0.4.0-1 Added: python-jsonrpc-server/trunk/fix-test.patch Modified: python-jsonrpc-server/trunk/PKGBUILD + PKGBUILD | 12 ++-- fix-test.patch | 19 +++ 2 files changed, 25 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-15 16:13:42 UTC (rev 707159) +++ PKGBUILD2020-09-15 16:17:04 UTC (rev 707160) @@ -3,7 +3,7 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.3.4 +pkgver=0.4.0 pkgrel=1 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") @@ -13,13 +13,13 @@ makedepends=("python" "python-setuptools") checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; -'python-3.8.patch') -sha256sums=('c73bf5495c9dd4d2f902755bedeb6da5afe778e0beee82f0e195c4655352fe37' -'718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') +"fix-test.patch") +sha256sums=('62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595' +'ad8dfe322b5d1f29db6da44f1346f2a900d046d2163241c1e312bfd7c54b5155') -prepare() { +prepare(){ cd "${pkgname}-${pkgver}" -patch -Np1 -i ../python-3.8.patch +patch -p1 -i ../fix-test.patch } build() { Added: fix-test.patch === --- fix-test.patch (rev 0) +++ fix-test.patch 2020-09-15 16:17:04 UTC (rev 707160) @@ -0,0 +1,19 @@ +diff --git a/test/test_streams.py b/test/test_streams.py +index 6985aec..8b292f9 100644 +--- a/test/test_streams.py b/test/test_streams.py +@@ -121,10 +121,10 @@ def test_writer_bad_message(wfile, writer): + second=1, + )) + +-assert wfile.getvalue() in [ +-b'', ++assert wfile.getvalue() == ( ++b'' + b'Content-Length: 10\r\n' + b'Content-Type: application/vscode-jsonrpc; charset=utf8\r\n' + b'\r\n' +-b'1546304461' +-] ++b'1546300861' ++)
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Wednesday, January 22, 2020 @ 20:05:29 Author: foxboron Revision: 554492 upgpkg: python-jsonrpc-server 0.3.4-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-22 20:04:28 UTC (rev 554491) +++ PKGBUILD2020-01-22 20:05:29 UTC (rev 554492) @@ -3,7 +3,7 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.3.3 +pkgver=0.3.4 pkgrel=1 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") @@ -14,7 +14,7 @@ checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'python-3.8.patch') -sha256sums=('61510d617e4678b656f6bb7f9f1866d3804a6a7cd6968fa11c6db164fca80c4b' +sha256sums=('c73bf5495c9dd4d2f902755bedeb6da5afe778e0beee82f0e195c4655352fe37' '718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') prepare() {
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, January 18, 2020 @ 13:01:53 Author: foxboron Revision: 552975 upgpkg: python-jsonrpc-server 0.3.3-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-18 11:33:25 UTC (rev 552974) +++ PKGBUILD2020-01-18 13:01:53 UTC (rev 552975) @@ -3,7 +3,7 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.3.2 +pkgver=0.3.3 pkgrel=1 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") @@ -14,7 +14,7 @@ checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'python-3.8.patch') -sha256sums=('05bcf26eac4c98c96afec266acdf563d8f454e12612da9a3f9aabb66c46daf35' +sha256sums=('61510d617e4678b656f6bb7f9f1866d3804a6a7cd6968fa11c6db164fca80c4b' '718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') prepare() {
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Monday, December 2, 2019 @ 17:23:06 Author: maximbaz Revision: 534714 upgpkg: python-jsonrpc-server 0.3.2-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-02 17:20:45 UTC (rev 534713) +++ PKGBUILD2019-12-02 17:23:06 UTC (rev 534714) @@ -3,7 +3,7 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.3.1 +pkgver=0.3.2 pkgrel=1 pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") @@ -14,7 +14,7 @@ checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'python-3.8.patch') -sha256sums=('ccc221b82e37853ed3fd3b64ca30b0562348127598b32413f70936fde82261d9' +sha256sums=('05bcf26eac4c98c96afec266acdf563d8f454e12612da9a3f9aabb66c46daf35' '718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') prepare() {
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Sunday, December 1, 2019 @ 18:53:07 Author: maximbaz Revision: 534645 python-jsonrpc-server: update pkgdesc Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-12-01 18:33:03 UTC (rev 534644) +++ PKGBUILD2019-12-01 18:53:07 UTC (rev 534645) @@ -5,7 +5,7 @@ pkgname=python-jsonrpc-server pkgver=0.3.1 pkgrel=1 -pkgdesc="An implementation of the Language Server Protocol for Python" +pkgdesc="Python library implementing asynchronous JSON RPC server" arch=("any") url="https://github.com/palantir/python-jsonrpc-server; license=("MIT")
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, November 30, 2019 @ 11:16:29 Author: foxboron Revision: 534562 upgpkg: python-jsonrpc-server 0.3.1-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-30 11:14:31 UTC (rev 534561) +++ PKGBUILD2019-11-30 11:16:29 UTC (rev 534562) @@ -3,7 +3,7 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.3.0 +pkgver=0.3.1 pkgrel=1 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") @@ -14,7 +14,7 @@ checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'python-3.8.patch') -sha256sums=('fed74a453124616c41f74d326164ba7d6dcb5a2a231e04f0f3f050daeca6c37e' +sha256sums=('ccc221b82e37853ed3fd3b64ca30b0562348127598b32413f70936fde82261d9' '718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') prepare() {
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, November 2, 2019 @ 21:33:18 Author: felixonmars Revision: 522183 Python 3.8 rebuild Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-02 21:32:15 UTC (rev 522182) +++ PKGBUILD2019-11-02 21:33:18 UTC (rev 522183) @@ -4,7 +4,7 @@ pkgname=python-jsonrpc-server pkgver=0.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") url="https://github.com/palantir/python-jsonrpc-server;
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD python-3.8, patch)
Date: Saturday, November 2, 2019 @ 21:32:15 Author: foutrelis Revision: 522182 Fix two test failures and some warnings Added: python-jsonrpc-server/trunk/python-3.8,patch Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD | 11 +++-- python-3.8,patch | 60 + 2 files changed, 69 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-02 20:55:04 UTC (rev 522181) +++ PKGBUILD2019-11-02 21:32:15 UTC (rev 522182) @@ -12,9 +12,16 @@ depends=("python" "python-future") makedepends=("python" "python-setuptools") checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) -sha256sums=('59ce9c9523c14c493a327b3a27ee37464a36dc2b9d8ab485ecbcedd38840380a') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz; +'python-3.8,patch') +sha256sums=('59ce9c9523c14c493a327b3a27ee37464a36dc2b9d8ab485ecbcedd38840380a' +'718d791bd233eeb9c3876f5e18d32e28e75d919375c4c2dd511f8a4e1023b479') +prepare() { +cd "${pkgname}-${pkgver}" +patch -Np1 -i ../python-3.8,patch +} + build() { cd "${pkgname}-${pkgver}" python setup.py build Added: python-3.8,patch === --- python-3.8,patch(rev 0) +++ python-3.8,patch2019-11-02 21:32:15 UTC (rev 522182) @@ -0,0 +1,60 @@ +diff -uprb python-jsonrpc-server-0.2.0.orig/pyls_jsonrpc/endpoint.py python-jsonrpc-server-0.2.0/pyls_jsonrpc/endpoint.py +--- python-jsonrpc-server-0.2.0.orig/pyls_jsonrpc/endpoint.py 2019-06-27 18:42:22.0 +0300 python-jsonrpc-server-0.2.0/pyls_jsonrpc/endpoint.py 2019-11-02 23:24:59.407851208 +0200 +@@ -98,7 +98,7 @@ class Endpoint(object): + message (dict): The JSON RPC message sent by the client + """ + if 'jsonrpc' not in message or message['jsonrpc'] != JSONRPC_VERSION: +-log.warn("Unknown message type %s", message) ++log.warning("Unknown message type %s", message) + return + + if 'id' not in message: +@@ -135,7 +135,7 @@ class Endpoint(object): + try: + handler = self._dispatcher[method] + except KeyError: +-log.warn("Ignoring notification for unknown method %s", method) ++log.warning("Ignoring notification for unknown method %s", method) + return + + try: +@@ -165,7 +165,7 @@ class Endpoint(object): + request_future = self._client_request_futures.pop(msg_id, None) + + if not request_future: +-log.warn("Received cancel notification for unknown message id %s", msg_id) ++log.warning("Received cancel notification for unknown message id %s", msg_id) + return + + # Will only work if the request hasn't started executing +@@ -230,12 +230,13 @@ class Endpoint(object): + request_future = self._server_request_futures.pop(msg_id, None) + + if not request_future: +-log.warn("Received response to unknown message id %s", msg_id) ++log.warning("Received response to unknown message id %s", msg_id) + return + + if error is not None: + log.debug("Received error response to message %s: %s", msg_id, error) + request_future.set_exception(JsonRpcException.from_dict(error)) ++return + + log.debug("Received result for message %s: %s", msg_id, result) + request_future.set_result(result) +diff -uprb python-jsonrpc-server-0.2.0.orig/test/test_endpoint.py python-jsonrpc-server-0.2.0/test/test_endpoint.py +--- python-jsonrpc-server-0.2.0.orig/test/test_endpoint.py 2019-06-27 18:42:22.0 +0300 python-jsonrpc-server-0.2.0/test/test_endpoint.py 2019-11-02 23:24:21.033838729 +0200 +@@ -115,9 +115,9 @@ def test_request_cancel(endpoint, consum + 'params': {'id': MSG_ID} + }) + +-with pytest.raises(exceptions.JsonRpcException) as exc_info: ++with pytest.raises((exceptions.JsonRpcException, futures.CancelledError)) as exc_info: + assert future.result(timeout=2) +-assert exc_info.type == exceptions.JsonRpcRequestCancelled ++assert exc_info.type in (exceptions.JsonRpcRequestCancelled, futures.CancelledError) + + + def test_consume_notification(endpoint, dispatcher):
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 20:11:03 Author: foutrelis Revision: 519779 Python 3.8 rebuild Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 20:11:00 UTC (rev 519778) +++ PKGBUILD2019-10-25 20:11:03 UTC (rev 519779) @@ -4,7 +4,7 @@ pkgname=python-jsonrpc-server pkgver=0.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") url="https://github.com/palantir/python-jsonrpc-server;
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Wednesday, July 3, 2019 @ 10:35:33 Author: maximbaz Revision: 487344 upgpkg: python-jsonrpc-server 0.2.0-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-03 09:21:14 UTC (rev 487343) +++ PKGBUILD2019-07-03 10:35:33 UTC (rev 487344) @@ -3,8 +3,8 @@ # Contributor: fenuks pkgname=python-jsonrpc-server -pkgver=0.1.2 -pkgrel=2 +pkgver=0.2.0 +pkgrel=1 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") url="https://github.com/palantir/python-jsonrpc-server; @@ -13,7 +13,7 @@ makedepends=("python" "python-setuptools") checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) -sha256sums=('09b418e3b1ba9032aecc7aefdd185511dd230fb8dacf18ec195d14dfd89d9e54') +sha256sums=('59ce9c9523c14c493a327b3a27ee37464a36dc2b9d8ab485ecbcedd38840380a') build() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, February 16, 2019 @ 18:42:50 Author: maximbaz Revision: 433701 python-jsonrpc-server: small cleanup Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-16 18:42:35 UTC (rev 433700) +++ PKGBUILD2019-02-16 18:42:50 UTC (rev 433701) @@ -16,12 +16,12 @@ sha256sums=('09b418e3b1ba9032aecc7aefdd185511dd230fb8dacf18ec195d14dfd89d9e54') build() { -cd "${srcdir}/${pkgname}-${pkgver}" +cd "${pkgname}-${pkgver}" python setup.py build } check() { -cd "${srcdir}/${pkgname}-${pkgver}" +cd "${pkgname}-${pkgver}" py.test }
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, February 16, 2019 @ 18:19:32 Author: maximbaz Revision: 433666 python-jsonrpc-server: final touch Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-02-16 18:19:09 UTC (rev 433665) +++ PKGBUILD2019-02-16 18:19:32 UTC (rev 433666) @@ -26,7 +26,7 @@ } package() { -cd "${pkgbase}-${pkgver}" +cd "${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, February 16, 2019 @ 18:13:41 Author: maximbaz Revision: 433650 python-jsonrpc-server: purge python2 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-16 18:12:08 UTC (rev 433649) +++ PKGBUILD2019-02-16 18:13:41 UTC (rev 433650) @@ -1,19 +1,17 @@ -# Maintainer: Maxim Baz <$pkgbase at maximbaz dot com> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> # Maintainer: Morten Linderud # Contributor: fenuks -pkgbase=python-jsonrpc-server -pkgname=(python-jsonrpc-server python2-jsonrpc-server) +pkgname=python-jsonrpc-server pkgver=0.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") url="https://github.com/palantir/python-jsonrpc-server; license=("MIT") -makedepends=("python" "python-setuptools" - "python2" "python2-setuptools") -checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock" - "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes" "python2-mock" "python2-futures") +depends=("python" "python-future") +makedepends=("python" "python-setuptools") +checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) sha256sums=('09b418e3b1ba9032aecc7aefdd185511dd230fb8dacf18ec195d14dfd89d9e54') @@ -20,25 +18,17 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py build -python2 setup.py build } check() { cd "${srcdir}/${pkgname}-${pkgver}" py.test -py.test2 } -package_python-jsonrpc-server() { -depends=("python" "python-future") +package() { cd "${pkgbase}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -package_python2-jsonrpc-server() { -depends=("python2" "python2-future") -cd "${pkgbase}-${pkgver}" -python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build -install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} +# vim:set ts=4 sw=4 et:
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Wednesday, January 16, 2019 @ 17:42:50 Author: maximbaz Revision: 423696 upgpkg: python-jsonrpc-server 0.1.2-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-16 16:47:33 UTC (rev 423695) +++ PKGBUILD2019-01-16 17:42:50 UTC (rev 423696) @@ -1,9 +1,10 @@ +# Maintainer: Maxim Baz <$pkgbase at maximbaz dot com> # Maintainer: Morten Linderud # Contributor: fenuks pkgbase=python-jsonrpc-server pkgname=(python-jsonrpc-server python2-jsonrpc-server) -pkgver=0.1.0 +pkgver=0.1.2 pkgrel=1 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") @@ -13,8 +14,8 @@ "python2" "python2-setuptools") checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock" "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes" "python2-mock" "python2-futures") -source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz;) -sha256sums=('4567f6af2b0691148308e50ab5ea6020eae231225fa72d7b34726900ab0dab83') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) +sha256sums=('09b418e3b1ba9032aecc7aefdd185511dd230fb8dacf18ec195d14dfd89d9e54') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -32,7 +33,7 @@ depends=("python" "python-future") cd "${pkgbase}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build -install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } package_python2-jsonrpc-server() { @@ -39,5 +40,5 @@ depends=("python2" "python2-future") cd "${pkgbase}-${pkgver}" python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build -install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Saturday, January 12, 2019 @ 19:10:10 Author: maximbaz Revision: 422740 upgpkg: python-jsonrpc-server 0.1.0-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-12 19:06:35 UTC (rev 422739) +++ PKGBUILD2019-01-12 19:10:10 UTC (rev 422740) @@ -3,7 +3,7 @@ pkgbase=python-jsonrpc-server pkgname=(python-jsonrpc-server python2-jsonrpc-server) -pkgver=0.0.2 +pkgver=0.1.0 pkgrel=1 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") @@ -11,10 +11,10 @@ license=("MIT") makedepends=("python" "python-setuptools" "python2" "python2-setuptools") -checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock" +checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock" "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes" "python2-mock" "python2-futures") source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz;) -sha256sums=('fc1ea9cd58a6959cbf555d2ba7f3605694b54a372a9c7a7d69dd6577d6d214a2') +sha256sums=('4567f6af2b0691148308e50ab5ea6020eae231225fa72d7b34726900ab0dab83') build() { cd "${srcdir}/${pkgname}-${pkgver}"
[arch-commits] Commit in python-jsonrpc-server/trunk (PKGBUILD)
Date: Friday, October 19, 2018 @ 21:47:50 Author: foxboron Revision: 397949 upgpkg: python-jsonrpc-server 0.0.2-1 Modified: python-jsonrpc-server/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-19 21:43:09 UTC (rev 397948) +++ PKGBUILD2018-10-19 21:47:50 UTC (rev 397949) @@ -3,7 +3,7 @@ pkgbase=python-jsonrpc-server pkgname=(python-jsonrpc-server python2-jsonrpc-server) -pkgver=0.0.1 +pkgver=0.0.2 pkgrel=1 pkgdesc="An implementation of the Language Server Protocol for Python" arch=("any") @@ -14,7 +14,7 @@ checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes" "python-mock" "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes" "python2-mock" "python2-futures") source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz;) -sha256sums=('cc00d8b92831f395bc423919abb46558fc1a3a4b6c63acea367dcfe85a2a107b') +sha256sums=('fc1ea9cd58a6959cbf555d2ba7f3605694b54a372a9c7a7d69dd6577d6d214a2') build() { cd "${srcdir}/${pkgname}-${pkgver}"