Package Details: python-cffsubr 0.3.0-2

Git Clone URL: https://aur.archlinux.org/python-cffsubr.git (read-only, click to copy)
Package Base: python-cffsubr
Description: Standalone CFF subroutinizer based on AFDKO tx
Upstream URL: https://github.com/adobe-type-tools/cffsubr
Licenses: Apache-2.0
Submitter: thrasibule
Maintainer: alerque (thrasibule)
Last Packager: alerque
Votes: 3
Popularity: 0.000002
First Submitted: 2020-06-14 01:38 (UTC)
Last Updated: 2024-04-28 05:47 (UTC)

Pinned Comments

alerque commented on 2021-08-03 10:42 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.

Latest Comments

1 2 Next › Last »

Rnek0 commented on 2021-08-10 20:44 (UTC) (edited on 2021-08-10 20:45 (UTC) by Rnek0)

Same result, I have :

❯ echo $LANG
C

I did as you said ( LANG=c makepkg ) and still the same. Even with makepkg -si for dependencys
I saw that you have tox.ini in the code, maybe see here at the bottom about check() :
https://wiki.archlinux.org/title/Python_package_guidelines

Maybe it's just me, yesterday I created a file "~/.config/locale.conf" to do some lang tests in Go. But it seems to be correct.

I have to leave you, thanks for your work.

alerque commented on 2021-08-10 20:02 (UTC)

@Rnek0 Thanks for the extra details. I just did some extra testing both in chroots and an empty Docker image and I'm almost 100% sure now this is going to turn out to be an upstream bug where the test suite is language dependent. Can you try running LANG=c makepkg from your clone and see if that builds?

Rnek0 commented on 2021-08-10 18:16 (UTC) (edited on 2021-08-10 18:16 (UTC) by Rnek0)

So only with makepkg after the git clone I have

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!!!!
=============================================================== 1 skipped, 1 warning, 7 errors in 0.41s ============
==> ERREUR : Une erreur s’est produite dans check().
Abandon…

Rnek0 commented on 2021-08-10 18:03 (UTC) (edited on 2021-08-10 18:04 (UTC) by Rnek0)

I have this errors if I want install with paru (sorry I am in fr system): paru -S python-cffsubr

======================================================================= short test summary info ================
SKIPPED [1] ../../../../../../../../usr/lib/python3.9/site-packages/_pytest/doctest.py:535: unable to import module local('/home/rnek0/.local/lib/python3.9/site-packages/tests/test_factory.py')
ERROR test_console.py - File "/home/rnek0/.local/lib/python3.9/site-packages/asyncio/base_events.py", line 296
ERROR test_console.py
ERROR test_factory.py
ERROR test_utils.py - File "/home/rnek0/.local/lib/python3.9/site-packages/asyncio/base_events.py", line 296
ERROR test_utils.py
ERROR id3/test_frames.py - File "/home/rnek0/.local/lib/python3.9/site-packages/asyncio/base_events.py", line 296
ERROR id3/test_frames.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!
=============================================================== 1 skipped, 1 warning, 7 errors in 0.41s ========
==> ERREUR : Une erreur s’est produite dans check().
Abandon…
erreur : échec de la compilation de 'python-cffsubr-0.2.8-3':
erreur : la compilation des paquets suivants a échouée : python-cffsubr-0.2.8-3

alerque commented on 2021-08-10 17:42 (UTC)

@Rnek0 I just re-verified that the tests run and pass just fine in a chroot environment with only the specified dependencies available. What specifically did you have trouble with when running the build with checks enabled?

Rnek0 commented on 2021-08-10 17:30 (UTC) (edited on 2021-08-10 17:31 (UTC) by Rnek0)

I think that your tests are not good. So: git clone https://aur.archlinux.org/python-cffsubr.git

paru -S python-setuptools-git-ls-files
paru -S python-setuptools-scm
paru -S python-fonttools
paru -S python-pytest

makepkg --nocheck

sudo pacman -U python-cffsubr-0.2.8-3-x86_64.pkg.tar.zst

It seems to do it, what do you think? Is it a good alternative or am I wrong?

alerque commented on 2021-08-03 10:42 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.

thrasibule commented on 2021-07-19 21:44 (UTC)

Well a gentle reminder on those packages would work a lot better than complaining after a few hours that I haven't done it on this one. If I haven't done it after a year and a half, chances are I've forgotten. I think you're needlessly confrontational here.

alerque commented on 2021-07-19 21:38 (UTC) (edited on 2021-07-19 21:38 (UTC) by alerque)

I don't have to apply your patch within a few hours.

Of course not, I don't expect you too. But I have submitted patches that fix the same issue on other packages that you haven't applied for a year and a half.

Unless there is something demonstrably broken I won't change it.

Many of your packages including this one will not build with makechrootpkg in their current form, that is demonstrably broken. There are obvious fixes that are easy to apply. I don't understand your reluctance to just apply them — or let me apply them.

thrasibule commented on 2021-07-19 21:27 (UTC)

Geez, I don't work for you. I don't have to apply your patch within a few hours. Regarding the second point, I'd rather not rely on dependencies if they're not needed. setuptools-scm does exactly nothing, and pytest-runner is deprecated. Anyway you can do what you want in your own packages. Unless there is something demonstrably broken I won't change it.