1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

sysutils/battray: Update from 2.1 to 2.3

Fixes this Python 3 issue on FreeBSD 11.1:

battray error: a bytes-like object is required, not 'str'
  File "/usr/local/lib/python3.6/site-packages/battray/__init__.py", line 135, in update_status
    self.data['lifetime']) =  self.platform()
  File "/usr/local/lib/python3.6/site-packages/battray/platforms.py", line 38, in freebsd
    for line in o.split('\n'):

PR:          222980
Reported by: bsd@mkfs.nl
MFH:         2017Q4
This commit is contained in:
Torsten Zuehlsdorff 2017-11-09 14:01:32 +00:00
parent cbe03e2874
commit 7a8e6e064c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453808
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= battray
PORTVERSION= 2.1
PORTVERSION= 2.3
CATEGORIES= sysutils python
MASTER_SITES= http://code.arp242.net/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
DISTNAME= ${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}

View File

@ -1,2 +1,3 @@
TIMESTAMP = 1510153998
SHA256 (Carpetsmoker-battray-011402fbc2a3.tar.gz) = eb0a647422f52aa5e719e129b555b8f57e2ca042df7a05817f14e6a6976bb31d
SIZE (Carpetsmoker-battray-011402fbc2a3.tar.gz) = 68062