Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages /
distorm
Commits:
77839ac5 by Levente Polyak at 2026-02-07T18:29:10+01:00
nvchecker: fixup semver tags fuckup from upstream
- - - - -
03a37ca3 by Levente Polyak at 2026-02-07T18:36:53+01:00
upgpkg: 3.5.2.b-6: rebuild with PEP517 and SPDX license
- - - - -
3 changed files:
- .SRCINFO
- .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
pkgbase = distorm
pkgdesc = Powerful disassembler library for x86/AMD64
pkgver = 3.5.2.b
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/gdabah/distorm
arch = x86_64
license = BSD-3-Clause
+ makedepends = glibc
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
sha512sums =
8aad0c51e8d9dfaeaa069a3d4fade4bdf87cce464c85898b6b4888fa51a9bb6ec1221faf32acf59ebd047cceb9a535b2ff93d196fd14fa834d8ece5685417a55
@@ -21,4 +21,5 @@ pkgname = distorm
provides = libdistorm3.so
pkgname = python-distorm
+ depends = glibc
depends = python
=====================================
.nvchecker.toml
=====================================
@@ -2,3 +2,7 @@
source = "git"
git = "https://github.com/gdabah/distorm.git"
prefix = "v"
+# fixup semver tags fuckup
+from_pattern = "(.*[0-9])([^0-9]+)$"
+to_pattern = "\\1.\\2"
+ignored = "3.5.2"
=====================================
PKGBUILD
=====================================
@@ -3,15 +3,25 @@
# Contributor: Dmitry A. Ilyashevich <[email protected]>
pkgbase=distorm
-pkgname=('distorm' 'python-distorm')
+pkgname=(
+ distorm
+ python-distorm
+)
pkgver=3.5.2.b
_pkgver=${pkgver/.b/b} # Y U NO semver
-pkgrel=5
+pkgrel=6
pkgdesc='Powerful disassembler library for x86/AMD64'
url='https://github.com/gdabah/distorm'
-arch=('x86_64')
-license=('BSD-3-Clause')
-makedepends=('python' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel' 'glibc')
+arch=(x86_64)
+license=(BSD-3-Clause)
+makedepends=(
+ glibc
+ python
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
options=('staticlibs')
source=(https://github.com/gdabah/distorm/archive/${_pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('8aad0c51e8d9dfaeaa069a3d4fade4bdf87cce464c85898b6b4888fa51a9bb6ec1221faf32acf59ebd047cceb9a535b2ff93d196fd14fa834d8ece5685417a55')
@@ -24,8 +34,8 @@ build() {
}
package_distorm() {
- depends=('glibc')
- provides=('libdistorm3.so')
+ depends=(glibc)
+ provides=(libdistorm3.so)
cd ${pkgbase}-${_pkgver}
make -C make/linux PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm 644 include/*.h -t "${pkgdir}/usr/include"
@@ -34,7 +44,10 @@ package_distorm() {
}
package_python-distorm() {
- depends=('python')
+ depends=(
+ glibc
+ python
+ )
cd ${pkgbase}-${_pkgver}
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/00675515b1a5d1a775d855bee6b100f453d1dade...03a37ca39530a5f482f6316b394a2afe425ad952
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/distorm/-/compare/00675515b1a5d1a775d855bee6b100f453d1dade...03a37ca39530a5f482f6316b394a2afe425ad952
You're receiving this email because of your account on gitlab.archlinux.org.