[arch-commits] Commit in python-jsonrpc-server/repos/community-staging-any (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 20:03:45 UTC 2021


    Date: Thursday, December 2, 2021 @ 20:03:45
  Author: felixonmars
Revision: 1062478

archrelease: copy trunk to community-staging-any

Added:
  python-jsonrpc-server/repos/community-staging-any/PKGBUILD
    (from rev 1062476, python-jsonrpc-server/trunk/PKGBUILD)
  python-jsonrpc-server/repos/community-staging-any/fix-test.patch
    (from rev 1062477, python-jsonrpc-server/trunk/fix-test.patch)
Deleted:
  python-jsonrpc-server/repos/community-staging-any/PKGBUILD
  python-jsonrpc-server/repos/community-staging-any/fix-test.patch

----------------+
 PKGBUILD       |   82 +++++++++++++++++++++++++++----------------------------
 fix-test.patch |   24 ++++++++--------
 2 files changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 20:03:41 UTC (rev 1062477)
+++ PKGBUILD	2021-12-02 20:03:45 UTC (rev 1062478)
@@ -1,41 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: fenuks
-
-pkgname=python-jsonrpc-server
-pkgver=0.4.0
-pkgrel=4
-pkgdesc="Python library implementing asynchronous JSON RPC server"
-arch=("any")
-url="https://github.com/palantir/python-jsonrpc-server"
-license=("MIT")
-depends=("python" "python-future" "python-ujson")
-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"
-        "fix-test.patch")
-sha256sums=('62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595'
-            '7f6dcef7052f666bafccaa2d43c037a511aaad8ee289fb65130eae809cf88072')
-
-prepare(){
-    cd "${pkgname}-${pkgver}"
-    patch -p1 -i ../fix-test.patch
-}
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    python setup.py build
-}
-
-check() {
-    cd "${pkgname}-${pkgver}"
-    py.test
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    python 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:

Copied: python-jsonrpc-server/repos/community-staging-any/PKGBUILD (from rev 1062476, python-jsonrpc-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 20:03:45 UTC (rev 1062478)
@@ -0,0 +1,41 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: fenuks
+
+pkgname=python-jsonrpc-server
+pkgver=0.4.0
+pkgrel=5
+pkgdesc="Python library implementing asynchronous JSON RPC server"
+arch=("any")
+url="https://github.com/palantir/python-jsonrpc-server"
+license=("MIT")
+depends=("python" "python-future" "python-ujson")
+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"
+        "fix-test.patch")
+sha256sums=('62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595'
+            '7f6dcef7052f666bafccaa2d43c037a511aaad8ee289fb65130eae809cf88072')
+
+prepare(){
+    cd "${pkgname}-${pkgver}"
+    patch -p1 -i ../fix-test.patch
+}
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    python setup.py build
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    py.test
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    python 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:

Deleted: fix-test.patch
===================================================================
--- fix-test.patch	2021-12-02 20:03:41 UTC (rev 1062477)
+++ fix-test.patch	2021-12-02 20:03:45 UTC (rev 1062478)
@@ -1,12 +0,0 @@
-diff --git a/test/test_streams.py b/test/test_streams.py
-index 6985aec..9e64489 100644
---- a/test/test_streams.py
-+++ b/test/test_streams.py
-@@ -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 [

Copied: python-jsonrpc-server/repos/community-staging-any/fix-test.patch (from rev 1062477, python-jsonrpc-server/trunk/fix-test.patch)
===================================================================
--- fix-test.patch	                        (rev 0)
+++ fix-test.patch	2021-12-02 20:03:45 UTC (rev 1062478)
@@ -0,0 +1,12 @@
+diff --git a/test/test_streams.py b/test/test_streams.py
+index 6985aec..9e64489 100644
+--- a/test/test_streams.py
++++ b/test/test_streams.py
+@@ -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 [



More information about the arch-commits mailing list