summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkin Dursun2019-09-21 11:41:38 +0300
committerEkin Dursun2019-09-21 11:41:38 +0300
commit2fa1b8970b65a966b44d3ec7d41c27fc20c5afdb (patch)
tree1a3ce5bd824ad390ef79fb6fd3c6f29420e884e5
downloadaur-2fa1b8970b65a966b44d3ec7d41c27fc20c5afdb.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d23e99cefcd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python2-pynvim
+ pkgdesc = Python client for Neovim
+ pkgver = 0.3.2
+ pkgrel = 2
+ url = https://github.com/neovim/pynvim
+ arch = any
+ license = Apache
+ makedepends = python2-setuptools
+ depends = python2
+ depends = python2-msgpack
+ depends = python2-greenlet
+ depends = python2-trollius
+ replaces = python2-neovim
+ source = https://github.com/neovim/python-client/archive/0.3.2.tar.gz
+ sha256sums = 0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2
+
+pkgname = python2-pynvim
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8f979f025b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Ekin Dursun <ekindursun@gmail.com>
+# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=python2-pynvim
+_realname=pynvim
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Python client for Neovim'
+url='https://github.com/neovim/pynvim'
+arch=('any')
+license=('Apache')
+depends=('python2' 'python2-msgpack' 'python2-greenlet' 'python2-trollius')
+makedepends=('python2-setuptools')
+replaces=('python2-neovim')
+source=("https://github.com/neovim/python-client/archive/${pkgver}.tar.gz")
+sha256sums=('0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2')
+
+prepare() {
+ sed -i "s/msgpack-python/msgpack/g" ${_realname}-${pkgver}/setup.py
+}
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
+}
+
+# vim:set sw=2 sts=2 et:
+