From f1c7429a6f66ad338e6af7951f5233d220dbbd53 Mon Sep 17 00:00:00 2001 From: svenper Date: Sat, 24 Aug 2019 15:21:21 +0200 Subject: [PATCH] python-fonttools: branch off python3 package --- srcpkgs/python-fonttools/template | 17 +++-------------- srcpkgs/python3-fonttools | 1 - 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 120000 srcpkgs/python3-fonttools diff --git a/srcpkgs/python-fonttools/template b/srcpkgs/python-fonttools/template index 188cac6a119..8be7cc8cc06 100644 --- a/srcpkgs/python-fonttools/template +++ b/srcpkgs/python-fonttools/template @@ -1,11 +1,11 @@ # Template file for 'python-fonttools' pkgname=python-fonttools version=3.44.0 -revision=1 +revision=2 wrksrc="${pkgname#python-}-${version}" -build_style=python-module +build_style=python2-module pycompile_module="fonttools" -hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" +hostmakedepends="python-devel python-setuptools" makedepends="${hostmakedepends}" short_desc="Library to manipulate font files from Python2" maintainer="svenper " @@ -18,14 +18,3 @@ post_install() { vlicense LICENSE vlicense LICENSE.external } - -python3-fonttools_package() { - pycompile_module="fonttools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python3*" - vmove "usr/bin/*3" - vlicense LICENSE - vlicense LICENSE.external - } -} diff --git a/srcpkgs/python3-fonttools b/srcpkgs/python3-fonttools deleted file mode 120000 index 8b2310cea88..00000000000 --- a/srcpkgs/python3-fonttools +++ /dev/null @@ -1 +0,0 @@ -python-fonttools \ No newline at end of file