diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 19 insertions, 13 deletions
@@ -1,17 +1,17 @@ pkgbase = restview pkgdesc = A viewer for ReStructuredText documents that renders them on the fly. - pkgver = 2.7.0 + pkgver = 2.9.2 pkgrel = 1 url = http://mg.pov.lt/restview/ arch = any license = GPL - makedepends = python-setuptools depends = python-docutils depends = python-pygments depends = python-readme-renderer + depends = python-setuptools options = !emptydirs - source = https://github.com/mgedmin/restview/archive/2.7.0.tar.gz - sha256sums = ab288234da5c6b3f7cd02d6112d0a020822f43423c086089efeeda2ffac5c388 + source = https://files.pythonhosted.org/packages/source/r/restview/restview-2.9.2.tar.gz + sha256sums = 790097eb587c0465126dde73ca06c7a22c5007ce1be4a1de449a13c0767b32dc pkgname = restview diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4447c5bc7a84 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +src/ +pkg/ +restview-*.tar.gz +restview-*.pkg.tar.xz +restview-*.src.tar.gz @@ -1,27 +1,28 @@ -# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> -# Contributor: Christopher Arndt <chris@chrisarndt.de> +# Maintainer: Christopher Arndt <chris@chrisarndt.de> +# Contributor: Andrzej Giniewicz <gginiu@gmail.com> pkgname=restview -pkgver=2.7.0 +pkgver=2.9.2 pkgrel=1 pkgdesc="A viewer for ReStructuredText documents that renders them on the fly." arch=(any) url="http://mg.pov.lt/restview/" license=('GPL') -depends=('python-docutils' 'python-pygments' 'python-readme-renderer') -makedepends=('python-setuptools') +depends=('python-docutils' 'python-pygments' 'python-readme-renderer' 'python-setuptools') options=(!emptydirs) -source=("https://github.com/mgedmin/restview/archive/${pkgver}.tar.gz") -sha256sums=('ab288234da5c6b3f7cd02d6112d0a020822f43423c086089efeeda2ffac5c388') +source=( + "https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz" +) +sha256sums=('790097eb587c0465126dde73ca06c7a22c5007ce1be4a1de449a13c0767b32dc') -package() { +build() { cd "${srcdir}"/${pkgname}-${pkgver} python setup.py build } package() { cd "${srcdir}"/${pkgname}-${pkgver} - python setup.py install --root="${pkgdir}"/ --optimize=1 + python setup.py install --skip-build --root="${pkgdir}"/ --optimize=1 } |