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

Evangelos Foutras foutrelis at archlinux.org
Sun Jul 8 12:54:23 UTC 2018


    Date: Sunday, July 8, 2018 @ 12:54:23
  Author: foutrelis
Revision: 354830

archrelease: copy trunk to community-staging-any

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

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

Copied: mypy/repos/community-staging-any/PKGBUILD (from rev 354829, mypy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-08 12:54:23 UTC (rev 354830)
@@ -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.610
+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' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('f472645347430282d62d1f97d12ccb8741f19f1572b7cf30b58280e4e0818739')
+
+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