[arch-commits] Commit in python-jsonrpc-server/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 20:11:10 UTC 2019


    Date: Friday, October 25, 2019 @ 20:11:09
  Author: foutrelis
Revision: 519782

archrelease: copy trunk to community-staging-any

Added:
  python-jsonrpc-server/repos/community-staging-any/
  python-jsonrpc-server/repos/community-staging-any/PKGBUILD
    (from rev 519780, python-jsonrpc-server/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-jsonrpc-server/repos/community-staging-any/PKGBUILD (from rev 519780, python-jsonrpc-server/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:11:09 UTC (rev 519782)
@@ -0,0 +1,34 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: fenuks
+
+pkgname=python-jsonrpc-server
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-jsonrpc-server"
+license=("MIT")
+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')
+
+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:



More information about the arch-commits mailing list