From a5c45218cd2136d95a4d1f016aa3afa70ef62210 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 23 Jul 2022 19:29:39 +0530 Subject: [PATCH] python3-pyperclip: update to 1.8.2. --- srcpkgs/python3-pyperclip/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-pyperclip/template b/srcpkgs/python3-pyperclip/template index fe8e5095fa43..16fb6f097e25 100644 --- a/srcpkgs/python3-pyperclip/template +++ b/srcpkgs/python3-pyperclip/template @@ -1,7 +1,7 @@ # Template file for 'python3-pyperclip' pkgname=python3-pyperclip -version=1.8.1 -revision=2 +version=1.8.2 +revision=1 wrksrc=pyperclip-${version} build_style=python3-module hostmakedepends="python3-setuptools" @@ -11,7 +11,11 @@ maintainer="Orphaned " license="BSD-3-Clause" homepage="https://pypi.org/project/pyperclip" distfiles="${PYPI_SITE}/p/pyperclip/pyperclip-${version}.tar.gz" -checksum=9abef1e79ce635eb62309ecae02dfb5a3eb952fa7d6dce09c1aef063f81424d3 +checksum=105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 + +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" python3 tests/test_pyperclip.py +} post_install() { vlicense LICENSE.txt