1 |
commit: 712608c6c116e1395b0e6539a2620fe14ba41743 |
2 |
Author: Nils Freydank <nils.freydank <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Aug 15 12:57:03 2020 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 13:47:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712608c6 |
7 |
|
8 |
app-misc/khard: Bump to 0.17.0 |
9 |
|
10 |
This commit adds support for python 3.7 to 3.9 and does some internal changes: |
11 |
- drop explicit dep for >dev-python/vobject-0.9.3 as a working version |
12 |
was introduced to the tree in december 2017. For details see commit |
13 |
17e2b60acb7049e925c1d65116dbb4edf16e820e. |
14 |
|
15 |
- don't call external test but use the [[ ]] bashism, so globbing for |
16 |
version works ("*9999"). |
17 |
|
18 |
- add dep for dev-python/setuptools_scm for tests |
19 |
|
20 |
Bug: https://bugs.gentoo.org/718232 |
21 |
Closes: https://bugs.gentoo.org/721832 |
22 |
Thanks-to: Christopher Head <chead <AT> chead.ca> |
23 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
24 |
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de> |
25 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
26 |
|
27 |
app-misc/khard/Manifest | 1 + |
28 |
app-misc/khard/khard-0.17.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ |
29 |
2 files changed, 55 insertions(+) |
30 |
|
31 |
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest |
32 |
index f7e76223038..133d107aa79 100644 |
33 |
--- a/app-misc/khard/Manifest |
34 |
+++ b/app-misc/khard/Manifest |
35 |
@@ -1 +1,2 @@ |
36 |
DIST khard-0.13.0.tar.gz 5083020 BLAKE2B 6dc95335f89d5034ddc5fdfafca06b2bfc96c2dd05e966d975eea508a939cc4d64b749c3c6c2a7ce6e74ac40835b33f90442d357b871e47b8f0b2df351225c16 SHA512 353a51a06d6c7aa27b0f1cf35b3f7c113097ea4fa5e27bcb400f00de0cdd65ccaeadcc835b1cba541361a0395265cb967f731b23d875162f2be13381bc0979a6 |
37 |
+DIST khard-0.17.0.tar.gz 593928 BLAKE2B 488e1df70212c856d8dfa43955e681344fb1a257d765c81820444f6435d39aec782da9d01edeeaac0b9a87412db680fde368c39c74faa82b0eff2d7a0a2dbc6b SHA512 9cb936aeaa327b9837488a752906bf603429ca0c7240703829220119049f5f62e84f7e4c90bb81799307fe446c3aa47fe6ee4112c276b6bb329c959be438ba25 |
38 |
|
39 |
diff --git a/app-misc/khard/khard-0.17.0.ebuild b/app-misc/khard/khard-0.17.0.ebuild |
40 |
new file mode 100644 |
41 |
index 00000000000..c260594faa5 |
42 |
--- /dev/null |
43 |
+++ b/app-misc/khard/khard-0.17.0.ebuild |
44 |
@@ -0,0 +1,54 @@ |
45 |
+# Copyright 1999-2020 Gentoo Authors |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI=7 |
49 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
50 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
51 |
+ |
52 |
+inherit distutils-r1 |
53 |
+ |
54 |
+DESCRIPTION="Console CardDAV client" |
55 |
+HOMEPAGE="https://github.com/scheibler/khard" |
56 |
+LICENSE="GPL-3" |
57 |
+SLOT="0" |
58 |
+IUSE="test zsh-completion" |
59 |
+RESTRICT="!test? ( test )" |
60 |
+ |
61 |
+if [[ "${PV}" == *9999 ]]; then |
62 |
+ inherit git-r3 |
63 |
+ EGIT_REPO_URI="https://github.com/scheibler/khard" |
64 |
+else |
65 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
66 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
67 |
+fi |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ dev-python/atomicwrites[${PYTHON_USEDEP}] |
71 |
+ dev-python/configobj[${PYTHON_USEDEP}] |
72 |
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}] |
73 |
+ dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] |
74 |
+ dev-python/unidecode[${PYTHON_USEDEP}] |
75 |
+ dev-python/vobject[${PYTHON_USEDEP}] |
76 |
+" |
77 |
+DEPEND=" |
78 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
79 |
+ test? ( |
80 |
+ ${RDEPEND} |
81 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
82 |
+ ) |
83 |
+" |
84 |
+ |
85 |
+DOCS=( CHANGES CONTRIBUTING.rst README.md doc/source/examples/khard.conf.example ) |
86 |
+ |
87 |
+src_install() { |
88 |
+ distutils-r1_src_install |
89 |
+ |
90 |
+ if use zsh-completion; then |
91 |
+ insinto /usr/share/zsh/site-functions |
92 |
+ doins misc/zsh/_khard |
93 |
+ fi |
94 |
+} |
95 |
+ |
96 |
+python_test() { |
97 |
+ esetup.py test |
98 |
+} |