[Python-modules-commits] [python-trezor] 03/04: Ship AppStream metadata with modalias provides, so this package will be suggested upon attaching a TREZOR.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sun Dec 24 12:16:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to branch master
in repository python-trezor.

commit a91dc3045722a0457c147175cdbeac70093615bc
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Sun Dec 24 13:33:19 2017 +0200

    Ship AppStream metadata with modalias provides, so this package will be suggested upon attaching a TREZOR.
---
 debian/changelog                        |  2 ++
 debian/io.trezor.trezorctl.metainfo.xml | 24 ++++++++++++++++++++++++
 debian/trezor.install                   |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5098c67..5033cfd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-trezor (0.7.16-3) unstable; urgency=medium
   * Fix Build-Depends on python{,3}-hidapi; these should be python{,3}-hid
     (closes: #885105).
   * Add py{,3}dist-overrides for hidapi.
+  * Ship AppStream metadata with modalias provides, so this package will
+    be suggested upon attaching a TREZOR.
 
  -- Tristan Seligmann <mithrandi at debian.org>  Sun, 24 Dec 2017 11:44:04 +0200
 
diff --git a/debian/io.trezor.trezorctl.metainfo.xml b/debian/io.trezor.trezorctl.metainfo.xml
new file mode 100644
index 0000000..6bcda0e
--- /dev/null
+++ b/debian/io.trezor.trezorctl.metainfo.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="console-application">
+  <id>io.trezor.trezorctl</id>
+  <name>trezorctl</name>
+  <summary>Utility for interacting with a TREZOR Bitcoin hardware wallet</summary>
+  <metadata_license>MIT</metadata_license>
+  <project_license>LGPL-3.0</project_license>
+  <developer_name>Satoshi Labs</developer_name>
+  <description>
+    <p>No matter how unprotected your computer or internet connection might be,
+    your coins always stay safe with TREZOR as it never exposes your private
+    keys. TREZOR is an isolated environment for offline transaction signing and
+    using a small display you can visually verify the transaction contents.
+    That's why all operations using TREZOR are entirely safe.</p>
+    <p>To make use of the TREZOR, you will also need a wallet interface like
+    Electrum installed</p>
+  </description>
+  <provides>
+    <binary>trezorctl</binary>
+    <modalias>usb:v534Cp0001d*</modalias>
+    <modalias>usb:v1209p53C0d*</modalias>
+    <modalias>usb:v1209p53C1d*</modalias>
+  </provides>
+</component>
diff --git a/debian/trezor.install b/debian/trezor.install
new file mode 100644
index 0000000..7f79225
--- /dev/null
+++ b/debian/trezor.install
@@ -0,0 +1 @@
+debian/io.trezor.trezorctl.metainfo.xml usr/share/metainfo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-trezor.git



More information about the Python-modules-commits mailing list