mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
34 lines
854 B
Text
34 lines
854 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-pyclip
|
|
pkgver=0.7.0
|
|
pkgrel=0
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877 pyclip-v0.7.0.tar.gz
|
|
"
|