Package Details: protontricks 1.12.0-1

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: 162
Popularity: 7.51
First Submitted: 2019-02-04 14:36 (UTC)
Last Updated: 2024-09-17 01:03 (UTC)

Latest Comments

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

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...

LibertyGM commented on 2024-09-05 21:59 (UTC)

Done

micwoj92 commented on 2024-09-05 21:40 (UTC)

This doesn't make sense, because you are using system dependencies anyway. See python package guidelines for more info: https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)

LibertyGM commented on 2024-09-05 21:25 (UTC) (edited on 2024-09-05 21:29 (UTC) by LibertyGM)

What for? Everything is done according to the instructions!

When making build requirements available, pip does so in an isolated environment. That is, pip does not install those requirements into the user’s site-packages, but rather installs them in a temporary directory which it adds to the user’s sys.path for the duration of the build.

micwoj92 commented on 2024-09-05 21:07 (UTC)

Please disable isolation in build

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ sha512sums=('SKIP')
 build() {
   cd "${srcdir}/${pkgname}"

-  python -m build --wheel
+  python -m build --wheel --no-isolation
 }

 package() {

seanfire99 commented on 2024-08-19 09:42 (UTC) (edited on 2024-08-20 10:26 (UTC) by seanfire99)

how do i fix this? protontricks 1458140 vcrun2022 Traceback (most recent call last): File "/usr/bin/protontricks", line 8, in <module> sys.exit(cli()) ^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/cli/main.py", line 32, in cli main(args) File "/usr/lib/python3.12/site-packages/protontricks/cli/util.py", line 159, in wrapper return cli_func(self, args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/cli/main.py", line 339, in main proton_app = find_proton_app( ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 848, in find_proton_app tool_app = find_steam_compat_tool_app( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 609, in find_steam_compat_tool_app appinfo_sections = [ ^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 531, in iter_appinfo_sections raise SyntaxError( SyntaxError: Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks - please check for updates.


problem was i am on steam beta and this version of protontricks does not work with steam beta for more information go to protontricks github page they have a detailed guide on hwo to fix it.