summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Zhao2018-06-22 00:55:11 +0200
committerMax Zhao2018-06-22 00:55:11 +0200
commit349badd4f45a2a601b6ab608c044e6f183eb4c02 (patch)
tree461f31e877d28e494fd16dadffbc990918c1232f
parent4c4b19a39df84366db05b90a513f9cce31d9bb02 (diff)
downloadaur-349badd4f45a2a601b6ab608c044e6f183eb4c02.tar.gz
Initial reupload using python3 and adding fixes for new flask socketio
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD26
2 files changed, 24 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54ef0ba03fb..b89b6c11f95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
-pkgbase = vim-instant-rst
+pkgbase = instant-rst
pkgdesc = A local server for preview rst document instantly
- pkgver = 20170628
+ pkgver = 20180612
pkgrel = 1
url = https://github.com/Rykka/instant-rst.py
arch = any
license = CPL
- makedepends = python2-setuptools
- depends = python2-flask
- depends = python2-docutils
- depends = python2-pygments
- depends = python2-flask-socketio
- depends = python2-socketio
+ makedepends = python-setuptools
+ depends = python-flask
+ depends = python-docutils
+ depends = python-pygments
+ depends = python-flask-socketio
+ depends = python-socketio
+ depends = python-future
optdepends = vim
optdepends = neovim
- source = instant-rst::git+https://github.com/Rykka/instant-rst.py.git#commit=2d32636
+ source = instant-rst::git+https://github.com/tlinhart/instant-rst.py.git#commit=48ebd40
md5sums = SKIP
-pkgname = vim-instant-rst
+pkgname = instant-rst
diff --git a/PKGBUILD b/PKGBUILD
index ea0567c3b65..63e0c3d9a56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,36 @@
-# Maintainer: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
+# Maintainer: Max Zhao <alcasa.mz@gmail.com>
+# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
-_pkgname=instant-rst
-pkgname="vim-${_pkgname}"
-_commit=2d32636 # 7 digits
-pkgver=20170628
+pkgname=instant-rst
+_commit=48ebd40 # 7 digits
+pkgver=20180612
pkgrel=1
pkgdesc="A local server for preview rst document instantly"
arch=('any')
url="https://github.com/Rykka/instant-rst.py"
license=('CPL')
-depends=('python2-flask' 'python2-docutils' 'python2-pygments' 'python2-flask-socketio' 'python2-socketio')
-makedepends=('python2-setuptools')
+depends=('python-flask' 'python-docutils' 'python-pygments' 'python-flask-socketio' 'python-socketio' 'python-future')
+makedepends=('python-setuptools')
optdepends=('vim' 'neovim')
-source=("${_pkgname}::git+https://github.com/Rykka/${_pkgname}.py.git#commit=${_commit}")
+source=("${pkgname}::git+https://github.com/tlinhart/${pkgname}.py.git#commit=${_commit}")
md5sums=('SKIP')
pkgver() {
- cd "${_pkgname}"
+ cd "${pkgname}"
git log -1 --format="%cd" --date=short | tr -d '-'
}
build() {
- cd "${_pkgname}"
+ cd "${pkgname}"
- python2 setup.py build
+ python setup.py build
}
package() {
- cd "${_pkgname}"
+ cd "${pkgname}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
+ python setup.py install --root="${pkgdir}" --optimize=1
}
# vim:set ts=2 sw=2 cc=80 et: