summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/khard/files/fix-manifest.patch10
-rw-r--r--app-misc/khard/khard-0.16.1.ebuild7
2 files changed, 16 insertions, 1 deletions
diff --git a/app-misc/khard/files/fix-manifest.patch b/app-misc/khard/files/fix-manifest.patch
new file mode 100644
index 0000000..cb84cd9
--- /dev/null
+++ b/app-misc/khard/files/fix-manifest.patch
@@ -0,0 +1,10 @@
+diff -ru old/MANIFEST.in new/MANIFEST.in
+--- old/MANIFEST.in 2019-01-01 20:51:16.000000000 +0100
++++ new/MANIFEST.in 2020-04-22 11:34:09.635844640 +0200
+@@ -1,5 +1,5 @@
+-include AUTHORS
+ include CHANGES
++include CONTRIBUTING.rst
+ include LICENSE
+ include README.md
+ recursive-include misc *
diff --git a/app-misc/khard/khard-0.16.1.ebuild b/app-misc/khard/khard-0.16.1.ebuild
index 36f2f25..7a39a34 100644
--- a/app-misc/khard/khard-0.16.1.ebuild
+++ b/app-misc/khard/khard-0.16.1.ebuild
@@ -36,7 +36,12 @@ DEPEND="
# https://github.com/scheibler/khard/issues/87
# https://github.com/eventable/vobject/issues/39
-DOCS=( AUTHORS CHANGES README.md misc/khard/khard.conf.example )
+DOCS=( CHANGES CONTRIBUTING.rst README.md doc/source/examples/khard.conf.example )
+
+src_prepare() {
+ eapply "${FILESDIR}/fix-manifest.patch"
+ distutils-r1_src_prepare
+}
src_install() {
distutils-r1_src_install