Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
python-typing_extensions


Commits:
7895b6d0 by Daniel M. Capella at 2024-02-26T15:25:23-05:00
upgpkg: 4.10.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = python-typing_extensions
        pkgdesc = Backported and Experimental Type Hints for Python 3.8+
-       pkgver = 4.9.0
+       pkgver = 4.10.0
        pkgrel = 1
        url = https://github.com/python/typing_extensions
        arch = any
-       license = custom
+       license = Python-2.0.1
        checkdepends = python-tests
        makedepends = git
        makedepends = python-build
@@ -13,7 +13,7 @@ pkgbase = python-typing_extensions
        depends = python
        provides = python-typing-extensions
        conflicts = python-typing-extensions
-       source = 
git+https://github.com/python/typing_extensions.git#tag=fc461d6faf4585849b561f2e4cbb06e9db095307
+       source = 
git+https://github.com/python/typing_extensions.git#tag=ed81f2b2043f60b0c159914e264e127f5d0b4cda
        b2sums = SKIP
 
 pkgname = python-typing_extensions


=====================================
PKGBUILD
=====================================
@@ -3,48 +3,49 @@
 # Contributor: Michael Yeatts <mwyea...@gmail.com>
 
 pkgname=python-typing_extensions
-pkgver=4.9.0
+_name=${pkgname#python-}
+pkgver=4.10.0
 pkgrel=1
 pkgdesc='Backported and Experimental Type Hints for Python 3.8+'
 arch=(any)
 url=https://github.com/python/typing_extensions
-license=(custom)
+license=(Python-2.0.1)
 depends=(python)
 makedepends=(git python-build python-flit-core python-installer)
 checkdepends=(python-tests)
 provides=(python-typing-extensions)
 conflicts=(python-typing-extensions)
-_tag=fc461d6faf4585849b561f2e4cbb06e9db095307
+_tag=ed81f2b2043f60b0c159914e264e127f5d0b4cda
 source=("git+${url}.git#tag=${_tag}")
 b2sums=(SKIP)
 
 pkgver() {
-  cd typing_extensions
+  cd "${_name}"
 
   git describe --tags
 }
 
 build() {
-  cd typing_extensions
+  cd "${_name}"
 
   python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
-  cd typing_extensions
+  cd "${_name}"
 
   python -m unittest discover src
 }
 
 package() {
-  cd typing_extensions
+  cd "${_name}"
 
   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 \
+  ln -s "${site_packages}"/"${_name}"-${pkgver}.dist-info/LICENSE \
     "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-typing_extensions/-/commit/7895b6d0ebc90c06a6ea0b5bf07d5ef6a06524ca

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-typing_extensions/-/commit/7895b6d0ebc90c06a6ea0b5bf07d5ef6a06524ca
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to