[arch-commits] Commit in python-language-server/repos/community-any (2 files)

Maxim Baz maximbaz at archlinux.org
Tue Jan 22 07:27:19 UTC 2019


    Date: Tuesday, January 22, 2019 @ 07:27:18
  Author: maximbaz
Revision: 426847

archrelease: copy trunk to community-any

Added:
  python-language-server/repos/community-any/PKGBUILD
    (from rev 426846, python-language-server/trunk/PKGBUILD)
Deleted:
  python-language-server/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-22 07:27:08 UTC (rev 426846)
+++ PKGBUILD	2019-01-22 07:27:18 UTC (rev 426847)
@@ -1,73 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Maxim Baz <$pkgbase at maximbaz dot com>
-# Contributor: fenuks
-
-pkgbase=python-language-server
-pkgname=(python-language-server python2-language-server)
-pkgver=0.21.5
-pkgrel=1
-pkgdesc="An implementation of the Language Server Protocol for Python"
-arch=("any")
-url="https://github.com/palantir/python-language-server"
-license=("MIT")
-makedepends=("python" "python-setuptools"
-             "python2" "python2-setuptools")
-checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  "python-pyflakes"
-              "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle"
-	          "autopep8" "python-rope" "python-pydocstyle" "python-jsonrpc-server"
-              "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes"
-	          "python2-autopep8" "python2-rope" "python2-mccabe" "python2-pydocstyle" "python2-jsonrpc-server"
-	          "python2-mock" "python2-jedi" "python2-future" "python2-futures" "python2-yapf" "python2-pycodestyle" "python2-autopep8")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('118831f32c62cbb9da82d3dc888d519664fd68ad4b79fcad427602b2904970da')
-
-prepare() {
-  cp -r "$pkgname-$pkgver"{,-py2}
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    python setup.py build
-
-    cd "${srcdir}/${pkgname}-${pkgver}-py2"
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    py.test
-
-    cd "${srcdir}/${pkgname}-${pkgver}-py2"
-    py.test2
-}
-
-package_python-language-server() {
-    depends=("python" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy")
-    optdepends=(
-	"python-mccabe: for complexity checking"
-        "python-rope: for completions and renaming"
-	"python-pyflakes: for linter to detect various errors"
-	"python-pycodestyle: for style checking"
-	"autopep8: for code formatting"
-	"yapf: for code formatting (preferred over autopep8)"
-	"python-pydocstyle: for docstring style checking")
-    cd "${pkgbase}-${pkgver}"
-    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-language-server() {
-    depends=("python2" "python2-jsonrpc-server" "python2-future" "python2-jedi" "python2-pluggy")
-    optdepends=(
-	"python2-mccabe: for complexity checking"
-        "python2-rope: for completions and renaming"
-	"python2-pyflakes: for linter to detect various errors"
-	"python2-pycodestyle: for style checking"
-	"python2-autopep8: for code formatting"
-	"python2-yapf: for code formatting (preferred over autopep8)"
-	"python2-pydocstyle: for docstring style checking")
-    cd "${pkgbase}-${pkgver}-py2"
-    python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-    mv "$pkgdir/usr/bin/pyls" "$pkgdir/usr/bin/pyls2"
-    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-language-server/repos/community-any/PKGBUILD (from rev 426846, python-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-22 07:27:18 UTC (rev 426847)
@@ -0,0 +1,73 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Maxim Baz <$pkgbase at maximbaz dot com>
+# Contributor: fenuks
+
+pkgbase=python-language-server
+pkgname=(python-language-server python2-language-server)
+pkgver=0.22.0
+pkgrel=1
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server"
+license=("MIT")
+makedepends=("python" "python-setuptools"
+             "python2" "python2-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  "python-pyflakes"
+              "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle"
+	          "autopep8" "python-rope" "python-pydocstyle" "python-jsonrpc-server"
+              "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" "python2-pyflakes"
+	          "python2-autopep8" "python2-rope" "python2-mccabe" "python2-pydocstyle" "python2-jsonrpc-server"
+	          "python2-mock" "python2-jedi" "python2-future" "python2-futures" "python2-yapf" "python2-pycodestyle" "python2-autopep8")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('46450805798dad2c1abe88cbf66b05db030265b232a5de456d0d3c6800edeb12')
+
+prepare() {
+  cp -r "$pkgname-$pkgver"{,-py2}
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    python setup.py build
+
+    cd "${srcdir}/${pkgname}-${pkgver}-py2"
+    python2 setup.py build
+}
+
+check() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    py.test
+
+    cd "${srcdir}/${pkgname}-${pkgver}-py2"
+    py.test2
+}
+
+package_python-language-server() {
+    depends=("python" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy")
+    optdepends=(
+	"python-mccabe: for complexity checking"
+        "python-rope: for completions and renaming"
+	"python-pyflakes: for linter to detect various errors"
+	"python-pycodestyle: for style checking"
+	"autopep8: for code formatting"
+	"yapf: for code formatting (preferred over autopep8)"
+	"python-pydocstyle: for docstring style checking")
+    cd "${pkgbase}-${pkgver}"
+    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-language-server() {
+    depends=("python2" "python2-jsonrpc-server" "python2-future" "python2-jedi" "python2-pluggy")
+    optdepends=(
+	"python2-mccabe: for complexity checking"
+        "python2-rope: for completions and renaming"
+	"python2-pyflakes: for linter to detect various errors"
+	"python2-pycodestyle: for style checking"
+	"python2-autopep8: for code formatting"
+	"python2-yapf: for code formatting (preferred over autopep8)"
+	"python2-pydocstyle: for docstring style checking")
+    cd "${pkgbase}-${pkgver}-py2"
+    python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+    mv "$pkgdir/usr/bin/pyls" "$pkgdir/usr/bin/pyls2"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list