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


Commits:
67597db3 by Daniel M. Capella at 2024-08-29T14:01:11-04:00
upgpkg: 2.3.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-sphinx-autodoc-typehints
        pkgdesc = Type hints support for the Sphinx autodoc extension
-       pkgver = 2.2.3
+       pkgver = 2.3.0
        pkgrel = 1
        url = https://github.com/tox-dev/sphinx-autodoc-typehints
        arch = any
@@ -17,7 +17,7 @@ pkgbase = python-sphinx-autodoc-typehints
        depends = python
        depends = python-sphinx
        optdepends = python-nptyping: for numpydoc support
-       source = 
git+https://github.com/tox-dev/sphinx-autodoc-typehints.git#tag=2.2.3
-       b2sums = 
2658e6b9352d06584ce3e0f33c0a7ac737aab305158dca2f726c41154050fbfd2257ba965c2b6fd5336c48c00c25e06bf82ebb3dd3197584bd6db2a600d114d7
+       source = 
git+https://github.com/tox-dev/sphinx-autodoc-typehints.git#tag=2.3.0
+       b2sums = 
8b6f6f63db891734771e67262192b23f9a4e6a060c19aaef410e874a312268b9be3993e8213be4840bd9e39805b28b4e85cb7ddb932461779b88c796ffc2f3a3
 
 pkgname = python-sphinx-autodoc-typehints


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=python-sphinx-autodoc-typehints
 _pyname=${pkgname/python-/}
-pkgver=2.2.3
+pkgver=2.3.0
 pkgrel=1
 pkgdesc='Type hints support for the Sphinx autodoc extension'
 arch=(any)
@@ -28,7 +28,7 @@ checkdepends=(
 )
 optdepends=('python-nptyping: for numpydoc support')
 source=("git+$url.git#tag=$pkgver")
-b2sums=('2658e6b9352d06584ce3e0f33c0a7ac737aab305158dca2f726c41154050fbfd2257ba965c2b6fd5336c48c00c25e06bf82ebb3dd3197584bd6db2a600d114d7')
+b2sums=('8b6f6f63db891734771e67262192b23f9a4e6a060c19aaef410e874a312268b9be3993e8213be4840bd9e39805b28b4e85cb7ddb932461779b88c796ffc2f3a3')
 
 build() {
   cd "$_pyname"
@@ -41,15 +41,14 @@ check() {
 }
 
 package() {
-  cd "$_pyname"
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-
-  # 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/${_pyname//-/_}-$pkgver.dist-info/licenses/LICENSE" \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd "$_pyname"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinx-autodoc-typehints/-/commit/67597db38c2d8b848b8f1016b7f87fc82d7aa127

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinx-autodoc-typehints/-/commit/67597db38c2d8b848b8f1016b7f87fc82d7aa127
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to