Commit 41c34534 authored by Tristan Seligmann's avatar Tristan Seligmann

Switch to pybuild.

parent aaa2992b
CDBS+git-buildpackage
---------------------
This source package uses CDBS and git-buildpackage. NMUs need not (but
are encouraged to) make special use of these tools. In particular, the
debian/control.in file can be completely ignored.
More info here: http://wiki.debian.org/CDBS+git-buildpackage
-- Vasudev Kamath <kamathvasudev@gmail.com>, Sat, 11 Jan 2014 22:25:45 +0530
......@@ -3,11 +3,10 @@ Priority: optional
Section: utils
Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel@lists.alioth.debian.org>
Uploaders: Tristan Seligmann <mithrandi@debian.org>
Build-Depends: cdbs (>= 0.4.106~),
debhelper,
dh-buildinfo,
Build-Depends: debhelper (>= 9),
devscripts,
python,
dh-python,
python-ecdsa (>= 0.9~),
python-slowaes,
python-qt4,
......@@ -23,8 +22,7 @@ Package: python-electrum
Section: python
Architecture: all
Depends: ${misc:Depends},
${python:Depends},
${cdbs:Depends}
${python:Depends}
Description: Easy to use Bitcoin client - Python module
This package provides a lightweight Bitcoin client which protects
you from losing your bitcoins in a backup mistake or computer
......@@ -37,7 +35,6 @@ Description: Easy to use Bitcoin client - Python module
Package: electrum
Architecture: all
Depends: ${misc:Depends},
${cdbs:Depends},
python-electrum (= ${binary:Version})
Description: Easy to use Bitcoin client
This package provides a lightweight Bitcoin client which protects
......
Source: electrum
Priority: optional
Section: utils
Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel@lists.alioth.debian.org>
Uploaders: Tristan Seligmann <mithrandi@debian.org>
Build-Depends: @cdbs@
Standards-Version: 3.9.6
Homepage: http://electrum.org/
Vcs-Git: git://anonscm.debian.org/pkg-bitcoin/electrum.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-bitcoin/electrum.git
X-Python-Version: >= 2.6
Package: python-electrum
Section: python
Architecture: all
Depends: ${misc:Depends},
${python:Depends},
${cdbs:Depends}
Description: Easy to use Bitcoin client - Python module
This package provides a lightweight Bitcoin client which protects
you from losing your bitcoins in a backup mistake or computer
failure. Also, Electrum does not require waiting time because it does
not download the Bitcoin blockchain.
.
This package provides the "electrum" Python module which can be used to access
a Bitcoin wallet from Python programs.
Package: electrum
Architecture: all
Depends: ${misc:Depends},
${cdbs:Depends},
python-electrum (= ${binary:Version})
Description: Easy to use Bitcoin client
This package provides a lightweight Bitcoin client which protects
you from losing your bitcoins in a backup mistake or computer
failure. Also, Electrum does not require waiting time because it does
not download the Bitcoin blockchain.
.
Features of Electrum:
.
* Instant on: Your client does not download the blockchain. It uses a
network of specialized servers that index the blockchain.
* Forgiving: Your wallet can be recovered from a secret seed.
* Safe: Your seed and private keys are encrypted on your hard drive.
They are never sent to the servers.
* Low trust: Information received from the servers is verified using
SPV. Servers are authenticated using SSL.
* No downtimes: Your client is not tied to a particular server; it
will switch instantly if your server is down.
* Ubiquitous: You can use the same wallet on different computers, they
will synchronize automatically.
* Cold Storage: Sign transactions from a computer that is always
offline. Broadcast them using a machine that does not have your keys.
* Reachable: You can export your private keys into other Bitcoin
clients.
* Established: Electrum is open source and was first released in
November 2011.
usr/bin/electrum
usr/share/applications/electrum.desktop
usr/share/pixmaps/electrum.png
docs/* usr/share/doc/electrum
usr/lib/python2*
\ No newline at end of file
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/class/python-distutils.mk
DEB_UPSTREAM_PACKAGE = Electrum
DEB_UPSTREAM_TARBALL_BASENAME = ${DEB_UPSTREAM_PACKAGE}-${DEB_UPSTREAM_VERSION}
DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz
DEB_UPSTREAM_URL = https://download.electrum.org
DEB_UPSTREAM_TARBALL_MD5 = 0041146d7e6b2c9c85a0ffc5df0f8ba7
package = electrum
python_module = python-$(package)
# dependency
electrum_depends = python-ecdsa (>= 0.9~), python-slowaes, python-qt4
# CDBS build depends
CDBS_BUILD_DEPENDS += , $(electrum_depends), python-setuptools, pyqt4-dev-tools
# Suppress unneeded build-dependencies
CDBS_BUILD_DEPENDS_class_python-distutils_python =
# dependency for module
CDBS_DEPENDS_$(python_module) += $(electrum_depends)
# dependency for program
CDBS_DEPENDS_$(package) += python (>= 2.6)
# Move aes and ecdsa from build directory to let package link against
# the python-ecdsa and python-slowaes
DEB_UPSTREAM_CRUFT_MOVE = ecdsa aes
export PYBUILD_NAME=electrum
# Ignore graphics and .mo files in addition to the default debian files
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(locale/.*/.*\.mo|data/dark/.*\.png|icons/.*\.png|LICENSE|debian/(changelog|copyright(|_hints|_newhints)|electrum.translations))$
DEB_INSTALL_CHANGELOGS_ALL=RELEASE-NOTES
%:
dh $@ --with python2 --buildsystem=pybuild
override_dh_installchangelogs::
dh_installchangelogs -k RELEASE-NOTES
pre-build::
override_dh_auto_build::
pyrcc4 icons.qrc -o gui/icons_rc.py
dh_auto_build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment