George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-pdftotext


Commits:
561953d9 by loqs at 2026-03-04T22:46:06+00:00
Remove pkg_resources

- Removed upstream in 
https://github.com/jalan/pdftotext/commit/a48f24f5fdbe3877e13ebca66ed002cabb4b5968.
- Related https://archlinux.org/todo/python-pkg_resources-deprecation/.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -20,6 +20,12 @@ makedepends=(
 source=("git+$url.git#tag=v$pkgver")
 
b2sums=('f7e6735e37b9b0395ed6fd50b7138903a7d1120049d6bc0c7f1511acbd0c9150c82aaf704e37b92d85504ec4c532c1829de1d3a4d774b94846b7c69f4fa32f13')
 
+prepare() {
+  cd "$_name"
+  # Stop using the deprecated pkg_resources
+  git cherry-pick -n a48f24f5fdbe3877e13ebca66ed002cabb4b5968
+}
+
 build() {
   cd "$_name"
   python -m build --wheel --skip-dependency-check --no-isolation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pdftotext/-/commit/561953d90db54e43dff465ba5d2f986199f0a9da

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pdftotext/-/commit/561953d90db54e43dff465ba5d2f986199f0a9da
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to