Date: Saturday, July 23, 2022 @ 07:03:01 Author: svenstaro Revision: 1255477
upgpkg: python-astunparse 1.6.3-6: Remove wheel dep from requires.txt Modified: python-astunparse/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-23 06:51:31 UTC (rev 1255476) +++ PKGBUILD 2022-07-23 07:03:01 UTC (rev 1255477) @@ -1,9 +1,9 @@ -# Maintainer: Sven-Hendrik Haase <[email protected]> +# Maintainer: Sven-Hendrik Haase <[email protected]> # Contributor: Andrew Steinke <[email protected]> pkgname=python-astunparse _pkgname=astunparse -pkgrel=5 +pkgrel=6 pkgver=1.6.3 pkgdesc="An AST unparser for Python" depends=('python' 'python-six') @@ -11,9 +11,16 @@ url="https://github.com/simonpercivall/astunparse" license=('python') arch=('any') -source=("$pkgname-$pkgver.tar.gz::https://github.com/simonpercivall/astunparse/archive/v$pkgver.tar.gz") -sha512sums=('8f85d848c65d1728df767b1c2aee44aa4ce79a6810c348a5b3669b56f4bc5ce7f09414557be38d0a5103a77872d75083762bd2829d02ac8414df17221d30492b') +source=("$pkgname-$pkgver.tar.gz::https://github.com/simonpercivall/astunparse/archive/v$pkgver.tar.gz" + $pkgname-65.patch::https://patch-diff.githubusercontent.com/raw/simonpercivall/astunparse/pull/65.patch) +sha512sums=('8f85d848c65d1728df767b1c2aee44aa4ce79a6810c348a5b3669b56f4bc5ce7f09414557be38d0a5103a77872d75083762bd2829d02ac8414df17221d30492b' + '69bb59355b0c0999b1fcc8dee4ff241ead9fda84bc159db454473b63bed88310b8ae96e0720b763dd4b9edb7dceaeb8cc9e9af4ff2cb15b60ae39fce7bcdc970') +prepare() { + cd "$srcdir/$_pkgname-$pkgver" + patch -Np1 -i "$srcdir"/$pkgname-65.patch +} + build() { cd "$srcdir/$_pkgname-$pkgver" python setup.py build
