mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
fixed some python packages errors
This commit is contained in:
parent
57cafac722
commit
4ee9d184e1
@ -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
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user