Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
python-axolotl-curve25519


Commits:
dcbcdd26 by loqs at 2026-01-29T21:01:31+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
=====================================
@@ -5,7 +5,10 @@ pkgbase = python-axolotl-curve25519
        url = https://github.com/tgalal/python-axolotl-curve25519
        arch = x86_64
        license = GPL-3.0-or-later
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        depends = zlib
        depends = glibc


=====================================
PKGBUILD
=====================================
@@ -13,7 +13,7 @@ url='https://github.com/tgalal/python-axolotl-curve25519'
 arch=('x86_64')
 license=('GPL-3.0-or-later')
 depends=('python' 'zlib' 'glibc')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/tgalal/python-axolotl-curve25519/archive/${_pkgver}.tar.gz
         pymoduledef-gcc-compile-error.patch)
 sha256sums=('cc8de0c140831519e45598b082fdef0e939fd30930be442e38bdec13dc16aab5'
@@ -29,12 +29,12 @@ prepare() {
 build() {
   echo "Building python..."
   cd ${pkgname}-${_pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd ${pkgname}-${_pkgver}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-axolotl-curve25519/-/commit/dcbcdd26abed669f10eeaa4bb4cfa9180cd42905

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-axolotl-curve25519/-/commit/dcbcdd26abed669f10eeaa4bb4cfa9180cd42905
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to