[arch-commits] Commit in python-mypy_extensions/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Oct 6 13:13:18 UTC 2018


    Date: Saturday, October 6, 2018 @ 13:13:18
  Author: foxboron
Revision: 390869

upgpkg: python-mypy_extensions 0.4.1-1

Added:
  python-mypy_extensions/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-06 13:13:18 UTC (rev 390869)
@@ -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=python-mypy_extensions
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='Experimental type system extensions for programs checked with the mypy typechecker'
+url="http://www.mypy-lang.org/"
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/mypy_extensions/mypy_extensions-$pkgver.tar.gz")
+sha256sums=('37e0e956f41369209a3d5f34580150bcacfabaa57b33a15c0b25f4b5725e0812')
+
+build() {
+    cd "mypy_extensions-$pkgver"
+    python setup.py build
+}
+
+package() {
+    cd "mypy_extensions-$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