[arch-commits] Commit in pyannotate/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Apr 29 01:01:03 UTC 2020
Date: Wednesday, April 29, 2020 @ 01:01:03
Author: ffy00
Revision: 622166
archrelease: copy trunk to community-any
Added:
pyannotate/repos/community-any/
pyannotate/repos/community-any/PKGBUILD
(from rev 622165, pyannotate/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: pyannotate/repos/community-any/PKGBUILD (from rev 622165, pyannotate/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-04-29 01:01:03 UTC (rev 622166)
@@ -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