32 lines
907 B
Bash
32 lines
907 B
Bash
# Template file for 'python-pyperclip'
|
|
pkgname=python-pyperclip
|
|
version=1.8.0
|
|
revision=1
|
|
archs=noarch
|
|
create_wrksrc=yes
|
|
build_wrksrc=pyperclip-${version}
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Cross-platform clipboard module (Python2)"
|
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://pypi.org/project/pyperclip"
|
|
distfiles="${PYPI_SITE}/p/pyperclip/pyperclip-${version}.tar.gz
|
|
https://raw.githubusercontent.com/asweigart/pyperclip/master/LICENSE.txt"
|
|
checksum="b75b975160428d84608c26edba2dec146e7799566aea42c1fe1b32e72b6028f2
|
|
a72b0acc9389e4c17ced890ef1b03455e04978d39e25636099b93efb76b74ead"
|
|
|
|
post_install() {
|
|
vlicense ../LICENSE.txt
|
|
}
|
|
|
|
python3-pyperclip_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|