summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkin Dursun2019-12-21 21:07:19 +0300
committerEkin Dursun2019-12-21 21:07:19 +0300
commitd9116adfb6c789a7f2cbbfb6c81f57faa7f8f2e2 (patch)
tree23824e8390a22e74be8d985f631d61f7b867377e
parentb90ae160f8c9c342dd280c054689bd3cf2ca9a34 (diff)
downloadaur-d9116adfb6c789a7f2cbbfb6c81f57faa7f8f2e2.tar.gz
Version bump
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 15 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc8ceeefa67..bb640591231 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,12 @@
pkgbase = python2-pynvim
pkgdesc = Python client for Neovim
- pkgver = 0.3.2
- pkgrel = 3
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://github.com/neovim/pynvim
arch = any
license = Apache
+ checkdepends = python2-pytest
+ checkdepends = python2-pytest-runner
makedepends = python2-setuptools
depends = python2
depends = python2-msgpack
@@ -12,8 +14,8 @@ pkgbase = python2-pynvim
depends = python2-trollius
provides = python2-neovim
replaces = python2-neovim
- source = https://github.com/neovim/python-client/archive/0.3.2.tar.gz
- sha256sums = 0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2
+ source = https://github.com/neovim/python-client/archive/0.4.0.tar.gz
+ sha256sums = 6d48f194e5102cbc2043bf78647cfdea77bdb2b545fe942c20bbc6c58f489210
pkgname = python2-pynvim
diff --git a/PKGBUILD b/PKGBUILD
index 3ffe570009a..e8567e165a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,31 @@
pkgname=python2-pynvim
_realname=pynvim
-pkgver=0.3.2
-pkgrel=3
+pkgver=0.4.0
+pkgrel=1
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')
+checkdepends=('python2-pytest' 'python2-pytest-runner')
provides=('python2-neovim')
replaces=('python2-neovim')
source=("https://github.com/neovim/python-client/archive/${pkgver}.tar.gz")
-sha256sums=('0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2')
+sha256sums=('6d48f194e5102cbc2043bf78647cfdea77bdb2b545fe942c20bbc6c58f489210')
-prepare() {
- sed -i "s/msgpack-python/msgpack/g" ${_realname}-${pkgver}/setup.py
-}
build() {
cd "${srcdir}/${_realname}-${pkgver}"
python2 setup.py build
}
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python2 setup.py pytest
+}
+
package() {
cd "${srcdir}/${_realname}-${pkgver}"
python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build