blob: 5620acab3d3fa949f3b7a72192300e1279effb05 (
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
29
30
31
32
33
34
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyclip
pkgver=0.5.4
pkgrel=3
pkgdesc="Cross-platform clipboard utilities supporting both binary and text data"
url="https://github.com/spyoungtech/pyclip"
arch="noarch"
license="Apache-2.0"
depends="
cmd:xclip
python3
"
makedepends="py3-setuptools xclip"
checkdepends="py3-pytest"
source="https://github.com/spyoungtech/pyclip/archive/v$pkgver/pyclip-v$pkgver.tar.gz"
options="!check" # Requires working tty
builddir="$srcdir/pyclip-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc pyclip-v0.5.4.tar.gz
"
|