From b35e0d239e5838a04bed0517894ba82c051475da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Sat, 14 Dec 2019 20:15:12 +0100 Subject: [PATCH] media-libs/lv2-1.16.0: partially fixed doc building MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit added patch to support python3 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Miroslav Å ulc --- media-libs/lv2/files/lv2-1.16.0-python3.patch | 22 +++++++++++++++++++ media-libs/lv2/lv2-1.16.0.ebuild | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 media-libs/lv2/files/lv2-1.16.0-python3.patch diff --git a/media-libs/lv2/files/lv2-1.16.0-python3.patch b/media-libs/lv2/files/lv2-1.16.0-python3.patch new file mode 100644 index 000000000000..330fc4cfcac7 --- /dev/null +++ b/media-libs/lv2/files/lv2-1.16.0-python3.patch @@ -0,0 +1,22 @@ +diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py +index ddd0ba5..224ace8 100755 +--- a/lv2specgen/lv2specgen.py ++++ b/lv2specgen/lv2specgen.py +@@ -329,7 +329,7 @@ def getComment(m, urinode, classlist, proplist, instalist): + if have_lxml: + try: + # Parse and validate documentation as XHTML Basic 1.1 +- doc = """ ++ doc = """ + + +@@ -340,7 +340,7 @@ def getComment(m, urinode, classlist, proplist, instalist): + %s + + +-""" % str(markup.decode()) ++""" % str(markup) + + oldcwd = os.getcwd() + os.chdir(specgendir) diff --git a/media-libs/lv2/lv2-1.16.0.ebuild b/media-libs/lv2/lv2-1.16.0.ebuild index 2dc4fcf3dd60..9284873bc1ff 100644 --- a/media-libs/lv2/lv2-1.16.0.ebuild +++ b/media-libs/lv2/lv2-1.16.0.ebuild @@ -35,6 +35,10 @@ RDEPEND=" " DOCS=( "README.md" "NEWS" ) +PATCHES=( + "${FILESDIR}/${P}-python3.patch" +) + src_prepare() { default multilib_copy_sources -- 2.26.2