Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages /
python-pyvex
Commits:
513e88a0 by Rocket Ma at 2026-02-07T22:31:38+01:00
Bump version and fix some dependencies
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,23 +1,24 @@
pkgbase = python-pyvex
pkgdesc = Python bindings for Valgrind's VEX IR
- pkgver = 9.2.160
- pkgrel = 2
+ pkgver = 9.2.193
+ pkgrel = 1
url = https://github.com/angr/pyvex
arch = x86_64
- license = BSD
+ license = BSD-2-Clause AND GPL-2.0-only
checkdepends = python-pytest
+ checkdepends = python-pytest-xdist
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
+ makedepends = python-scikit-build-core
depends = python
- depends = python-archinfo
+ depends = glibc
depends = python-bitstring
depends = python-cffi
- depends = python-setuptools
- source = git+https://github.com/angr/pyvex.git#commit=v9.2.160
+ source = git+https://github.com/angr/pyvex.git#commit=v9.2.193
source = git+https://github.com/angr/vex.git
- sha512sums =
785021aa203a0226ea579dfd96d71f98534c57bd7425b45b45307e6ed9fa029874ad826740575b9587694358821a2b17d6b0cd9e48c1735a4e12bd27efd37f1f
+ sha512sums =
6f81d4b4c8e97df6efb9fa20de05fa60b23f70901620831ca65aeb902ee4e30f375b06c76a6c9ed63c52aaee90ce01d5b7d7382d96139dab8b0611435f48eaca
sha512sums = SKIP
pkgname = python-pyvex
=====================================
PKGBUILD
=====================================
@@ -1,19 +1,20 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: RocketDev <[email protected]>
_pyname=pyvex
pkgname=python-${_pyname}
-pkgver=9.2.160
-pkgrel=2
+pkgver=9.2.193
+pkgrel=1
pkgdesc="Python bindings for Valgrind's VEX IR"
url='https://github.com/angr/pyvex'
-license=('BSD')
+license=('BSD-2-Clause AND GPL-2.0-only')
arch=('x86_64')
-depends=('python' 'python-archinfo' 'python-bitstring' 'python-cffi'
'python-setuptools')
-makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-pytest')
+depends=('python' 'glibc' 'python-bitstring' 'python-cffi')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel'
'python-scikit-build-core')
+checkdepends=('python-pytest' 'python-pytest-xdist')
source=("git+${url}.git#commit=v${pkgver}"
git+https://github.com/angr/vex.git)
-sha512sums=('785021aa203a0226ea579dfd96d71f98534c57bd7425b45b45307e6ed9fa029874ad826740575b9587694358821a2b17d6b0cd9e48c1735a4e12bd27efd37f1f'
+sha512sums=('6f81d4b4c8e97df6efb9fa20de05fa60b23f70901620831ca65aeb902ee4e30f375b06c76a6c9ed63c52aaee90ce01d5b7d7382d96139dab8b0611435f48eaca'
'SKIP')
prepare() {
@@ -22,21 +23,19 @@ prepare() {
git config submodule."vex".url "${srcdir}/vex"
git -c protocol.file.allow=always submodule update --recursive
- sed 's/FLAGS=/FLAGS+=/g' -i pyvex_c/Makefile
sed 's/-shared/$(LDFLAGS) -shared/' -i "${srcdir}"/vex/Makefile-gcc
}
build() {
cd ${_pyname}
export EXTRA_CFLAGS="${CFLAGS} ${CPPFLAGS}"
- python -m build --wheel --no-isolation
+ python -m build --wheel --no-isolation -C install.strip=false -C
cmake.build-type=None
}
check() {
cd ${_pyname}
- # TODO: enable all tests once angr is packaged
- rm tests/test_spotter.py
- PYTHONPATH=build/lib pytest
+ python -m venv --system-site-packages .venv
+ .venv/bin/python -m pytest tests
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyvex/-/commit/513e88a0229743024904aba9cf0b5a4f3ac43d1b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyvex/-/commit/513e88a0229743024904aba9cf0b5a4f3ac43d1b
You're receiving this email because of your account on gitlab.archlinux.org.