From 0ee668b988eff04b2a2d4b5e044c598e939ad53f Mon Sep 17 00:00:00 2001
From: Tim Biermann <tbier@posteo.de>
Date: Sun, 29 Dec 2019 11:40:19 +0100
Subject: [PATCH] khard: initial commit, version 0.15.1

---
 khard/.footprint | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
 khard/.signature |  5 +++++
 khard/Pkgfile    | 22 +++++++++++++++++++++
 3 files changed, 78 insertions(+)
 create mode 100644 khard/.footprint
 create mode 100644 khard/.signature
 create mode 100644 khard/Pkgfile

diff --git a/khard/.footprint b/khard/.footprint
new file mode 100644
index 000000000..0284f1d40
--- /dev/null
+++ b/khard/.footprint
@@ -0,0 +1,51 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/khard
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/python3.7/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/entry_points.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/requires.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard-0.15.1-py3.7.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/khard/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__init__.py (EMPTY)
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__main__.py
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/__init__.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/__init__.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/__main__.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/__main__.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/actions.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/actions.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/address_book.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/address_book.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/carddav_object.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/carddav_object.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/cli.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/cli.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/config.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/config.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/helpers.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/helpers.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/khard.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/khard.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/object_type.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/object_type.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/version.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/__pycache__/version.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/actions.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/address_book.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/carddav_object.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/cli.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/config.py
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/khard/data/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/data/config.spec
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/data/template.yaml
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/helpers.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/khard.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/object_type.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/khard/version.py
diff --git a/khard/.signature b/khard/.signature
new file mode 100644
index 000000000..ca611c6a1
--- /dev/null
+++ b/khard/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3w+9aDmUDPEVngihiqY/bfFlePpVB0JZY+1ICluKVEPOPGHWIROLHsu7Z78WEPDM0FchewFY9sLLmIvSYXijJAM=
+SHA256 (Pkgfile) = e6aaa1a499483388e86b915e3f54ac22e263931be20ccf99ac2102b993b57f90
+SHA256 (.footprint) = 6656e07d53b7bd3a7b3100cb31bca0a7c2aa62b8f08c4d26df8e9ece5523f832
+SHA256 (khard-0.15.1.tar.gz) = 5ca8e678133e08fa4861cc31aedf9f30b4f8e3958ed66ede025c23ec5e176aa1
diff --git a/khard/Pkgfile b/khard/Pkgfile
new file mode 100644
index 000000000..ca66f7efb
--- /dev/null
+++ b/khard/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Console carddav client
+# URL: https://github.com/scheibler/khard/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: python3-atomicwrites python3-configobj python3-ruamel-yaml python3-unidecode python3-vobject
+
+name=khard
+version=0.15.1
+release=1
+source=(https://files.pythonhosted.org/packages/source/k/khard/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+  python3 setup.py build
+  python3 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root=$PKG
+  if [ -e /lib/zsh ]; then
+    install -vDm 644 misc/zsh/_* \
+      -t $PKG/usr/share/zsh/site-functions/
+  fi
+}