George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / python-pdftotext
Commits: 0c946b36 by George Rawlinson at 2026-07-05T07:24:37+00:00 reuse: simplify conf - - - - - 1b5941f6 by George Rawlinson at 2026-07-05T07:24:49+00:00 nvchecker: switch to new upstream repository - - - - - c1e802c8 by George Rawlinson at 2026-07-05T07:32:17+00:00 upgpkg: 2.2.2-12 https://archlinux.org/todo/python-pkg_resources-deprecation/ - - - - - 4 changed files: - .SRCINFO - .nvchecker.toml - PKGBUILD - REUSE.toml Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-pdftotext pkgdesc = Simple PDF text extraction pkgver = 2.2.2 - pkgrel = 11 + pkgrel = 12 url = https://github.com/jalan/pdftotext arch = x86_64 license = MIT @@ -16,3 +16,10 @@ pkgbase = python-pdftotext b2sums = f7e6735e37b9b0395ed6fd50b7138903a7d1120049d6bc0c7f1511acbd0c9150c82aaf704e37b92d85504ec4c532c1829de1d3a4d774b94846b7c69f4fa32f13 pkgname = python-pdftotext + depends = poppler + depends = python + depends = glibc + depends = libgcc + depends = libgcc_s.so + depends = libstdc++ + depends = libstdc++.so ===================================== .nvchecker.toml ===================================== @@ -1,4 +1,4 @@ [python-pdftotext] source = "git" -git = "https://github.com/jalan/pdftotext.git" +git = "https://git.sr.ht/~jalan/pdftotext" prefix = "v" ===================================== PKGBUILD ===================================== @@ -4,7 +4,7 @@ pkgname=python-pdftotext _name=${pkgname#python-} pkgver=2.2.2 -pkgrel=11 +pkgrel=12 pkgdesc='Simple PDF text extraction' arch=('x86_64') url=https://github.com/jalan/pdftotext @@ -39,12 +39,15 @@ check() { } package() { + depends+=( + glibc + libgcc libgcc_s.so + libstdc++ libstdc++.so + ) + 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"/"$_name"-$pkgver.dist-info/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } ===================================== REUSE.toml ===================================== @@ -3,20 +3,8 @@ version = 1 [[annotations]] path = [ "PKGBUILD", - "README.md", - "keys/**", ".SRCINFO", ".nvchecker.toml", - "*.install", - "*.sysusers", - "*.tmpfiles", - "*.logrotate", - "*.pam", - "*.service", - "*.socket", - "*.timer", - "*.desktop", - "*.hook", ] SPDX-FileCopyrightText = "Arch Linux contributors" SPDX-License-Identifier = "0BSD" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pdftotext/-/compare/561953d90db54e43dff465ba5d2f986199f0a9da...c1e802c89ab5bbaa2a644032e08227a293670cc3 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pdftotext/-/compare/561953d90db54e43dff465ba5d2f986199f0a9da...c1e802c89ab5bbaa2a644032e08227a293670cc3 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
