[arch-commits] Commit in (4 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 16:57:44 UTC 2019


    Date: Thursday, May 23, 2019 @ 16:57:44
  Author: alucryd
Revision: 469432

fix python-typing_extensions name

Added:
  python-typing_extensions/
  python-typing_extensions/trunk/
  python-typing_extensions/trunk/PKGBUILD
Deleted:
  python-typing-extensions/

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

Added: python-typing_extensions/trunk/PKGBUILD
===================================================================
--- python-typing_extensions/trunk/PKGBUILD	                        (rev 0)
+++ python-typing_extensions/trunk/PKGBUILD	2019-05-23 16:57:44 UTC (rev 469432)
@@ -0,0 +1,34 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Michael Yeatts <mwyeatts at gmail.com>
+
+pkgname=python-typing_extensions
+pkgver=3.7.2
+pkgrel=2
+pkgdesc='Backported and Experimental Type Hints for Python 3.5+'
+arch=(any)
+url=https://github.com/python/typing/tree/master/typing_extensions
+license=(custom)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+provides=(python-typing-extensions)
+conflicts=(python-typing-extensions)
+source=(git+https://github.com/python/typing.git#commit=1be6269634bec97d58d68cc1243359118373580a)
+sha256sums=(SKIP)
+
+build() {
+  cd typing/typing_extensions
+
+  python setup.py build
+}
+
+package() {
+  cd typing/typing_extensions
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-typing_extensions/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list