Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 15:24:08 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486866 - in head/security/py-trezor: . files
Message-ID:  <201812071524.wB7FO85i040837@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Dec  7 15:24:08 2018
New Revision: 486866
URL: https://svnweb.freebsd.org/changeset/ports/486866

Log:
  Update to 0.11.0

Added:
  head/security/py-trezor/files/
  head/security/py-trezor/files/patch-vendor_trezor-common_tools_coin__info.py   (contents, props changed)
Modified:
  head/security/py-trezor/Makefile
  head/security/py-trezor/distinfo   (contents, props changed)

Modified: head/security/py-trezor/Makefile
==============================================================================
--- head/security/py-trezor/Makefile	Fri Dec  7 14:44:26 2018	(r486865)
+++ head/security/py-trezor/Makefile	Fri Dec  7 15:24:08 2018	(r486866)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	trezor
-PORTVERSION=	0.10.2
+PORTVERSION=	0.11.0
 CATEGORIES=	security
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +13,8 @@ COMMENT=	Client side implementation for TREZOR Bitcoin
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	protoc:devel/protobuf \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mnemonic>=0:security/py-mnemonic@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hidapi>=0:comms/py-hidapi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa@${PY_FLAVOR} \
@@ -20,8 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mnemonic>=0:securi
 
 USES=		python:3.3+ shebangfix
 USE_PYTHON=	autoplist concurrent distutils
-NO_ARCH=	yes
 
-SHEBANG_FILES=	vendor/trezor-common/defs/coins/tools/build_coins.py
+NO_ARCH=	yes
 
 .include <bsd.port.mk>

Modified: head/security/py-trezor/distinfo
==============================================================================
--- head/security/py-trezor/distinfo	Fri Dec  7 14:44:26 2018	(r486865)
+++ head/security/py-trezor/distinfo	Fri Dec  7 15:24:08 2018	(r486866)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1529839309
-SHA256 (trezor-0.10.2.tar.gz) = 4dba4d5c53d3ca22884d79fb4aa68905fb8353a5da5f96c734645d8cf537138d
-SIZE (trezor-0.10.2.tar.gz) = 497984
+TIMESTAMP = 1544191178
+SHA256 (trezor-0.11.0.tar.gz) = 1132f6a97afb0979c5018b067494bc8917b881c02d965f991270a70543b5050c
+SIZE (trezor-0.11.0.tar.gz) = 1422722

Added: head/security/py-trezor/files/patch-vendor_trezor-common_tools_coin__info.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-trezor/files/patch-vendor_trezor-common_tools_coin__info.py	Fri Dec  7 15:24:08 2018	(r486866)
@@ -0,0 +1,11 @@
+--- vendor/trezor-common/tools/coin_info.py.orig	2018-11-08 13:20:31 UTC
++++ vendor/trezor-common/tools/coin_info.py
+@@ -25,7 +25,7 @@ def load_json(*path):
+     else:
+         filename = os.path.join(DEFS_DIR, *path)
+ 
+-    with open(filename) as f:
++    with open(filename, encoding="utf-8") as f:
+         return json.load(f, object_pairs_hook=OrderedDict)
+ 
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812071524.wB7FO85i040837>