[arch-commits] Commit in python-typing_extensions/repos/community-any (2 files)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Aug 14 21:07:20 UTC 2022
Date: Sunday, August 14, 2022 @ 21:07:20
Author: polyzen
Revision: 1266089
archrelease: copy trunk to community-any
Added:
python-typing_extensions/repos/community-any/PKGBUILD
(from rev 1266088, python-typing_extensions/trunk/PKGBUILD)
Deleted:
python-typing_extensions/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-14 21:06:53 UTC (rev 1266088)
+++ PKGBUILD 2022-08-14 21:07:20 UTC (rev 1266089)
@@ -1,46 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Michael Yeatts <mwyeatts at gmail.com>
-
-pkgname=python-typing_extensions
-pkgver=4.2.0
-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-build python-flit-core python-installer)
-checkdepends=(python-tests)
-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 -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd typing/typing_extensions
-
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- test-env/bin/python src/test_typing_extensions.py
-}
-
-package() {
- cd typing/typing_extensions
-
- python -m installer --destdir="${pkgdir}" dist/*.whl
-
- # Symlink license file
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- install -d "${pkgdir}"/usr/share/licenses/${pkgname}
- ln -s "${site_packages}"/typing_extensions-$pkgver.dist-info/LICENSE \
- "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-typing_extensions/repos/community-any/PKGBUILD (from rev 1266088, python-typing_extensions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-14 21:07:20 UTC (rev 1266089)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Michael Yeatts <mwyeatts at gmail.com>
+
+pkgname=python-typing_extensions
+pkgver=4.3.0
+pkgrel=1
+pkgdesc='Backported and Experimental Type Hints for Python 3.7+'
+arch=(any)
+url=https://github.com/python/typing_extensions
+license=(custom)
+depends=(python)
+makedepends=(git python-build python-flit-core python-installer)
+checkdepends=(python-tests)
+provides=(python-typing-extensions)
+conflicts=(python-typing-extensions)
+source=("git+$url.git#tag=${pkgver}")
+b2sums=(SKIP)
+
+build() {
+ cd typing_extensions
+
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd typing_extensions
+
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python src/test_typing_extensions.py
+}
+
+package() {
+ cd typing_extensions
+
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+
+ # Symlink license file
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ ln -s "${site_packages}"/typing_extensions-$pkgver.dist-info/LICENSE \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list