summaryrefslogtreecommitdiff
path: root/app-misc/khard
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-04-22 11:44:53 +0200
committerKarel Kočí <cynerd@email.cz>2020-04-22 11:44:53 +0200
commitad7b26614ba0bf05b508ed08038a052dbaf5aac5 (patch)
treed18e4692ca67f45cf71519bc095c3e989f896bad /app-misc/khard
parent6d651f4c908ee4f3ddab0fd4350c407a9565c369 (diff)
downloadgentoo-personal-overlay-ad7b26614ba0bf05b508ed08038a052dbaf5aac5.tar.gz
gentoo-personal-overlay-ad7b26614ba0bf05b508ed08038a052dbaf5aac5.tar.bz2
gentoo-personal-overlay-ad7b26614ba0bf05b508ed08038a052dbaf5aac5.zip
app-misc/khard: try to fix compilation
Diffstat (limited to 'app-misc/khard')
-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