Package Details: protontricks 1.13.0-2

Git Clone URL: https://aur.archlinux.org/protontricks.git (read-only, click to copy)
Package Base: protontricks
Description: A simple wrapper that does winetricks things for Proton enabled games.
Upstream URL: https://github.com/Matoking/protontricks
Licenses: GPL-3.0-or-later
Conflicts: protontricks-git
Provides: protontricks
Submitter: jcstryker
Maintainer: jcstryker (LibertyGM)
Last Packager: LibertyGM
Votes: 195
Popularity: 5.46
First Submitted: 2019-02-04 14:36 (UTC)
Last Updated: 2025-08-20 01:27 (UTC)

Dependencies (12)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

LibertyGM commented on 2025-08-20 01:28 (UTC)

gwuensch, Thanks, it's fixed.

gwuensch commented on 2025-08-20 01:03 (UTC) (edited on 2025-08-20 01:40 (UTC) by gwuensch)

At the moment, stale wheels will lead to errors when packaging. Could you update the source dir to be unique for each version? For example, "${pkgname}-${pkgver}::git+...

Or, alternatively, include a git clean -fdx in prepare(). But I think a directory for each version is nicer as this is not a VCS package.

Edit: Specifically, python -m installer only expects one file, while dist/*.whl will also pick up outdated wheels from previous builds. There might be other issues not so apparent. The wiki generally advises to remove "stale wheels along with other build artifacts".

LibertyGM commented on 2025-02-16 23:33 (UTC)

DerGeneralFluff, The program is built without errors in a clean chroot, which means that the problem needs to be looked for in your system. I also build through paru and everything works.

DerGeneralFluff commented on 2025-02-16 23:31 (UTC)

LibertyGM, yup needed to delete my .cache/paru/clone/protontricks
Uninstalling and reinstalling did not work. Frustrating and embarrassing that I face planted with this.

LibertyGM commented on 2025-02-16 16:11 (UTC)

DerGeneralFluff, I just reassembled the package and everything is working. Update the system.

DerGeneralFluff commented on 2025-02-16 16:03 (UTC)

Builds fine, but fails on run with:

Traceback (most recent call last):
  File "/usr/bin/protontricks", line 5, in <module>
    from protontricks.cli.main import cli
ModuleNotFoundError: No module named 'protontricks'

-git version works fine.

Ginko commented on 2024-09-18 17:51 (UTC) (edited on 2024-09-18 17:53 (UTC) by Ginko)

At the previous 2 comments, try deleting the src folder that's next to the PKGBUILD file.
It's a remnant of a previous package build and its content is causing this problem.

To prevent this, maybe this line in the PKGBUILD

python -m installer --destdir="$pkgdir" dist/*.whl

could be changed to something like

python -m installer --destdir="$pkgdir" dist/protontricks-${pkgver}-py3-none-any.whl

?

PickMeMeNow commented on 2024-09-17 23:58 (UTC) (edited on 2024-09-17 23:59 (UTC) by PickMeMeNow)

Error building python -m installer: error: unrecognized arguments: dist/protontricks-1.12.0-py3-none-any.whl

hashworks commented on 2024-09-17 13:15 (UTC)

Successfully built protontricks-1.12.0-py3-none-any.whl
==> Entering fakeroot environment...
==> Starting package()...
usage: python -m installer [-h] [--destdir path] [--prefix path] [--compile-bytecode level] [--no-compile-bytecode] wheel
python -m installer: error: unrecognized arguments: dist/protontricks-1.12.0-py3-none-any.whl
==> ERROR: A failure occurred in package().
    Aborting...