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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:51:39 UTC 2020


    Date: Monday, November 9, 2020 @ 16:51:38
  Author: foutrelis
Revision: 747618

archrelease: copy trunk to community-staging-any

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

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

Copied: mypy/repos/community-staging-any/PKGBUILD (from rev 747616, mypy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:51:38 UTC (rev 747618)
@@ -0,0 +1,27 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: icasdri <icasdri at gmail dot com>
+# Contributor: hexchain <i at hexchain.org>
+
+pkgname=mypy
+pkgver=0.790
+pkgrel=2
+pkgdesc='Optional static typing for Python 2 and 3 (PEP484)'
+url="http://www.mypy-lang.org/"
+arch=('any')
+license=('MIT')
+depends=('python-setuptools' 'python-psutil' 'python-typed-ast' 'python-mypy_extensions' 'python-typing_extensions')
+makedepends=('git')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('2b21ba45ad9ef2e2eb88ce4aeadd0112d0f5026418324176fd494a6824b74975')
+
+build() {
+    cd "$pkgname-$pkgver"
+    export PYTHONHASHSEED=0
+    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