sysutils/solaar: Update to 0.9.2-259-gc07c115

This make Solaar compatible with Python 3.7 where 'async' has become
a reserved keyword.

Changes:	https://github.com/pwr/Solaar/compare/0.9.2-221-g1a67b33...0.9.2-259-gc07c115
This commit is contained in:
Tobias Kortkamp 2019-02-22 08:04:25 +00:00
parent c44988a97b
commit a18af7748d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493558
3 changed files with 15 additions and 13 deletions

View File

@ -5,8 +5,8 @@ PORTNAME= solaar
# release for now:
# https://github.com/pwr/Solaar/issues/288
# https://github.com/pwr/Solaar/issues/296
DISTVERSION= 0.9.2-221
DISTVERSIONSUFFIX= -g1a67b33
DISTVERSION= 0.9.2-259
DISTVERSIONSUFFIX= -gc07c115
CATEGORIES= sysutils
MAINTAINER= tobik@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1516754216
SHA256 (pwr-Solaar-0.9.2-221-g1a67b33_GH0.tar.gz) = ce5f9dc83a0bb3ba2d84e1cc5c169fe4cb3d53d1ff2e269b9e4ce3382e6e2ceb
SIZE (pwr-Solaar-0.9.2-221-g1a67b33_GH0.tar.gz) = 1192295
TIMESTAMP = 1550816390
SHA256 (pwr-Solaar-0.9.2-259-gc07c115_GH0.tar.gz) = ba3cfc65cc249d80a571ee003d73d3f2376dfada8a2a9e7e2e74c05f952a4868
SIZE (pwr-Solaar-0.9.2-259-gc07c115_GH0.tar.gz) = 1194838

View File

@ -1,19 +1,21 @@
--- setup.py.orig 2017-03-20 23:07:26 UTC
--- setup.py.orig 2019-01-30 15:58:00 UTC
+++ setup.py
@@ -6,10 +6,8 @@ from distutils.core import setup
@@ -6,14 +6,9 @@ from distutils.core import setup
autostart_path = '/etc/xdg/autostart'
import sys
-backup_path_0 = sys.path[0]
-sys.path[0] = backup_path_0 + '/lib'
-from solaar import NAME, __version__
-sys.path[0] = backup_path_0
+NAME = 'Solaar'
+__version__ = '0.9.2'
-#from solaar import NAME, __version__
__version__ = '0.9.2'
NAME = 'Solaar'
-sys.path[0] = backup_path_0
-
if 'install' in sys.argv:
# naively guess where the autostart .desktop file should be installed
@@ -22,7 +20,7 @@ if 'install' in sys.argv:
if '--prefix' in sys.argv or any(x.startswith('--prefix=') for x in sys.argv) or '--home' in sys.argv:
@@ -25,7 +20,7 @@ if 'install' in sys.argv:
autostart_path = path.join(xdg_config_home, 'autostart')
del environ, path, xdg_config_home
@ -22,7 +24,7 @@
def _data_files():
@@ -36,7 +34,6 @@ def _data_files():
@@ -39,7 +34,6 @@ def _data_files():
yield _dirname(mo), [mo]
yield 'share/applications', ['share/applications/solaar.desktop']