Package Details: python-ufo2ft 2.20.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-ufo2ft
Description: A bridge from UFOs to FontTools objects.
Upstream URL:
Licenses: MIT
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 1
Popularity: 0.000245
First Submitted: 2019-08-18 01:33
Last Updated: 2021-03-19 17:52

Latest Comments

caleb commented on 2021-03-19 15:40

With 2.20.0 python-compreffor should be moved to optdepends=().

caleb commented on 2020-12-19 09:47

This should explicitly depend on python-fonttools>=4.17.1, not yet in [community] but provided by python-fonttools-git.

P.S.‌ I've tried applying to be a TU so we can avoid bottlenecks like this when font related packages are delayed in [community] due to lack of attention, but haven't found 2 sponsors yet. If you know any of them that might be interested let me know.

caleb commented on 2020-05-31 15:36

The check() function on this is borked, but I think it might be an upstream problem. Something in the build_ext phase is actually trying to install or use and old version of python-fonttools and failing on the current version. With all the related dependencies fully up to date I can build this with --nocheck but not without.

caleb commented on 2020-03-30 13:50

@thrasibule I appreciate you bumping packages quickly when they are flagged, but I've been posting you patches with fixes that go beyond the package bump. In this case my patch builds, the package as posted can't even be validated by makepkg. I've been fixing things per Arch guidelines such splitting build() and package() stages and using their recommended stable URL scheme. Can you please apply these patches?

flovo commented on 2020-03-30 10:26

Cannot build the package.

Integrity checks (sha256) differ in size from the source array.

The second sha256 shouldn't be there.

caleb commented on 2020-03-26 08:26

Similar to the patch I just sent for python-skia-pathops, this uses a more stable download URL, splits the build() and package() phases and makes a few other touchups inline with the general and python specific Arch package guidelines. Please consider applying the following using git am:

From c5d5b74f29074cdc05b5a30365718429453a2194 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <>
Date: Thu, 26 Mar 2020 11:21:57 +0300
Subject: [PATCH] Use stable URL, split build() and package(), cleanup per

Signed-off-by: Caleb Maclennan <>
 .SRCINFO |  7 +++----
 PKGBUILD | 46 +++++++++++++++++++++++-----------------------
 2 files changed, 26 insertions(+), 27 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 79bfd44..ead67eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python-ufo2ft
-   pkgdesc = A bridge from UFOs to FontTools objects.
+   pkgdesc = A bridge from UFOs to FontTools objects
    pkgver = 2.13.0
-   pkgrel = 1
+   pkgrel = 2
    url =
    arch = any
    license = MIT
@@ -14,9 +14,8 @@ pkgbase = python-ufo2ft
    depends = python-cu2qu
    depends = python-defcon
    depends = python-fonttools
-   source =
+   source =
    sha256sums = 834cb190dfb3b0ef156ca040f3aca24b7ceba0fa73b581bb39b31891ebadfdae
-   sha256sums = 76458f692a5287139a4da870adb55c168e30c9a60a366628e7cf90af9436474a

 pkgname = python-ufo2ft

diff --git a/PKGBUILD b/PKGBUILD
index f5d5da9..6e7c5de 100644
@@ -1,32 +1,32 @@
 # Maintainer: Guillaume Horel <>
+# Contributor: Caleb Maclennan <>

-pkgdesc="A bridge from UFOs to FontTools objects."
-checkdepends=('python-pytest' 'python-skia-pathops')
+pkgdesc='A bridge from UFOs to FontTools objects'
 depends=('python' 'python-booleanoperations' 'python-compreffor' 'python-cu2qu' 'python-defcon' 'python-fonttools')
-            '76458f692a5287139a4da870adb55c168e30c9a60a366628e7cf90af9436474a')
+checkdepends=('python-pytest' 'python-skia-pathops')

-prepare() {
-    cd "${srcdir}/${_pkgname}-${pkgver}"
+build() {
+    cd "$_pkgname-$pkgver"
+    python build

-package() {
-    cd "${srcdir}/${_pkgname}-${pkgver}"
-    python install --root="${pkgdir}" --optimize=1
-    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+check() {
+    cd "$_pkgname-$pkgver"
+    # python test

-#check() {
-    #cd "$srcdir/$_pkgname-$pkgver"
-    #python test
+package() {
+    cd "$_pkgname-$pkgver"
+    python install --root="$pkgdir" --optimize=1 --skip-build
+    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

reMiND commented on 2019-11-03 10:29

Broken build in my case. Look at Some info about packages