* update python-ptyprocess to 0.7.0-6
This commit is contained in:
parent
6fee4d96ff
commit
8c9c2fe30c
@ -5,13 +5,13 @@
|
||||
pkgname=python-ptyprocess
|
||||
_pkgname=ptyprocess
|
||||
pkgver=0.7.0
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Run a subprocess in a pseudo terminal"
|
||||
url="https://github.com/pexpect/ptyprocess"
|
||||
arch=(any)
|
||||
license=('ISC')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-flit-core')
|
||||
source=("https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
"LIC-pty-$pkgver::https://raw.githubusercontent.com/pexpect/ptyprocess/master/LICENSE")
|
||||
sha512sums=('791d8f2e79900627215ce80ce67ee9c79173dbc08297c6219d5058f9b80c5e323b93049e6836a70c4073f43548d22e3cf310f2e9948ef12f96bcaa15b0ddb2f3'
|
||||
@ -23,8 +23,13 @@ prepare() {
|
||||
mv "LIC-pty-$pkgver" LICENSE
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname-$pkgver"
|
||||
python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user