[arch-commits] Commit in electrum/repos/community-any (9 files)
Timothy Redaelli
tredaelli at archlinux.org
Fri Sep 19 20:13:34 UTC 2014
Date: Friday, September 19, 2014 @ 22:13:33
Author: tredaelli
Revision: 119261
archrelease: copy trunk to community-any
Added:
electrum/repos/community-any/PKGBUILD
(from rev 119260, electrum/trunk/PKGBUILD)
electrum/repos/community-any/electrum.install
(from rev 119260, electrum/trunk/electrum.install)
electrum/repos/community-any/gtk3.patch
(from rev 119260, electrum/trunk/gtk3.patch)
electrum/repos/community-any/pyqt4-4.11.patch
(from rev 119260, electrum/trunk/pyqt4-4.11.patch)
electrum/repos/community-any/setup.py.patch
(from rev 119260, electrum/trunk/setup.py.patch)
Deleted:
electrum/repos/community-any/PKGBUILD
electrum/repos/community-any/electrum.install
electrum/repos/community-any/gtk3.patch
electrum/repos/community-any/setup.py.patch
------------------+
PKGBUILD | 115 +++++++++++++++++++++++++++--------------------------
electrum.install | 22 +++++-----
gtk3.patch | 26 +++++------
pyqt4-4.11.patch | 13 +++++
setup.py.patch | 22 +++++-----
5 files changed, 107 insertions(+), 91 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-19 20:13:14 UTC (rev 119260)
+++ PKGBUILD 2014-09-19 20:13:33 UTC (rev 119261)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-# ThomasV PGP key: gpg --recv-key 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6
-# http://bitcoin-otc.com/viewgpg.php?nick=ThomasV
-
-pkgname=electrum
-pkgver=1.9.8
-pkgrel=3
-pkgdesc="Lightweight Bitcoin wallet"
-arch=('any')
-depends=('python2' 'python2-ecdsa' 'python2-pbkdf2' 'python2-pyqt4' 'python2-sip' 'python2-slowaes' 'qt4' 'sip')
-makedepends=('gettext' 'python2-pycurl' 'python2-setuptools')
-optdepends=('desktop-file-utils: update desktop database'
- 'pygtk: GTK user interface'
- 'python2-zbar: QR code reading support')
-url="https://electrum.org"
-license=('GPL3')
-source=("https://download.electrum.org/${pkgname^}-${pkgver}.tar.gz"{,.asc}
- setup.py.patch
- gtk3.patch)
-md5sums=('e3918fec0254267f08e41a1fb8691382'
- 'SKIP'
- '562f61b12e8bc80de23fb56b8ce56fe7'
- 'b74882fe1c8319faf8f7d1ecbb6e30f6')
-sha256sums=('8fc144a32013e4a747fea27fff981762a6b9e14cde9ffb405c4c721975d846ff'
- 'SKIP'
- '5f8d846dedce20601f3131e687bd2dc54ca8df0137cbdaa1b06eab11eb6a52da'
- 'ba97ed1716af25fb64e439415cbe55aadac3d6528ab29f7a0ea0f93b5a539299')
-provides=('electrum')
-install=electrum.install
-
-prepare() {
- cd ${pkgname^}-${pkgver}
-
- patch -p1 < "${srcdir}"/setup.py.patch
-
- patch -p1 < "${srcdir}"/gtk3.patch
-
- find . -type f -exec sed -i 's#/usr/bin/python#/usr/bin/python2#g' {} +
- find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#g' {} +
-}
-
-build() {
- cd ${pkgname^}-${pkgver}
-
- python2 mki18n.py
- pyrcc4 icons.qrc -o gui/qt/icons_rc.py
- python2 setup.py build
-}
-
-package() {
- cd ${pkgname^}-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: electrum/repos/community-any/PKGBUILD (from rev 119260, electrum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-09-19 20:13:33 UTC (rev 119261)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+# ThomasV PGP key: gpg --recv-key 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6
+# http://bitcoin-otc.com/viewgpg.php?nick=ThomasV
+
+pkgname=electrum
+pkgver=1.9.8
+pkgrel=4
+pkgdesc="Lightweight Bitcoin wallet"
+arch=('any')
+depends=('python2-ecdsa' 'python2-pbkdf2' 'python2-pyqt4' 'python2-sip' 'python2-slowaes')
+makedepends=('gettext' 'python2-pycurl' 'python2-setuptools')
+optdepends=('desktop-file-utils: update desktop database'
+ 'pygtk: GTK user interface'
+ 'python2-zbar: QR code reading support')
+url="https://electrum.org"
+license=('GPL3')
+source=("https://download.electrum.org/${pkgname^}-${pkgver}.tar.gz"{,.asc}
+ setup.py.patch
+ gtk3.patch
+ pyqt4-4.11.patch)
+md5sums=('e3918fec0254267f08e41a1fb8691382'
+ 'SKIP'
+ '562f61b12e8bc80de23fb56b8ce56fe7'
+ 'b74882fe1c8319faf8f7d1ecbb6e30f6'
+ '0e865e4f0337f9a6acef6d15581627ed')
+sha256sums=('8fc144a32013e4a747fea27fff981762a6b9e14cde9ffb405c4c721975d846ff'
+ 'SKIP'
+ '5f8d846dedce20601f3131e687bd2dc54ca8df0137cbdaa1b06eab11eb6a52da'
+ 'ba97ed1716af25fb64e439415cbe55aadac3d6528ab29f7a0ea0f93b5a539299'
+ '2542b0891b3e25674b4ab0755b4bf23523144b3e86dfb6281f852117e2e3d973')
+provides=('electrum')
+install=electrum.install
+
+prepare() {
+ cd ${pkgname^}-${pkgver}
+
+ patch -p1 < "${srcdir}"/setup.py.patch
+ patch -p1 < "${srcdir}"/gtk3.patch
+ patch -p1 < "${srcdir}"/pyqt4-4.11.patch
+
+ find . -type f -exec sed -i 's#/usr/bin/python#/usr/bin/python2#g' {} +
+ find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#g' {} +
+}
+
+build() {
+ cd ${pkgname^}-${pkgver}
+
+ python2 mki18n.py
+ pyrcc4 icons.qrc -o gui/qt/icons_rc.py
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname^}-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
Deleted: electrum.install
===================================================================
--- electrum.install 2014-09-19 20:13:14 UTC (rev 119260)
+++ electrum.install 2014-09-19 20:13:33 UTC (rev 119261)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- update-desktop-database -q
-}
Copied: electrum/repos/community-any/electrum.install (from rev 119260, electrum/trunk/electrum.install)
===================================================================
--- electrum.install (rev 0)
+++ electrum.install 2014-09-19 20:13:33 UTC (rev 119261)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+}
Deleted: gtk3.patch
===================================================================
--- gtk3.patch 2014-09-19 20:13:14 UTC (rev 119260)
+++ gtk3.patch 2014-09-19 20:13:33 UTC (rev 119261)
@@ -1,13 +0,0 @@
-diff --git a/gui/gtk.py b/gui/gtk.py
-index cd9178f8..fe302181 100644
---- a/gui/gtk.py
-+++ b/gui/gtk.py
-@@ -87,7 +87,7 @@ def restore_create_dialog():
- # ask if the user wants to create a new wallet, or recover from a seed.
- # if he wants to recover, and nothing is found, do not create wallet
- dialog = Gtk.Dialog("electrum", parent=None,
-- flags=Gtk.DialogFlags.MODAL|Gtk.DialogFlags.NO_SEPARATOR,
-+ flags=Gtk.DialogFlags.MODAL,
- buttons= ("create", 0, "restore",1, "cancel",2) )
-
- label = Gtk.Label("Wallet file not found.\nDo you want to create a new wallet,\n or to restore an existing one?" )
Copied: electrum/repos/community-any/gtk3.patch (from rev 119260, electrum/trunk/gtk3.patch)
===================================================================
--- gtk3.patch (rev 0)
+++ gtk3.patch 2014-09-19 20:13:33 UTC (rev 119261)
@@ -0,0 +1,13 @@
+diff --git a/gui/gtk.py b/gui/gtk.py
+index cd9178f8..fe302181 100644
+--- a/gui/gtk.py
++++ b/gui/gtk.py
+@@ -87,7 +87,7 @@ def restore_create_dialog():
+ # ask if the user wants to create a new wallet, or recover from a seed.
+ # if he wants to recover, and nothing is found, do not create wallet
+ dialog = Gtk.Dialog("electrum", parent=None,
+- flags=Gtk.DialogFlags.MODAL|Gtk.DialogFlags.NO_SEPARATOR,
++ flags=Gtk.DialogFlags.MODAL,
+ buttons= ("create", 0, "restore",1, "cancel",2) )
+
+ label = Gtk.Label("Wallet file not found.\nDo you want to create a new wallet,\n or to restore an existing one?" )
Copied: electrum/repos/community-any/pyqt4-4.11.patch (from rev 119260, electrum/trunk/pyqt4-4.11.patch)
===================================================================
--- pyqt4-4.11.patch (rev 0)
+++ pyqt4-4.11.patch 2014-09-19 20:13:33 UTC (rev 119261)
@@ -0,0 +1,13 @@
+--- Electrum-1.9.8/gui/qt/installwizard.py.orig 2014-09-19 22:05:42.536699757 +0000
++++ Electrum-1.9.8/gui/qt/installwizard.py 2014-09-19 22:06:48.993369698 +0000
+@@ -31,8 +31,8 @@
+ def set_layout(self, layout):
+ w = QWidget()
+ w.setLayout(layout)
+- self.stack.setCurrentIndex(self.stack.addWidget(w))
+-
++ self.stack.addWidget(w)
++ self.stack.setCurrentWidget(w)
+
+ def restore_or_create(self):
+
Deleted: setup.py.patch
===================================================================
--- setup.py.patch 2014-09-19 20:13:14 UTC (rev 119260)
+++ setup.py.patch 2014-09-19 20:13:33 UTC (rev 119261)
@@ -1,11 +0,0 @@
---- ./setup.py 2014-03-16 12:53:25.136657771 -0700
-+++ ./setup.py 2014-03-16 12:53:42.736657586 -0700
-@@ -16,8 +16,6 @@
- sys.exit("Error: Electrum requires Python version >= 2.6.0...")
-
- usr_share = '/usr/share'
--if not os.access(usr_share, os.W_OK):
-- usr_share = os.getenv("XDG_DATA_HOME", os.path.join(os.getenv("HOME"), ".local", "share"))
-
- data_files = []
- if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Windows' and platform.system() != 'Darwin'):
Copied: electrum/repos/community-any/setup.py.patch (from rev 119260, electrum/trunk/setup.py.patch)
===================================================================
--- setup.py.patch (rev 0)
+++ setup.py.patch 2014-09-19 20:13:33 UTC (rev 119261)
@@ -0,0 +1,11 @@
+--- ./setup.py 2014-03-16 12:53:25.136657771 -0700
++++ ./setup.py 2014-03-16 12:53:42.736657586 -0700
+@@ -16,8 +16,6 @@
+ sys.exit("Error: Electrum requires Python version >= 2.6.0...")
+
+ usr_share = '/usr/share'
+-if not os.access(usr_share, os.W_OK):
+- usr_share = os.getenv("XDG_DATA_HOME", os.path.join(os.getenv("HOME"), ".local", "share"))
+
+ data_files = []
+ if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Windows' and platform.system() != 'Darwin'):
More information about the arch-commits
mailing list