[gnome-keysign: 3/17] packaging: Update Arch Linux packaging to version 0.9.5
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 3/17] packaging: Update Arch Linux packaging to version 0.9.5
- Date: Fri, 15 Dec 2017 16:26:11 +0000 (UTC)
commit 76ddbdae879a20dc8b5c9a5c4f235993c2826391
Author: RyuzakiKK <aasonykk gmail com>
Date: Wed Oct 4 13:18:17 2017 +0200
packaging: Update Arch Linux packaging to version 0.9.5
packaging/PKGBUILD | 20 +++++++++++---------
packaging/avoid_monkeysign.patch | 19 +++++++++----------
packaging/gnome-keysign.install | 11 +++++++++++
3 files changed, 31 insertions(+), 19 deletions(-)
---
diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD
index b823b61..0dc2000 100644
--- a/packaging/PKGBUILD
+++ b/packaging/PKGBUILD
@@ -2,19 +2,21 @@
# Contributor: Profpatsch <mail AT [nickname] DOT de>
pkgname=gnome-keysign
-pkgver=0.8
-pkgrel=1
+pkgver=0.9.5
+pkgrel=3
pkgdesc="An easier way to sign OpenPGP keys over the local network."
arch=('any')
url="https://github.com/gnome-keysign/gnome-keysign"
license=('GPL3')
-depends=('python2' 'python2-requests' 'python2-gobject' 'python2-qrcode'
- 'avahi' 'dbus' 'monkeysign-git')
-makedepends=('python2-setuptools')
+install=gnome-keysign.install
+depends=('python' 'python-requests' 'python-gobject' 'python-qrcode'
+ 'python-twisted' 'python-gpgme' 'avahi' 'dbus' 'zbar')
+optdepends=('python-pybluez')
+makedepends=('python-setuptools')
source=(https://github.com/gnome-keysign/gnome-keysign/archive/${pkgver}.tar.gz
"avoid_monkeysign.patch")
-sha256sums=('141bdb20a84a3b1fb5deb0fc52c5af0e02c601b2cc4923f89409b2a1b8509f88'
- 'c749fed5028b61c99292416f980decb23f9b90ce96eae05190aace764251575a')
+sha256sums=('0bb55d834f957fe438dc32b311d7035f12cf36af07c3bded462fc9d72451a224'
+ '74a1ac5d76d21977d2a8c3fcbc7630ccf063600ff94a30ba20df47984c44bf2e')
prepare() {
cd "${pkgname}-${pkgver}"
@@ -23,10 +25,10 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
- python2 setup.py build
+ python setup.py build
}
package() {
cd "${pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
+ python setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
}
diff --git a/packaging/avoid_monkeysign.patch b/packaging/avoid_monkeysign.patch
index 3eaff0d..28c3d1a 100644
--- a/packaging/avoid_monkeysign.patch
+++ b/packaging/avoid_monkeysign.patch
@@ -1,7 +1,6 @@
-diff -ura gnome-keysign-0.8.orig/setup.py gnome-keysign-0.8.new/setup.py
---- gnome-keysign-0.8.orig/setup.py 2017-03-11 12:07:21.394620381 +0100
-+++ gnome-keysign-0.8.new/setup.py 2017-03-11 12:08:02.014620656 +0100
-@@ -27,14 +27,14 @@
+--- gnome-keysign-0.9.5.orig/setup.py 2017-10-03 13:19:46.000000000 +0200
++++ gnome-keysign-0.9.5.new/setup.py 2017-10-03 15:26:18.639867432 +0200
+@@ -65,14 +65,14 @@
'keysign.compat',
'keysign.network',
],
@@ -17,9 +16,9 @@ diff -ura gnome-keysign-0.8.orig/setup.py gnome-keysign-0.8.new/setup.py
+ #],
package_dir={
- 'keysign': 'keysign',
-- 'monkeysign': 'monkeysign/monkeysign'},
-+ 'keysign': 'keysign'},
-+ #'monkeysign': 'monkeysign'},
- #package_data={'keysign': ['data/*']},
- data_files=[
- ( 'share/applications',
+- 'monkeysign': 'monkeysign/monkeysign'
++ 'keysign': 'keysign'
++ # 'monkeysign': 'monkeysign/monkeysign'
+ },
+ package_data={
+ 'keysign': [
diff --git a/packaging/gnome-keysign.install b/packaging/gnome-keysign.install
new file mode 100644
index 0000000..21e5970
--- /dev/null
+++ b/packaging/gnome-keysign.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo ">>> GNOME-Keysign requires a working Avahi local server."
+ echo ">>> Enable it executing 'systemctl enable avahi-daemon'"
+ echo ">>> If you want to also use Bluetooth you need to install"
+ echo ">>> the optional dependency python-pybluez and enable the"
+ echo ">>> Bluetooth daemon with 'systemctl enable bluetooth'"
+}
+
+post_upgrade() {
+ post_install
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]