pysolfc: update to 2.8.0.

This commit is contained in:
Leah Neukirchen 2020-03-06 10:23:25 +01:00
parent e02b3c62c1
commit ac463daf8a
2 changed files with 5 additions and 21 deletions

View File

@ -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

View File

@ -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 <leah@vuxu.org>"
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