FreeBSD Bugzilla – Attachment 174737 Details for
Bug 212664
finance/electrum: update to 2.6.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
electrum.patch (text/plain), 2.81 KB, created by
Dmitry Marakasov
on 2016-09-13 17:24:39 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-09-13 17:24:39 UTC
Size:
2.81 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 421993) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= electrum >-PORTVERSION= 2.5.4 >+PORTVERSION= 2.6.4 > CATEGORIES= finance python > MASTER_SITES= https://download.electrum.org/${PORTVERSION}/ \ > http://download.electrum.org/${PORTVERSION}/ >@@ -11,7 +11,7 @@ > MAINTAINER= kyuupichan@gmail.com > COMMENT= Easy to use Bitcoin client > >-LICENSE= GPLv3 >+LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENCE > > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}slowaes>0:security/py-slowaes \ >@@ -22,11 +22,13 @@ > ${PYTHON_PKGNAMEPREFIX}tlslite>=0.4.6:security/py-tlslite \ > ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2 \ > ${PYTHON_PKGNAMEPREFIX}protobuf>=2.6.0:devel/py-protobuf \ >- ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython >+ ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython \ >+ ${PYTHON_PKGNAMEPREFIX}jsonrpclib>0:devel/py-jsonrpclib > > USES= desktop-file-utils python:-2.7 > USE_PYTHON= autoplist distutils > PYDISTUTILS_PKGNAME= Electrum >+NO_ARCH= yes > > post-patch: > @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/setup.py >Index: distinfo >=================================================================== >--- distinfo (revision 421993) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (Electrum-2.5.4.tar.gz) = c0b00f440884fe3f087e842c44914e1c5f1139d0288ecb74ba6e1ff0b2504aa3 >-SIZE (Electrum-2.5.4.tar.gz) = 2114549 >+TIMESTAMP = 1473766225 >+SHA256 (Electrum-2.6.4.tar.gz) = 2ab53b434206ed8ae72e9cadb22d44ef9ba720a7d052abe102f5d55cafbef866 >+SIZE (Electrum-2.6.4.tar.gz) = 5717600 >Index: files/patch-setup.py >=================================================================== >--- files/patch-setup.py (revision 421993) >+++ files/patch-setup.py (working copy) >@@ -1,11 +1,15 @@ >---- setup.py.orig 2015-10-18 10:56:02 UTC >+--- setup.py.orig 2016-02-29 14:37:15 UTC > +++ setup.py >-@@ -16,7 +16,7 @@ if sys.version_info[:3] < (2, 7, 0): >- data_files = [] >- >- if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']: >-- usr_share = os.path.join(sys.prefix, "share") >-+ usr_share = '%%PREFIX%%/share' >+@@ -21,12 +21,6 @@ if platform.system() in ['Linux', 'FreeB >+ parser.add_argument('--root=', dest='root_path', metavar='dir', default='/') >+ opts, _ = parser.parse_known_args(sys.argv[1:]) >+ usr_share = os.path.join(sys.prefix, "share") >+- if not os.access(opts.root_path + usr_share, os.W_OK) and \ >+- not os.access(opts.root_path, os.W_OK): >+- if 'XDG_DATA_HOME' in os.environ.keys(): >+- usr_share = os.environ['$XDG_DATA_HOME'] >+- else: >+- usr_share = os.path.expanduser('~/.local/share') > data_files += [ > (os.path.join(usr_share, 'applications/'), ['electrum.desktop']), > (os.path.join(usr_share, 'pixmaps/'), ['icons/electrum.png'])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212664
: 174737