[arch-commits] Commit in python-pdftotext/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Sat May 15 01:42:42 UTC 2021
Date: Saturday, May 15, 2021 @ 01:42:41
Author: polyzen
Revision: 934551
archrelease: copy trunk to community-x86_64
Added:
python-pdftotext/repos/community-x86_64/PKGBUILD
(from rev 934550, python-pdftotext/trunk/PKGBUILD)
Deleted:
python-pdftotext/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 01:42:19 UTC (rev 934550)
+++ PKGBUILD 2021-05-15 01:42:41 UTC (rev 934551)
@@ -1,35 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Shane Stone <shanewstone at gmail>
-
-_name=pdftotext
-pkgname=python-pdftotext
-pkgver=2.1.5
-pkgrel=2
-pkgdesc='Simple PDF text extraction'
-arch=('x86_64')
-url=https://github.com/jalan/pdftotext
-license=('MIT')
-depends=('poppler' 'python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('98aeb8b07a4127e1a30223bd933ef080bbd29aa88f801717ca6c5618380b8aa6')
-b2sums=('35f5eeee4d278d15fb79a1efcd0576ab3a6188e2d440e4606c57335666877fed3fa3364beee9891e39b9dcd9fc7bd299e944a5342bd1267326a0b43a91e27376')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_name-$pkgver
- mkdir -p temp
- local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
- python setup.py install --skip-build --root=temp
- PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python -m unittest discover tests
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pdftotext/repos/community-x86_64/PKGBUILD (from rev 934550, python-pdftotext/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-15 01:42:41 UTC (rev 934551)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Shane Stone <shanewstone at gmail>
+
+_name=pdftotext
+pkgname=python-pdftotext
+pkgver=2.1.6
+pkgrel=1
+pkgdesc='Simple PDF text extraction'
+arch=('x86_64')
+url=https://github.com/jalan/pdftotext
+license=('MIT')
+depends=('poppler' 'python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('caf8ddbaeaf0a5897f07655a71747242addab2e695e84c5d47f2ea92dfe2a594')
+b2sums=('02135a03cb604421ab32ee1317265b3404e343b1ceabfbbeaa4973bc85dfd7fb3b92dd23611b0d9077ff8641bda256932d9457112fb27f974aac3be80747c695')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ mkdir -p temp
+ local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+ python setup.py install --skip-build --root=temp
+ PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python -m unittest discover tests
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list