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

Morten Linderud foxboron at archlinux.org
Sun May 6 15:12:14 UTC 2018


    Date: Sunday, May 6, 2018 @ 15:12:13
  Author: foxboron
Revision: 319024

archrelease: copy trunk to community-any

Added:
  mypy/repos/community-any/
  mypy/repos/community-any/PKGBUILD
    (from rev 319023, mypy/trunk/PKGBUILD)

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

Copied: mypy/repos/community-any/PKGBUILD (from rev 319023, mypy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-05-06 15:12:13 UTC (rev 319024)
@@ -0,0 +1,26 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: icasdri <icasdri at gmail dot com>
+# Contributor: hexchain <i at hexchain.org>
+
+pkgname=mypy
+pkgver=0.600
+pkgrel=2
+pkgdesc='Optional static typing for Python 2 and 3 (PEP484)'
+url="http://www.mypy-lang.org/"
+arch=('any')
+license=('MIT')
+depends=('python' 'python-psutil' 'python-typed-ast')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python/mypy/archive/v$pkgver.tar.gz")
+sha256sums=('29d57a1cafabee3aebbbcc66ec82a92b838e80af2b50e90c6acb88d6756bb40e')
+
+build() {
+    cd "$pkgname-$pkgver"
+    python setup.py build
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list