[arch-commits] Commit in python-typing_extensions/repos/community-any (2 files)

Maxime Gauduin alucryd at archlinux.org
Tue Aug 20 16:21:15 UTC 2019


    Date: Tuesday, August 20, 2019 @ 16:21:15
  Author: alucryd
Revision: 500323

archrelease: copy trunk to community-any

Added:
  python-typing_extensions/repos/community-any/PKGBUILD
    (from rev 500322, python-typing_extensions/trunk/PKGBUILD)
Deleted:
  python-typing_extensions/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-20 16:21:07 UTC (rev 500322)
+++ PKGBUILD	2019-08-20 16:21:15 UTC (rev 500323)
@@ -1,34 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Michael Yeatts <mwyeatts at gmail.com>
-
-pkgname=python-typing_extensions
-pkgver=3.7.4
-pkgrel=1
-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)
-
-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:

Copied: python-typing_extensions/repos/community-any/PKGBUILD (from rev 500322, python-typing_extensions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-20 16:21:15 UTC (rev 500323)
@@ -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=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#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