[arch-commits] Commit in python-typing_extensions/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:36:05 UTC 2020
Date: Monday, November 9, 2020 @ 15:36:05
Author: felixonmars
Revision: 747010
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 747008, python-typing_extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-typing_extensions/repos/community-staging-any/PKGBUILD (from rev 747008, python-typing_extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:36:05 UTC (rev 747010)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Michael Yeatts <mwyeatts at gmail.com>
+
+pkgname=python-typing_extensions
+pkgver=3.7.4.3
+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)
+_tag=ffebbecbf4ad162572050ecfaac4335cc5431c24
+source=(git+https://github.com/python/typing.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd typing
+
+ git describe --tags
+}
+
+prepare() {
+ sed 's/3.7.4.2/3.7.4.3/g' -i typing/typing_extensions/setup.py
+}
+
+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