fixed some python packages errors

This commit is contained in:
gnastyle 2016-01-22 14:20:48 +01:00
parent 57cafac722
commit 4ee9d184e1
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ pkgbase=python-jsonschema
_pkgname=jsonschema
pkgname=('python3-jsonschema' 'python2-jsonschema')
pkgver=2.5.1
pkgrel=1
pkgrel=2
pkgdesc="An implementation of JSON Schema validation for Python"
arch=('any')
url="http://pypi.python.org/pypi/jsonschema"
@ -19,7 +19,7 @@ prepare(){
package_python3-jsonschema() {
depends=('python3')
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
python3 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

View File

@ -2,7 +2,7 @@ pkgbase=python-mistune
_pkgname=mistune
pkgname=('python3-mistune' 'python2-mistune')
pkgver=0.7.1
pkgrel=1
pkgrel=2
pkgdesc="The fastest markdown parser in pure Python with renderer feature."
arch=('any')
url="https://github.com/lepture/mistune"
@ -19,7 +19,7 @@ prepare() {
package_python3-mistune() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py install --root="$pkgdir/"
python3 setup.py install --root="$pkgdir/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python3-mistune/LICENSE"
}