[arch-commits] Commit in (4 files)

Morten Linderud foxboron at archlinux.org
Sat Oct 6 12:57:16 UTC 2018


    Date: Saturday, October 6, 2018 @ 12:57:16
  Author: foxboron
Revision: 390863

addpkg: mypy_extensions 0.4.1-1

Added:
  mypy_extensions/
  mypy_extensions/repos/
  mypy_extensions/trunk/
  mypy_extensions/trunk/PKGBUILD

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

Added: mypy_extensions/trunk/PKGBUILD
===================================================================
--- mypy_extensions/trunk/PKGBUILD	                        (rev 0)
+++ mypy_extensions/trunk/PKGBUILD	2018-10-06 12:57:16 UTC (rev 390863)
@@ -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_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/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('37e0e956f41369209a3d5f34580150bcacfabaa57b33a15c0b25f4b5725e0812')
+
+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