Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
libseccomp


Commits:
38a23990 by Levente Polyak at 2026-01-01T21:25:36+01:00
PEP 517 building

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -10,7 +10,10 @@ pkgbase = libseccomp
        makedepends = git
        makedepends = glibc
        makedepends = gperf
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        source = git+https://github.com/seccomp/libseccomp.git#tag=v2.5.6?signed
        validpgpkeys = 7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A
        validpgpkeys = 47A68FCE37C7D7024FD65E11356CE62C2B524099


=====================================
PKGBUILD
=====================================
@@ -19,7 +19,10 @@ makedepends=(
   git
   glibc
   gperf
+  python-build
+  python-installer
   python-setuptools
+  python-wheel
 )
 source=(git+https://github.com/seccomp/libseccomp.git#tag=v${pkgver}?signed)
 sha256sums=('51b6119c2af35ac40eef2421459b308ec4bf9e4b00d68740a4ede56bd323cf7d')
@@ -42,7 +45,7 @@ build() {
   ./configure --prefix=/usr
   make
   cd src/python
-  env VERSION_RELEASE=${pkgver} python setup.py build
+  env VERSION_RELEASE=${pkgver} python -m build --wheel --no-isolation
 }
 
 check() {
@@ -61,7 +64,7 @@ package_libseccomp() {
 package_python-libseccomp() {
   depends=(python glibc)
   cd ${pkgbase}/src/python
-  env VERSION_RELEASE=${pkgver} python setup.py install --root="${pkgdir}" 
--prefix=/usr -O1 --skip-build
+  env VERSION_RELEASE=${pkgver} python -m installer --destdir="$pkgdir" 
dist/*.whl
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libseccomp/-/commit/38a239901d8818dad24f40ee136d50f937dd3a29

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libseccomp/-/commit/38a239901d8818dad24f40ee136d50f937dd3a29
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to