aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pypdf2/APKBUILD
blob: 0f3594cf1f99b3caa29745e3ce65e11b5a7dcf3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pypdf2
_pkgname=PyPDF2
pkgver=1.26.0
pkgrel=0
pkgdesc="A Pure-Python library built as a PDF toolkit."
url=" http://mstamy2.github.com/PyPDF2"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="2301acc0ecbab0633d4c9b883d50ee5e  PyPDF2-1.26.0.tar.gz"
sha256sums="e28f902f2f0a1603ea95ebe21dff311ef09be3d0f0ef29a3e44a932729564385  PyPDF2-1.26.0.tar.gz"
sha512sums="7b427f1d099dcd687a718fb8d86e6f677ad45257414c6367e4dfacd8dfef7e3dbe3816027359868764981f36a30721f1731b4c23cbe2f35cfab1c64fb290b034  PyPDF2-1.26.0.tar.gz"