mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +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=jsonschema
|
||||||
pkgname=('python3-jsonschema' 'python2-jsonschema')
|
pkgname=('python3-jsonschema' 'python2-jsonschema')
|
||||||
pkgver=2.5.1
|
pkgver=2.5.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="An implementation of JSON Schema validation for Python"
|
pkgdesc="An implementation of JSON Schema validation for Python"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://pypi.python.org/pypi/jsonschema"
|
url="http://pypi.python.org/pypi/jsonschema"
|
||||||
@ -19,7 +19,7 @@ prepare(){
|
|||||||
package_python3-jsonschema() {
|
package_python3-jsonschema() {
|
||||||
depends=('python3')
|
depends=('python3')
|
||||||
cd "$srcdir/$_pkgname-$pkgver"
|
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
|
install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ pkgbase=python-mistune
|
|||||||
_pkgname=mistune
|
_pkgname=mistune
|
||||||
pkgname=('python3-mistune' 'python2-mistune')
|
pkgname=('python3-mistune' 'python2-mistune')
|
||||||
pkgver=0.7.1
|
pkgver=0.7.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The fastest markdown parser in pure Python with renderer feature."
|
pkgdesc="The fastest markdown parser in pure Python with renderer feature."
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/lepture/mistune"
|
url="https://github.com/lepture/mistune"
|
||||||
@ -19,7 +19,7 @@ prepare() {
|
|||||||
|
|
||||||
package_python3-mistune() {
|
package_python3-mistune() {
|
||||||
cd "$srcdir/${_pkgname}-$pkgver"
|
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"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python3-mistune/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user