kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / python-mitmproxy-rs
Commits: 2dd2897d by kpcyrd at 2024-05-17T16:03:38+02:00 upgpkg: 0.5.2-1 - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,17 +1,19 @@ pkgbase = python-mitmproxy-rs pkgdesc = Python bindings for mitmproxy's Rust code - pkgver = 0.5.1 - pkgrel = 2 + pkgver = 0.5.2 + pkgrel = 1 url = https://github.com/mitmproxy/mitmproxy_rs arch = x86_64 license = MIT + makedepends = cargo makedepends = maturin makedepends = python-installer - makedepends = cargo + depends = gcc-libs + depends = glibc depends = python options = !lto - source = https://github.com/mitmproxy/mitmproxy_rs/archive/0.5.1/python-mitmproxy-rs-0.5.1.tar.gz - sha256sums = 06ef6871e24602f683f6dfa5facf88666427eef8993c8a602aa23659b0299749 - b2sums = 2e47fe123d00a66baababe31e103db8cfeacb12d5bf037d18aa87471b9df3ae7debef07042087ec9f2505f3340df878d7c8ecce8e5b2c040f4c506309927a65a + source = https://github.com/mitmproxy/mitmproxy_rs/archive/0.5.2/python-mitmproxy-rs-0.5.2.tar.gz + sha256sums = 58efda8478d227cc57351e9ab241442c9a8a4d103a17107b01d9add1e786c07a + b2sums = 3c81352870d3dba181bc4bddfa038ecc3c50d6de13aacdc17736b846bb06e35fc8271a25511465ce2adc135de15659a4b6e0780be74f2efae64bffb705a55d06 pkgname = python-mitmproxy-rs ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,3 @@ +[python-mitmproxy-rs] +source = "git" +git = "https://github.com/mitmproxy/mitmproxy_rs.git" ===================================== PKGBUILD ===================================== @@ -2,18 +2,26 @@ pkgname=python-mitmproxy-rs _pyname=mitmproxy_rs -pkgver=0.5.1 -pkgrel=2 +pkgver=0.5.2 +pkgrel=1 pkgdesc="Python bindings for mitmproxy's Rust code" arch=('x86_64') url='https://github.com/mitmproxy/mitmproxy_rs' license=('MIT') -depends=('python') -makedepends=('maturin' 'python-installer' 'cargo') +depends=( + 'gcc-libs' + 'glibc' + 'python' +) +makedepends=( + 'cargo' + 'maturin' + 'python-installer' +) options=(!lto) -source=("https://github.com/mitmproxy/mitmproxy_rs/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('06ef6871e24602f683f6dfa5facf88666427eef8993c8a602aa23659b0299749') -b2sums=('2e47fe123d00a66baababe31e103db8cfeacb12d5bf037d18aa87471b9df3ae7debef07042087ec9f2505f3340df878d7c8ecce8e5b2c040f4c506309927a65a') +source=("https://github.com/mitmproxy/mitmproxy_rs/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('58efda8478d227cc57351e9ab241442c9a8a4d103a17107b01d9add1e786c07a') +b2sums=('3c81352870d3dba181bc4bddfa038ecc3c50d6de13aacdc17736b846bb06e35fc8271a25511465ce2adc135de15659a4b6e0780be74f2efae64bffb705a55d06') build() { cd ${_pyname}-${pkgver}/mitmproxy-rs @@ -25,13 +33,13 @@ check() { cd ${_pyname}-${pkgver} python -m installer --destdir=test_dir target/wheels/*.whl - export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH" + export PYTHONPATH="test_dir/${_site_packages}:${PYTHONPATH}" python -c 'import mitmproxy_rs' } package() { cd ${_pyname}-${pkgver} - python -m installer --destdir="$pkgdir" target/wheels/*.whl + python -m installer --destdir="${pkgdir}" target/wheels/*.whl install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-mitmproxy-rs/-/commit/2dd2897d440d60b714206b6fe8a5195b813df286 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-mitmproxy-rs/-/commit/2dd2897d440d60b714206b6fe8a5195b813df286 You're receiving this email because of your account on gitlab.archlinux.org.