From 1b819d4a62e7812315689af7636b16ed66f5ee58 Mon Sep 17 00:00:00 2001 From: svenper Date: Sun, 25 Aug 2019 16:46:23 +0200 Subject: [PATCH] python-fonttools: fix conflicts from python version branch-off --- srcpkgs/python-fonttools/template | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-fonttools/template b/srcpkgs/python-fonttools/template index 8be7cc8cc06..6c3547b30d7 100644 --- a/srcpkgs/python-fonttools/template +++ b/srcpkgs/python-fonttools/template @@ -1,7 +1,7 @@ # Template file for 'python-fonttools' pkgname=python-fonttools version=3.44.0 -revision=2 +revision=3 wrksrc="${pkgname#python-}-${version}" build_style=python2-module pycompile_module="fonttools" @@ -13,8 +13,19 @@ license="MIT, OFL-1.1, BSD-3-Clause" homepage="https://github.com/fonttools/fonttools" distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz" checksum=9dadbca88a5a841d821f6892fa9f4715ec03afd53980aaf4d61bd4be345b24ed +alternatives=" + fonttools:fonttools:/usr/bin/fonttools2 + fonttools:pyftmerge:/usr/bin/pyftmerge2 + fonttools:pyftsubset:/usr/bin/pyftsubset2 + fonttools:ttx:/usr/bin/ttx2 + fonttools:ttx.1:/usr/share/man/man1/ttx2.1" post_install() { + mv ${DESTDIR}/usr/bin/fonttools{,2} + mv ${DESTDIR}/usr/bin/pyftmerge{,2} + mv ${DESTDIR}/usr/bin/pyftsubset{,2} + mv ${DESTDIR}/usr/bin/ttx{,2} + mv ${DESTDIR}/usr/share/man/man1/ttx{,2}.1 vlicense LICENSE vlicense LICENSE.external }