[arch-commits] Commit in python-typing_extensions/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:36:45 UTC 2019
Date: Friday, October 25, 2019 @ 15:36:45
Author: foutrelis
Revision: 519113
archrelease: copy trunk to community-staging-any
Added:
python-typing_extensions/repos/community-staging-any/
python-typing_extensions/repos/community-staging-any/PKGBUILD
(from rev 519112, python-typing_extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-typing_extensions/repos/community-staging-any/PKGBUILD (from rev 519112, python-typing_extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:36:45 UTC (rev 519113)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Michael Yeatts <mwyeatts at gmail.com>
+
+pkgname=python-typing_extensions
+pkgver=3.7.4
+pkgrel=3
+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#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+ cd typing
+
+ # fix version
+ git cherry-pick -n 27f2e427b9b677401961b5da1762f8380a929bb8
+}
+
+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