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


Commits:
f5d510c4 by loqs at 2026-01-27T19:24:27+00:00
SPDX license identifier

https://github.com/miniupnp/miniupnp/blob/miniupnpc_2_3_3/LICENSE

- - - - -
6a574143 by loqs at 2026-01-27T19:27: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,12 +4,15 @@ pkgbase = miniupnpc
        pkgrel = 2
        url = https://miniupnp.tuxfamily.org/
        arch = x86_64
-       license = BSD
+       license = BSD-3-Clause
        makedepends = sh
        makedepends = glibc
        makedepends = lsb-release
        makedepends = python
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        source = http://miniupnp.free.fr/files/miniupnpc-2.3.3.tar.gz
        source = http://miniupnp.free.fr/files/miniupnpc-2.3.3.tar.gz.sig
        validpgpkeys = 751E9FF6944A3B36A5432216DB511043A31ACAAF


=====================================
PKGBUILD
=====================================
@@ -9,8 +9,8 @@ pkgrel=2
 pkgdesc='Small UPnP client library/tool to access Internet Gateway Devices'
 url='https://miniupnp.tuxfamily.org/'
 arch=('x86_64')
-license=('BSD')
-makedepends=('sh' 'glibc' 'lsb-release' 'python' 'python-setuptools')
+license=('BSD-3-Clause')
+makedepends=('sh' 'glibc' 'lsb-release' 'python' 'python-build' 
'python-installer' 'python-setuptools' 'python-wheel')
 source=(http://miniupnp.free.fr/files/miniupnpc-${pkgver}.tar.gz{,.sig})
 
sha512sums=('a4ac76ae4dac73773b68f4af81f8f8502d168122e16313c986b7fa7cdea02ded0e722a6dd6c8dc8633f167e04b8df1ed6f7202db0d76438c4010780c48e5594c'
             'SKIP')
@@ -23,7 +23,7 @@ validpgpkeys=(
 build() {
   cd ${pkgname}-${pkgver}
   make
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -46,7 +46,7 @@ package_python-miniupnpc() {
   depends=(python glibc)
 
   cd ${pkgbase}-${pkgver}
-  python setup.py install --optimize=1 --skip-build --root="$pkgdir"
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/miniupnpc/-/compare/c971a0ae6a87554220ff509dedab3a1cbe3bcc3b...6a574143023e22983dbad78a75299448d1212f29

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/miniupnpc/-/compare/c971a0ae6a87554220ff509dedab3a1cbe3bcc3b...6a574143023e22983dbad78a75299448d1212f29
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to