Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / distorm
Commits: 112550bf by loqs at 2026-01-26T21:52:57+00:00 SPDX license identifier https://github.com/gdabah/distorm/blob/v3.5/COPYING - - - - - 00675515 by loqs at 2026-01-26T21:59:54+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,9 +4,12 @@ pkgbase = distorm pkgrel = 5 url = https://github.com/gdabah/distorm arch = x86_64 - license = BSD + license = BSD-3-Clause makedepends = python + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel makedepends = glibc options = staticlibs source = https://github.com/gdabah/distorm/archive/3.5.2b/distorm-3.5.2.b.tar.gz ===================================== PKGBUILD ===================================== @@ -10,8 +10,8 @@ pkgrel=5 pkgdesc='Powerful disassembler library for x86/AMD64' url='https://github.com/gdabah/distorm' arch=('x86_64') -license=('BSD') -makedepends=('python' 'python-setuptools' 'glibc') +license=('BSD-3-Clause') +makedepends=('python' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'glibc') options=('staticlibs') source=(https://github.com/gdabah/distorm/archive/${_pkgver}/${pkgname}-${pkgver}.tar.gz) sha512sums=('8aad0c51e8d9dfaeaa069a3d4fade4bdf87cce464c85898b6b4888fa51a9bb6ec1221faf32acf59ebd047cceb9a535b2ff93d196fd14fa834d8ece5685417a55') @@ -20,7 +20,7 @@ b2sums=('775d50dbec3858ca4e3ea68fef24be41fcf1b7afd61a6b92e300790895eef7a27ab6b81 build() { cd ${pkgbase}-${_pkgver} make -C make/linux CFLAGS="${CFLAGS} ${CPPFLAGS} -fPIC" - python setup.py build + python -m build --wheel --no-isolation } package_distorm() { @@ -36,7 +36,7 @@ package_distorm() { package_python-distorm() { depends=('python') cd ${pkgbase}-${_pkgver} - python setup.py install --root="${pkgdir}" -O1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/distorm/-/compare/1a991460b186377346e6ebcba19f4c4cf2ca0a37...00675515b1a5d1a775d855bee6b100f453d1dade -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/distorm/-/compare/1a991460b186377346e6ebcba19f4c4cf2ca0a37...00675515b1a5d1a775d855bee6b100f453d1dade You're receiving this email because of your account on gitlab.archlinux.org.
