aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyperclip/APKBUILD
blob: 01e38c82dc1327c6fb9e224d3c1e2c460ed4b530 (plain)
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
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pyperclip
_pkgname=pyperclip
pkgver=1.8.0
pkgrel=0
pkgdesc="Python module for copy and paste clipboard functions"
url="https://github.com/asweigart/pyperclip"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/${_pkgname/-/_}-$pkgver
options="!check" # bug in tests prevents them from even starting :-/

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py test
}
sha512sums="ffc37f8cc9028aa1bb907b22b3d18adfd6080de1b3fe6ea2bf6f28ad6fedd96e09e5939fc5b8cef538415527cad8f13670b7c671fb1b2a3f1a2bd2cc078d3d56  py3-pyperclip-1.8.0.tar.gz"