[arch-commits] Commit in mypy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 20:29:50 UTC 2019
Date: Saturday, October 26, 2019 @ 20:29:49
Author: felixonmars
Revision: 520568
archrelease: copy trunk to community-staging-any
Added:
mypy/repos/community-staging-any/
mypy/repos/community-staging-any/PKGBUILD
(from rev 520566, mypy/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: mypy/repos/community-staging-any/PKGBUILD (from rev 520566, mypy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:29:49 UTC (rev 520568)
@@ -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
+pkgver=0.730
+pkgrel=2
+pkgdesc='Optional static typing for Python 2 and 3 (PEP484)'
+url="http://www.mypy-lang.org/"
+arch=('any')
+license=('MIT')
+depends=('python' 'python-psutil' 'python-typed-ast' 'python-mypy_extensions' 'python-typing_extensions')
+makedepends=('python-setuptools' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('42a78944e80770f21609f504ca6c8173f7768043205b5ac51c9144e057dcf879')
+
+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