From ac463daf8a94916d698f97751dedd0217c111492 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 6 Mar 2020 10:23:25 +0100 Subject: [PATCH] pysolfc: update to 2.8.0. --- srcpkgs/pysolfc/patches/e0c0e3cdb.patch | 15 --------------- srcpkgs/pysolfc/template | 11 +++++------ 2 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/pysolfc/patches/e0c0e3cdb.patch diff --git a/srcpkgs/pysolfc/patches/e0c0e3cdb.patch b/srcpkgs/pysolfc/patches/e0c0e3cdb.patch deleted file mode 100644 index 9aeeac0bf91..00000000000 --- a/srcpkgs/pysolfc/patches/e0c0e3cdb.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- pysollib/mfxutil.py -+++ pysollib/mfxutil.py -@@ -143,7 +143,11 @@ def getprefdir(package): - - - # high resolution clock() and sleep() --uclock = time.clock -+try: -+ uclock = time.perf_counter -+except Exception: -+ uclock = time.clock -+ - usleep = time.sleep - if os.name == "posix": - uclock = time.time diff --git a/srcpkgs/pysolfc/template b/srcpkgs/pysolfc/template index e164fe68cc8..f92f85a9734 100644 --- a/srcpkgs/pysolfc/template +++ b/srcpkgs/pysolfc/template @@ -1,20 +1,19 @@ # Template file for 'pysolfc' pkgname=pysolfc -version=2.6.4 -revision=3 +version=2.8.0 +revision=1 archs="noarch" wrksrc="PySolFC-${pkgname}-${version}" build_style=python3-module -pycompile_module=pysollib hostmakedepends="gettext python3-pygame python3-random2 python3-six - python3-tkinter python3-Pillow" + python3-tkinter python3-Pillow python3-attrs python3-pysol_cards" depends="pysolfc-cardsets ${hostmakedepends}" short_desc="Python solitaire game collection" maintainer="Leah Neukirchen " -license="GPL-3.0" +license="GPL-3.0-or-later" homepage="http://pysolfc.sourceforge.net/" distfiles="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz" -checksum=e80fad1bf1173373bbe273f226ab908029e91e394b694a615fd34847ecaa299f +checksum=c7ced894bf65c87e26a8bd4a9362561ebe1a6fa5f2df9876b6dcdaedc06fc27d post_build() { make mo rules