[arch-commits] Commit in python-pyannotate/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Wed Apr 29 00:56:18 UTC 2020


    Date: Wednesday, April 29, 2020 @ 00:56:17
  Author: ffy00
Revision: 622158

archrelease: copy trunk to community-any

Added:
  python-pyannotate/repos/community-any/
  python-pyannotate/repos/community-any/PKGBUILD
    (from rev 622157, python-pyannotate/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-pyannotate/repos/community-any/PKGBUILD (from rev 622157, python-pyannotate/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-29 00:56:17 UTC (rev 622158)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=pyannotate
+pkgver=1.2.0
+pkgrel=1
+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