[arch-commits] Commit in python-astunparse/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sat Jul 23 07:03:25 UTC 2022
Date: Saturday, July 23, 2022 @ 07:03:25
Author: svenstaro
Revision: 1255478
archrelease: copy trunk to community-any
Added:
python-astunparse/repos/community-any/PKGBUILD
(from rev 1255477, python-astunparse/trunk/PKGBUILD)
Deleted:
python-astunparse/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 35 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-23 07:03:01 UTC (rev 1255477)
+++ PKGBUILD 2022-07-23 07:03:25 UTC (rev 1255478)
@@ -1,28 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Andrew Steinke <rkcf at rkcf.me>
-
-pkgname=python-astunparse
-_pkgname=astunparse
-pkgrel=5
-pkgver=1.6.3
-pkgdesc="An AST unparser for Python"
-depends=('python' 'python-six')
-makedepends=('python-setuptools' 'python-wheel')
-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')
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
- python setup.py build
-}
-
-package() {
- cd "$srcdir/$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-astunparse/repos/community-any/PKGBUILD (from rev 1255477, python-astunparse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-23 07:03:25 UTC (rev 1255478)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Andrew Steinke <rkcf at rkcf.me>
+
+pkgname=python-astunparse
+_pkgname=astunparse
+pkgrel=6
+pkgver=1.6.3
+pkgdesc="An AST unparser for Python"
+depends=('python' 'python-six')
+makedepends=('python-setuptools' 'python-wheel')
+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"
+ $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
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list