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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:21:32 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:21:32
  Author: felixonmars
Revision: 1058096

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

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

Copied: python-mypy_extensions/repos/community-staging-any/PKGBUILD (from rev 1058091, python-mypy_extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:21:32 UTC (rev 1058096)
@@ -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=4
+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