mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-pyperclip: leave builddir clean
This commit is contained in:
parent
e5a21723d2
commit
58b683ea01
1 changed files with 5 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'python-pyperclip'
|
# Template file for 'python-pyperclip'
|
||||||
pkgname=python-pyperclip
|
pkgname=python-pyperclip
|
||||||
version=1.7.0
|
version=1.7.0
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc=pyperclip-${version}
|
create_wrksrc=yes
|
||||||
|
build_wrksrc=pyperclip-${version}
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="pyperclip"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Cross-platform clipboard module (Python2)"
|
short_desc="Cross-platform clipboard module (Python2)"
|
||||||
|
@ -17,14 +17,13 @@ distfiles="${PYPI_SITE}/p/pyperclip/pyperclip-${version}.tar.gz
|
||||||
checksum="979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c
|
checksum="979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c
|
||||||
a72b0acc9389e4c17ced890ef1b03455e04978d39e25636099b93efb76b74ead"
|
a72b0acc9389e4c17ced890ef1b03455e04978d39e25636099b93efb76b74ead"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense ../LICENSE.txt
|
vlicense ../LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pyperclip_package() {
|
python3-pyperclip_package() {
|
||||||
archs=noarch
|
archs=noarch
|
||||||
depends="python3"
|
depends="python3"
|
||||||
pycompile_module="pyperclip"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/python3*"
|
vmove "usr/lib/python3*"
|
||||||
|
|
Loading…
Add table
Reference in a new issue