[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed May 27 18:30:49 UTC 2020


    Date: Wednesday, May 27, 2020 @ 18:30:49
  Author: svenstaro
Revision: 635982

Prepare python-typer

Added:
  python-typer/
  python-typer/repos/
  python-typer/trunk/
  python-typer/trunk/PKGBUILD

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

Added: python-typer/trunk/PKGBUILD
===================================================================
--- python-typer/trunk/PKGBUILD	                        (rev 0)
+++ python-typer/trunk/PKGBUILD	2020-05-27 18:30:49 UTC (rev 635982)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Tony Benoy <me at tonybenoy.com>
+
+_pkgname=typer
+pkgname=python-typer
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Build great CLIs. Easy to code. Based on Python type hints"
+arch=('any')
+url="https://typer.tiangolo.com/"
+license=('MIT')
+depends=('python-click')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tiangolo/typer/archive/${pkgver}.tar.gz")
+sha512sums=('7d0338c8ad78fe239f8835c70175b667fb6dc1da0c0a41925c947c8ec26ddecda502ede3915a28502dd94cc667f0f642f9e2a835c063d87d999688b3312198f6')
+
+build() {
+  cd "typer-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "typer-$pkgver"
+  python setup.py install --root=$pkgdir --optimize=1 --skip-build
+}


More information about the arch-commits mailing list