summaryrefslogtreecommitdiff
path: root/dev-python/reportlab
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-28 13:41:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-28 13:41:26 +0000
commit1159d9182a5f0ec9ac683ab1047e50e2c227af6a (patch)
treeb7440426599f108a67de212ec46697eeeded9f5b /dev-python/reportlab
parenta8df12abe782714295b71d6fa0f468c4665754fb (diff)
downloadbaldeagleos-repo-1159d9182a5f0ec9ac683ab1047e50e2c227af6a.tar.gz
baldeagleos-repo-1159d9182a5f0ec9ac683ab1047e50e2c227af6a.tar.xz
baldeagleos-repo-1159d9182a5f0ec9ac683ab1047e50e2c227af6a.zip
Adding metadata
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/files/reportlab-3.6.9-paths.patch21
-rw-r--r--dev-python/reportlab/reportlab-3.6.7.ebuild2
-rw-r--r--dev-python/reportlab/reportlab-3.6.9.ebuild4
3 files changed, 26 insertions, 1 deletions
diff --git a/dev-python/reportlab/files/reportlab-3.6.9-paths.patch b/dev-python/reportlab/files/reportlab-3.6.9-paths.patch
new file mode 100644
index 000000000000..e5ed7c43478d
--- /dev/null
+++ b/dev-python/reportlab/files/reportlab-3.6.9-paths.patch
@@ -0,0 +1,21 @@
+Disable broken logic for finding freetype2 that hits symlink loops.
+
+diff -dupr reportlab-3.6.9.orig/setup.py reportlab-3.6.9/setup.py
+--- reportlab-3.6.9.orig/setup.py 2022-03-28 10:13:33.892516135 +0200
++++ reportlab-3.6.9/setup.py 2022-03-28 10:49:11.048573739 +0200
+@@ -737,13 +737,10 @@ def main():
+ else:
+ FT_LIB=FT_LIB_DIR=FT_INC_DIR=FT_MACROS=[]
+ else:
+- ftv, I, L = inc_lib_dirs('freetype')
+ FT_LIB=['freetype']
+- FT_LIB_DIR=L
+- FT_INC_DIR=I
++ FT_LIB_DIR=[]
++ FT_INC_DIR=['/usr/include/freetype2']
+ FT_MACROS = [('RENDERPM_FT',None)]
+- infoline('installing with freetype version %s' % ftv)
+- infoline('FT_LIB_DIR=%r FT_INC_DIR=%r' % (FT_LIB_DIR,FT_INC_DIR))
+ if not FT_LIB:
+ infoline('# installing without freetype no ttf, sorry!')
+ infoline('# You need to install a static library version of the freetype2 software')
diff --git a/dev-python/reportlab/reportlab-3.6.7.ebuild b/dev-python/reportlab/reportlab-3.6.7.ebuild
index 899fadee98a8..804aeca88f94 100644
--- a/dev-python/reportlab/reportlab-3.6.7.ebuild
+++ b/dev-python/reportlab/reportlab-3.6.7.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
DEPEND="
media-libs/freetype
diff --git a/dev-python/reportlab/reportlab-3.6.9.ebuild b/dev-python/reportlab/reportlab-3.6.9.ebuild
index b8749facf889..53967a711621 100644
--- a/dev-python/reportlab/reportlab-3.6.9.ebuild
+++ b/dev-python/reportlab/reportlab-3.6.9.ebuild
@@ -33,6 +33,10 @@ BDEPEND="
app-arch/unzip
"
+PATCHES=(
+ "${FILESDIR}"/reportlab-3.6.9-paths.patch
+)
+
distutils_enable_sphinx docs/source
src_unpack() {