[arch-commits] Commit in monkeytype/repos (community-any community-any/PKGBUILD)

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


    Date: Wednesday, April 29, 2020 @ 00:53:13
  Author: ffy00
Revision: 622156

archrelease: copy trunk to community-any

Added:
  monkeytype/repos/community-any/
  monkeytype/repos/community-any/PKGBUILD
    (from rev 622155, monkeytype/trunk/PKGBUILD)

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

Copied: monkeytype/repos/community-any/PKGBUILD (from rev 622155, monkeytype/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-29 00:53:13 UTC (rev 622156)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=MonkeyType
+pkgname=monkeytype
+pkgver=20.4.2
+pkgrel=1
+pkgdesc='A system for Python that generates static type annotations by collecting runtime types'
+arch=('any')
+url='https://github.com/instagram/MonkeyType'
+license=('BSD')
+depends=('python-mypy_extensions' 'python-libcst')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-django')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('911f34b8c67f53a7684bdadf83655793516c89960f4bbf18e7454faa87e08df0cfb8189bfc15682ac34648f01cbab53ebbbac5dd8c2dc2ce878d1e1a5cbb0383')
+
+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