diff --git a/mitmproxy.yaml b/mitmproxy.yaml new file mode 100644 index 00000000000..0027e29ac59 --- /dev/null +++ b/mitmproxy.yaml @@ -0,0 +1,37 @@ +# Generated from https://git.alpinelinux.org/aports/plain/testing/mitmproxy/APKBUILD +package: + name: mitmproxy + version: 9.0.1 + epoch: 0 + description: Interactive TLS-capable intercepting HTTP proxy + copyright: + - license: MIT + +environment: + contents: + packages: + - wolfi-base + - ca-certificates-bundle + - python3 + - py3-setuptools + - py3.11-installer + - py3-gpep517 + - py3-wheel + +pipeline: + - uses: git-checkout + with: + expected-commit: 5205d25a1665b938d70df6752a27a7137d94d114 + repository: https://github.com/mitmproxy/mitmproxy + tag: ${{package.version}} + + - runs: | + python3 -m gpep517 build-wheel --wheel-dir dist --output-fd 1 + python3 -m installer -d "${{targets.destdir}}" dist/mitmproxy-*.whl + find ${{targets.destdir}} -name "*.pyc" -exec rm -rf '{}' + + + - uses: strip + +update: + github: + identifier: mitmproxy/mitmproxy