From ac2a23996a614729aa13058a309db0aace40bc18 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 4 Jan 2017 14:03:56 +0100 Subject: [PATCH] new upstream version 3.0 --- .SRCINFO | 8 +++----- PKGBUILD | 7 ++++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 6955a4c..abdb817 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Tue Jun 7 14:46:15 UTC 2016 pkgbase = python2-rarfile pkgdesc = Rar archive reader for Python - pkgver = 2.8 + pkgver = 3.0 pkgrel = 1 url = https://pypi.python.org/pypi/rarfile arch = any @@ -15,8 +13,8 @@ pkgbase = python2-rarfile optdepends = libarchive: Alternative to "unrar" optdepends = python2-crypto: Parsing encrypted headers provides = python-rarfile - source = https://pypi.io/packages/source/r/rarfile/rarfile-2.8.tar.gz - md5sums = 98942f9c51468ca044738fe2e96fdd2d + source = https://pypi.io/packages/source/r/rarfile/rarfile-3.0.tar.gz + md5sums = d7e9a8b429f5604730400b4db3362038 pkgname = python2-rarfile diff --git a/PKGBUILD b/PKGBUILD index 0ab6099..09402c0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ _proj=rarfile _python=python2 _pyver=2 #_python=python3 _pyver="" pkgname="$_python-$_proj" -pkgver=2.8 +pkgver=3.0 pkgrel=1 pkgdesc="Rar archive reader for Python" arch=(any) @@ -25,11 +25,12 @@ provides=("python-$_proj") source=( "https://pypi.io/packages/source/r/$_proj/$_proj-$pkgver.tar.gz" ) -md5sums=('98942f9c51468ca044738fe2e96fdd2d') +md5sums=('d7e9a8b429f5604730400b4db3362038') build() { cd "$srcdir/$_proj-$pkgver" "$_python" setup.py build + cd doc make html SPHINXBUILD="sphinx-build$_pyver" BUILDDIR="_build-$pkgname" } @@ -37,6 +38,6 @@ package() { cd "$srcdir/$_proj-$pkgver" "$_python" setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -D -m644 README.html "$pkgdir/usr/share/doc/$pkgname/README.html" + install -d -m755 "$pkgdir/usr/share/doc/$pkgname" cp -a "doc/_build-$pkgname/html" "$pkgdir/usr/share/doc/$pkgname/" }