Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / drgn
Commits: 09a9a646 by Stephen Brennan at 2024-10-11T12:49:02+02:00 Make prompt_toolkit and typing_extensions optdepends drgn's use of typing_extensions is in two places and it's guarded by an "if TYPE_CHECKING" check. So runtime users of drgn don't need it. People developing scripts using drgn could want it, but it's only relevant for Python versions < 3.11. So it's not really ever a useful dependency for Arch. Similarly, the prompt_toolkit package is used only by the "contrib/ptdrgn.py" script. The "contrib/" directory contains user-contributed scripts that aren't held to the same level as the rest of the code, though they could be useful. This one script probably isn't worth bringing in the dependency, since most users would never use it. Move it to an optdepends. Signed-off-by: Stephen Brennan <[email protected]> - - - - - 3ecb0191 by Christian Heusel at 2024-10-11T12:54:11+02:00 upgpkg: 0.0.29-3: rebuild to change dependencies - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = drgn pkgdesc = Programmable debugger pkgver = 0.0.29 - pkgrel = 2 + pkgrel = 3 url = https://github.com/osandov/drgn arch = x86_64 license = LGPL-2.1-or-later @@ -15,8 +15,7 @@ pkgbase = drgn depends = libelf depends = libkdumpfile depends = python - depends = python-prompt_toolkit - depends = python-typing_extensions + optdepends = python-prompt_toolkit: enhanced terminal support in contrib/ptdrgn.py source = https://files.pythonhosted.org/packages/source/d/drgn/drgn-0.0.29.tar.gz sha256sums = acbd5b7504a04cde4f61ed1a7e9906ef9d43f623013ad8312a2cd9b74406b7c9 ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ pkgname=drgn pkgver=0.0.29 -pkgrel=2 +pkgrel=3 pkgdesc='Programmable debugger' arch=('x86_64') url='https://github.com/osandov/drgn' @@ -14,8 +14,6 @@ depends=( 'libelf' 'libkdumpfile' 'python' - 'python-prompt_toolkit' - 'python-typing_extensions' ) makedepends=( 'python-build' @@ -23,6 +21,9 @@ makedepends=( 'python-setuptools' 'python-wheel' ) +optdepends=( + 'python-prompt_toolkit: enhanced terminal support in contrib/ptdrgn.py' +) checkdepends=('check') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('acbd5b7504a04cde4f61ed1a7e9906ef9d43f623013ad8312a2cd9b74406b7c9') View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/drgn/-/compare/36a46ee1bb8249ccf5dd7344fd66a7311ba81dbd...3ecb0191529831bdb498750ed2f99d0613284c32 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/drgn/-/compare/36a46ee1bb8249ccf5dd7344fd66a7311ba81dbd...3ecb0191529831bdb498750ed2f99d0613284c32 You're receiving this email because of your account on gitlab.archlinux.org.
