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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:46:45 UTC 2021


    Date: Friday, December 3, 2021 @ 00:46:44
  Author: felixonmars
Revision: 1064050

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pynvim/repos/community-staging-any/PKGBUILD (from rev 1064048, python-pynvim/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:46:44 UTC (rev 1064050)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-pynvim
+pkgver=0.4.3
+pkgrel=2
+pkgdesc='Python client for Neovim'
+url='https://github.com/neovim/pynvim'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-msgpack' 'python-greenlet')
+provides=('python-neovim')
+makedepends=('python-setuptools')
+replaces=('python-neovim')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/neovim/pynvim/archive/${pkgver}.tar.gz")
+sha256sums=('e7c9de44b0201ad874a608270b7a9b10fd48bda65f49bada05815d973ca79391')
+
+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