diff options
author | cqzw555 | 2024-04-05 19:13:15 +0800 |
---|---|---|
committer | cqzw555 | 2024-04-05 19:13:15 +0800 |
commit | 1a859893034d83d6efb1a63ae6ce42ece34d87fc (patch) | |
tree | 2ffe92b45bc242d9b245579747ec58a34297545e | |
parent | ebc6f44c4cab00c5c03579ac969cb3a9a3eaf8ec (diff) | |
download | aur-1a859893034d83d6efb1a63ae6ce42ece34d87fc.tar.gz |
fix the checksum error
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
3 files changed, 12 insertions, 6 deletions
@@ -14,6 +14,6 @@ pkgbase = python-ansiwrap source = python-ansiwrap-python3.11.patch::https://github.com/jonathaneunice/ansiwrap/pull/19.patch sha512sums = a01f1f1f79c7a84ca63013f6d05e2abeb00135905d1763f1b5d9fe430613c6bb10fbd2e345074e0001a8e7e40f1916d4c3a946da4dbb02fa288277ad441fab00 sha512sums = 54064900875534263a11ddfd013928383dbb2f00f6e3e6b098940bb1159c485439191667b6c742214c10ec84aca8e3cc62cdc3a5d9ea39cb3e2b74f13ad3a4a4 - sha512sums = f3c623594e609582dffe28b9bfb0159935c538fce1b31c23c8ae07829b7678cc6b1c53e3ee89c44c5720158b6ecb516648f10c1d62805102772933871d0ad8e6 + sha512sums = cd9aa36634ce57243878ea7f5f08fec9ca82d4a090a016517c40dfa49a2fe4fed613c73d88906480c42761c09e487107ea0792a48d5ac36974ac9bcb9174e97c pkgname = python-ansiwrap diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..306ba9b31168 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +src +pkg + +*.pkg.tar.zst +*.tar.gz +*.patch
\ No newline at end of file @@ -3,7 +3,7 @@ pkgname=python-ansiwrap pkgver=0.8.4 _commit=20e2e8c78a54bdce947e38c069c5eb9c115423ae -pkgrel=6 +pkgrel=7 pkgdesc="textwrap, but savvy to ANSI colors and styles" url="https://github.com/jonathaneunice/ansiwrap" license=('Apache') @@ -16,7 +16,7 @@ source=("https://github.com/jonathaneunice/ansiwrap/archive/$_commit/$pkgname-$_ $pkgname-python3.11.patch::https://github.com/jonathaneunice/ansiwrap/pull/19.patch) sha512sums=('a01f1f1f79c7a84ca63013f6d05e2abeb00135905d1763f1b5d9fe430613c6bb10fbd2e345074e0001a8e7e40f1916d4c3a946da4dbb02fa288277ad441fab00' '54064900875534263a11ddfd013928383dbb2f00f6e3e6b098940bb1159c485439191667b6c742214c10ec84aca8e3cc62cdc3a5d9ea39cb3e2b74f13ad3a4a4' - 'f3c623594e609582dffe28b9bfb0159935c538fce1b31c23c8ae07829b7678cc6b1c53e3ee89c44c5720158b6ecb516648f10c1d62805102772933871d0ad8e6') + 'cd9aa36634ce57243878ea7f5f08fec9ca82d4a090a016517c40dfa49a2fe4fed613c73d88906480c42761c09e487107ea0792a48d5ac36974ac9bcb9174e97c') prepare() { cd ansiwrap-$_commit @@ -28,15 +28,15 @@ prepare() { build() { cd ansiwrap-$_commit - python setup.py build + python -m build --wheel --no-isolation } check() { cd ansiwrap-$_commit - python -m pytest + PYTHONPATH="$PWD/build/lib" pytest } package() { cd ansiwrap-$_commit - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir/" dist/*.whl } |