[arch-commits] Commit in python-pasta/repos (community-any community-any/PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Oct 29 08:23:35 UTC 2019
Date: Tuesday, October 29, 2019 @ 08:23:32
Author: svenstaro
Revision: 520879
archrelease: copy trunk to community-any
Added:
python-pasta/repos/community-any/
python-pasta/repos/community-any/PKGBUILD
(from rev 520878, python-pasta/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-pasta/repos/community-any/PKGBUILD (from rev 520878, python-pasta/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-10-29 08:23:32 UTC (rev 520879)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-pasta
+pkgver=0.1.7
+pkgrel=1
+pkgdesc='Library to refactor python code through AST manipulation'
+url='https://github.com/google/pasta'
+arch=('any')
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/google/pasta/archive/v${pkgver}.tar.gz")
+sha512sums=('3906b29062fee372c1faafbf29bd93e41c9e324a6535d6654f0f1d098b64004c76fd01ce986dcf96eea670c71170430d546bfba45adef4def1033d4a45417dcf')
+
+build() {
+ cd "$srcdir/pasta-$pkgver"
+
+ python setup.py build
+}
+
+package() {
+ cd "pasta-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list