[arch-commits] Commit in pypdf/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Apr 24 20:02:47 UTC 2018
Date: Tuesday, April 24, 2018 @ 20:02:45
Author: arojas
Revision: 317620
Python 3 is not supported (FS#58302)
Modified:
pypdf/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-24 19:59:39 UTC (rev 317619)
+++ PKGBUILD 2018-04-24 20:02:45 UTC (rev 317620)
@@ -4,31 +4,23 @@
# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
pkgbase=pypdf
-pkgname=(python-pypdf python2-pypdf)
+pkgname=(python2-pypdf)
pkgver=1.13
-pkgrel=4
+pkgrel=5
pkgdesc='A Pure-Python library built as a PDF toolkit'
arch=(any)
url="http://pybrary.net/pyPdf"
license=(BSD)
-makedepends=(python-setuptools python2-setuptools)
+makedepends=(python2-setuptools)
source=(https://pypi.io/packages/source/p/pyPdf/pyPdf-$pkgver.tar.gz LICENSE)
sha256sums=('3aede4c3c9c6ad07c98f059f90db0b09ed383f7c791c46100f649e1cabda0e3b'
'50ba5f73d8981222fe56ea3295bfa7e1cc51476f1044a1233d6c3500c741f786')
-package_python-pypdf() {
- depends=(python)
-
- cd pyPdf-$pkgver
- python setup.py install --root="$pkgdir"
- install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
package_python2-pypdf() {
- depends=(python2)
+ depends=(python2)
- cd pyPdf-$pkgver
- python2 setup.py install --root="$pkgdir"
- install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+ cd pyPdf-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list