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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:54:59 UTC 2019


    Date: Friday, October 25, 2019 @ 15:54:59
  Author: felixonmars
Revision: 519269

archrelease: copy trunk to community-staging-any

Added:
  python-mypy_extensions/repos/community-staging-any/
  python-mypy_extensions/repos/community-staging-any/PKGBUILD
    (from rev 519268, python-mypy_extensions/trunk/PKGBUILD)

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

Copied: python-mypy_extensions/repos/community-staging-any/PKGBUILD (from rev 519268, python-mypy_extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:54:59 UTC (rev 519269)
@@ -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=2
+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