[arch-commits] Commit in electrum/repos/community-any (4 files)
Santiago Torres-Arias
sangy at archlinux.org
Tue Apr 20 17:26:12 UTC 2021
Date: Tuesday, April 20, 2021 @ 17:26:12
Author: sangy
Revision: 920106
archrelease: copy trunk to community-any
Added:
electrum/repos/community-any/0001-prevent-requirements.txt-from-being-installed-to-usr.patch
(from rev 920105, electrum/trunk/0001-prevent-requirements.txt-from-being-installed-to-usr.patch)
electrum/repos/community-any/PKGBUILD
(from rev 920105, electrum/trunk/PKGBUILD)
Deleted:
electrum/repos/community-any/0001-prevent-requirements.txt-from-being-installed-to-usr.patch
electrum/repos/community-any/PKGBUILD
-----------------------------------------------------------------+
0001-prevent-requirements.txt-from-being-installed-to-usr.patch | 78 +++----
PKGBUILD | 102 +++++-----
2 files changed, 90 insertions(+), 90 deletions(-)
Deleted: 0001-prevent-requirements.txt-from-being-installed-to-usr.patch
===================================================================
--- 0001-prevent-requirements.txt-from-being-installed-to-usr.patch 2021-04-20 17:25:50 UTC (rev 920105)
+++ 0001-prevent-requirements.txt-from-being-installed-to-usr.patch 2021-04-20 17:26:12 UTC (rev 920106)
@@ -1,39 +0,0 @@
-From e72947c8fd50575d69cb005a52f99aeef66f4186 Mon Sep 17 00:00:00 2001
-From: Marcel O'Neil <marcel at marceloneil.com>
-Date: Wed, 7 Mar 2018 15:15:54 -0500
-Subject: [PATCH] prevent requirements.txt from being installed to /usr
-
----
- MANIFEST.in | 2 ++
- setup.py | 2 +-
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/MANIFEST.in b/MANIFEST.in
-index 4fa5491a..b7355bd9 100644
---- a/MANIFEST.in
-+++ b/MANIFEST.in
-@@ -4,6 +4,8 @@ include electrum.conf.sample
- include electrum.desktop
- include *.py
- include electrum
-+include contrib/requirements/requirements.txt
-+include contrib/requirements/requirements-hw.txt
- recursive-include lib *.py
- recursive-include gui *.py
- recursive-include plugins *.py
-diff --git a/setup.py b/setup.py
-index 63581a61..030993b5 100755
---- a/setup.py
-+++ b/setup.py
-@@ -20,7 +20,7 @@ version = imp.load_source('version', 'lib/version.py')
- if sys.version_info[:3] < (3, 4, 0):
- sys.exit("Error: Electrum requires Python version >= 3.4.0...")
-
--data_files = ['contrib/requirements/' + r for r in ['requirements.txt', 'requirements-hw.txt']]
-+data_files = []
-
- if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
- parser = argparse.ArgumentParser()
---
-2.16.2
-
Copied: electrum/repos/community-any/0001-prevent-requirements.txt-from-being-installed-to-usr.patch (from rev 920105, electrum/trunk/0001-prevent-requirements.txt-from-being-installed-to-usr.patch)
===================================================================
--- 0001-prevent-requirements.txt-from-being-installed-to-usr.patch (rev 0)
+++ 0001-prevent-requirements.txt-from-being-installed-to-usr.patch 2021-04-20 17:26:12 UTC (rev 920106)
@@ -0,0 +1,39 @@
+From e72947c8fd50575d69cb005a52f99aeef66f4186 Mon Sep 17 00:00:00 2001
+From: Marcel O'Neil <marcel at marceloneil.com>
+Date: Wed, 7 Mar 2018 15:15:54 -0500
+Subject: [PATCH] prevent requirements.txt from being installed to /usr
+
+---
+ MANIFEST.in | 2 ++
+ setup.py | 2 +-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 4fa5491a..b7355bd9 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -4,6 +4,8 @@ include electrum.conf.sample
+ include electrum.desktop
+ include *.py
+ include electrum
++include contrib/requirements/requirements.txt
++include contrib/requirements/requirements-hw.txt
+ recursive-include lib *.py
+ recursive-include gui *.py
+ recursive-include plugins *.py
+diff --git a/setup.py b/setup.py
+index 63581a61..030993b5 100755
+--- a/setup.py
++++ b/setup.py
+@@ -20,7 +20,7 @@ version = imp.load_source('version', 'lib/version.py')
+ if sys.version_info[:3] < (3, 4, 0):
+ sys.exit("Error: Electrum requires Python version >= 3.4.0...")
+
+-data_files = ['contrib/requirements/' + r for r in ['requirements.txt', 'requirements-hw.txt']]
++data_files = []
+
+ if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
+ parser = argparse.ArgumentParser()
+--
+2.16.2
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-20 17:25:50 UTC (rev 920105)
+++ PKGBUILD 2021-04-20 17:26:12 UTC (rev 920106)
@@ -1,51 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Co-Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgname=electrum
-pkgver=4.1.0
-pkgrel=1
-pkgdesc="Lightweight Bitcoin wallet"
-arch=('any')
-makedepends=('python-setuptools')
-depends=('python-pyaes' 'python-ecdsa' 'python-pbkdf2' 'python-requests' 'python-qrcode'
- 'python-protobuf' 'python-dnspython' 'python-jsonrpclib-pelix' 'python-pysocks'
- 'python-pyqt5' 'python-pycryptodomex' 'python-websocket-client' 'python-certifi'
- 'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks'
- 'libsecp256k1' 'python-bitstring')
-optdepends=('python-btchip: BTChip hardware wallet support'
- 'python-hidapi: Digital Bitbox hardware wallet support'
- 'python-matplotlib: plot transaction history in graphical mode'
- 'zbar: QR code reading support'
- 'python-rpyc: send commands to Electrum Python console from an external script'
- 'python-qdarkstyle: optional dark theme in graphical mode'
- 'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes'
- )
-
-url="https://electrum.org"
-license=('MIT')
-source=("https://download.electrum.org/${pkgver}/${pkgname^}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('4d6e094575a6d39662540f9861fe34b1aaed2136c44b992a59436ba59bc49cedb0fd369d863bbf2b1769b9d62bfd770a847a360c5ca517a00636b4ed9f9116c8'
- 'SKIP')
-validpgpkeys=('6694D8DE7BE8EE5631BED9502BD5824B7F9470E6')
-
-prepare() {
- cd "${pkgname^}-${pkgver}"
-}
-
-build() {
- cd "${pkgname^}-${pkgver}"
-
- python setup.py build
-}
-
-package() {
- cd "${pkgname^}-${pkgver}"
-
- # Make python build reproducible.
- # Credit goes to Zren for pointing this out.
- export PYTHONHASHSEED=0
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENCE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
-}
Copied: electrum/repos/community-any/PKGBUILD (from rev 920105, electrum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-20 17:26:12 UTC (rev 920106)
@@ -0,0 +1,51 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Co-Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=electrum
+pkgver=4.1.2
+pkgrel=1
+pkgdesc="Lightweight Bitcoin wallet"
+arch=('any')
+makedepends=('python-setuptools')
+depends=('python-pyaes' 'python-ecdsa' 'python-pbkdf2' 'python-requests' 'python-qrcode'
+ 'python-protobuf' 'python-dnspython' 'python-jsonrpclib-pelix' 'python-pysocks'
+ 'python-pyqt5' 'python-pycryptodomex' 'python-websocket-client' 'python-certifi'
+ 'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks'
+ 'libsecp256k1' 'python-bitstring')
+optdepends=('python-btchip: BTChip hardware wallet support'
+ 'python-hidapi: Digital Bitbox hardware wallet support'
+ 'python-matplotlib: plot transaction history in graphical mode'
+ 'zbar: QR code reading support'
+ 'python-rpyc: send commands to Electrum Python console from an external script'
+ 'python-qdarkstyle: optional dark theme in graphical mode'
+ 'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes'
+ )
+
+url="https://electrum.org"
+license=('MIT')
+source=("https://download.electrum.org/${pkgver}/${pkgname^}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('12d4fecb0e73c1ba94c6cf4fe5a25729eb60f3b07c8fdbd474537d74492d406e06f0cadad578f32a30d5aabd891c4d0e490385837a9e493fa17ca8e1128d8d44'
+ 'SKIP')
+validpgpkeys=('6694D8DE7BE8EE5631BED9502BD5824B7F9470E6')
+
+prepare() {
+ cd "${pkgname^}-${pkgver}"
+}
+
+build() {
+ cd "${pkgname^}-${pkgver}"
+
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname^}-${pkgver}"
+
+ # Make python build reproducible.
+ # Credit goes to Zren for pointing this out.
+ export PYTHONHASHSEED=0
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENCE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+}
More information about the arch-commits
mailing list