[arch-commits] Commit in (4 files)

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


    Date: Tuesday, September 3, 2019 @ 14:25:19
  Author: svenstaro
Revision: 507858

Rename python-neovim to python-pynvim

Added:
  python-pynvim/
  python-pynvim/repos/
  python-pynvim/trunk/
  python-pynvim/trunk/PKGBUILD

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

Added: python-pynvim/trunk/PKGBUILD
===================================================================
--- python-pynvim/trunk/PKGBUILD	                        (rev 0)
+++ python-pynvim/trunk/PKGBUILD	2019-09-03 14:25:19 UTC (rev 507858)
@@ -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" ${pkgname}-${pkgver}/setup.py
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${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