Skip to content

Commit

Permalink
fixup! trezor-agent: bump python resources
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Sep 10, 2024
1 parent 80a44d0 commit 8839968
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Formula/t/trezor-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,17 @@ class TrezorAgent < Formula
end

def install

Check failure on line 278 in Formula/t/trezor-agent.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew install --verbose --formula --build-bottle trezor-agent` failed on Linux!

copying build/lib.linux-x86_64-cpython-312/nacl/bindings/__init__.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/sodium_core.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/crypto_pwhash.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/crypto_box.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/utils.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/crypto_shorthash.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/crypto_secretbox.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/bindings/crypto_secretstream.py -> build/bdist.linux-x86_64/wheel/./nacl/bindings copying build/lib.linux-x86_64-cpython-312/nacl/_sodium.abi3.so -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/hash.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/__init__.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/hashlib.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/utils.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/py.typed -> build/bdist.linux-x86_64/wheel/./nacl creating build/bdist.linux-x86_64/wheel/nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/pwhash/argon2id.py -> build/bdist.linux-x86_64/wheel/./nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/pwhash/scrypt.py -> build/bdist.linux-x86_64/wheel/./nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/pwhash/__init__.py -> build/bdist.linux-x86_64/wheel/./nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/pwhash/argon2i.py -> build/bdist.linux-x86_64/wheel/./nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/pwhash/_argon2.py -> build/bdist.linux-x86_64/wheel/./nacl/pwhash copying build/lib.linux-x86_64-cpython-312/nacl/encoding.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/secret.py -> build/bdist.linux-x86_64/wheel/./nacl copying build/lib.linux-x86_64-cpython-312/nacl/exceptions.py -> build/bdist.linux-x86_64/wheel/./nacl warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info running egg_info writing src/PyNaCl.egg-info/PKG-INFO writing dependency_links to src/PyNaCl.egg-info/dependency_links.txt writing requirements to src/PyNaCl.egg-info/requires.txt writing top-level names to src/PyNaCl.egg-info/top_level.txt reading manifest file 'src/PyNaCl.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '__pycache__/*' found anywhere in distribution warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '*' found under directory '.circleci' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'src/libsodium*.zip' adding license file 'LICENSE' writing manifest file 'src/PyNaCl.egg-info/SOURCES.txt' Copying src/PyNaCl.egg-info to build/bdist.linux-x86_64/wheel/./PyNaCl-1.5.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/PyNaCl-1.5.0.dist-info/WHEEL creating '/tmp/pip-wheel-dhi6m27v/.tmp-_7e5fe4a/PyNaCl-1.5.0-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86
ENV.append "CFLAGS", "-I#{Formula["libusb"].include}/libusb-1.0"
venv = virtualenv_create(libexec, "python3.12")
# Help gcc to find libusb headers on Linux.
ENV.append "CFLAGS", "-I#{Formula["libusb"].opt_include}/libusb-1.0" unless OS.mac?

venv = virtualenv_install_with_resources without: "python-daemon"
# Workaround breaking change in `setuptools`: https://pagure.io/python-daemon/issue/94
resource("python-daemon").stage do
inreplace "version.py", "import setuptools.extern.packaging.version", ""
inreplace "version.py", "self.validate_version(version)", ""
venv.pip_install Pathname.pwd
end

venv.pip_install resources.reject { |r| OS.mac? ? r.name == "dbus-fast" : r.name.start_with?("pyobjc") }
venv.pip_install_and_link buildpath
end
Expand Down

0 comments on commit 8839968

Please sign in to comment.