[arch-commits] Commit in pyannotate/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Apr 29 01:00:59 UTC 2020
Date: Wednesday, April 29, 2020 @ 01:00:56
Author: ffy00
Revision: 622165
upgpkg: pyannotate 1.2.0-2
Added:
pyannotate/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-29 01:00:56 UTC (rev 622165)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=pyannotate
+pkgver=1.2.0
+pkgrel=2
+pkgdesc='Auto-generate PEP-484 annotations'
+arch=('any')
+url='https://github.com/dropbox/pyannotate'
+license=('Apache')
+depends=('python-mypy_extensions' 'python-six')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('cd755f3061f5c4320346f0198b71e4b312378a3810c5999f1d318b7427e7c55bd1bdfc4af84880bd45faf69eabccbd2684d1c18c1f9ad0661d35a377984ca063')
+
+build() {
+ cd $pkgname-$pkgver
+
+ python setup.py build
+}
+
+#check() {
+# cd $pkgname-$pkgver
+#
+# python setup.py pytest
+#}
+
+package() {
+ cd $pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list