[arch-commits] Commit in python-pynvim/repos (community-any community-any/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Sep 3 14:29:45 UTC 2019


    Date: Tuesday, September 3, 2019 @ 14:29:45
  Author: svenstaro
Revision: 507860

archrelease: copy trunk to community-any

Added:
  python-pynvim/repos/community-any/
  python-pynvim/repos/community-any/PKGBUILD
    (from rev 507859, python-pynvim/trunk/PKGBUILD)

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

Copied: python-pynvim/repos/community-any/PKGBUILD (from rev 507859, python-pynvim/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-09-03 14:29:45 UTC (rev 507860)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=python-pynvim
+pkgver=0.3.2
+pkgrel=4
+pkgdesc='Python client for Neovim'
+url='https://github.com/neovim/pynvim'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-msgpack' 'python-greenlet')
+makedepends=('python-setuptools')
+replaces=('python-neovim')
+source=("https://github.com/neovim/pynvim/archive/${pkgver}.tar.gz")
+sha256sums=('0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2')
+
+prepare() {
+  sed -i "s/msgpack-python/msgpack/g" pynvim-${pkgver}/setup.py
+}
+
+build() {
+  cd "${srcdir}/pynvim-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/pynvim-${pkgver}"
+  python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
+}
+
+# vim:set sw=2 sts=2 et:


More information about the arch-commits mailing list