[Pkg-bitcoin-commits] [electrum] 11/11: Switch to pybuild.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Fri May 1 21:26:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch master
in repository electrum.
commit 41c345349ed12acb9e6e1c1da73386211e2073e0
Author: Tristan Seligmann <mithrandi at debian.org>
Date: Fri May 1 22:44:52 2015 +0200
Switch to pybuild.
---
debian/README.source | 11 --------
debian/control | 9 +++----
debian/control.in | 57 ------------------------------------------
debian/electrum.install | 3 ---
debian/python-electrum.install | 1 -
debian/rules | 46 ++++++----------------------------
6 files changed, 11 insertions(+), 116 deletions(-)
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 1597e57..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,11 +0,0 @@
-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 at gmail.com>, Sat, 11 Jan 2014 22:25:45 +0530
diff --git a/debian/control b/debian/control
index d8f40bb..b33f027 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,10 @@ Priority: optional
Section: utils
Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel at lists.alioth.debian.org>
Uploaders: Tristan Seligmann <mithrandi at 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
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index a2b4272..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,57 +0,0 @@
-Source: electrum
-Priority: optional
-Section: utils
-Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel at lists.alioth.debian.org>
-Uploaders: Tristan Seligmann <mithrandi at 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.
diff --git a/debian/electrum.install b/debian/electrum.install
index 1366027..6d7d9e7 100644
--- a/debian/electrum.install
+++ b/debian/electrum.install
@@ -1,4 +1 @@
-usr/bin/electrum
-usr/share/applications/electrum.desktop
-usr/share/pixmaps/electrum.png
docs/* usr/share/doc/electrum
diff --git a/debian/python-electrum.install b/debian/python-electrum.install
deleted file mode 100644
index 9e364b5..0000000
--- a/debian/python-electrum.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2*
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index fa6fea3..e9ab2ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,46 +1,16 @@
#!/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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/electrum.git
More information about the Pkg-bitcoin-commits
mailing list