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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:20:59 UTC 2020


    Date: Monday, November 9, 2020 @ 16:20:59
  Author: felixonmars
Revision: 747490

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 747488, python-mypy_extensions/trunk/PKGBUILD)

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

Copied: python-mypy_extensions/repos/community-staging-any/PKGBUILD (from rev 747488, python-mypy_extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:20:59 UTC (rev 747490)
@@ -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.3
+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=('2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8')
+
+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