Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
python-multidict


Commits:
95a556df by Daniel M. Capella at 2024-03-02T19:55:57-05:00
Use SPDX license identifier

- - - - -
2ae37025 by Daniel M. Capella at 2024-03-02T19:56:42-05:00
Use PEP 517

Remove seemingly superfluous git makedep.

- - - - -
f3c672c5 by Daniel M. Capella at 2024-03-02T19:57:19-05:00
Remove pytest-runner

- - - - -
362a8314 by Daniel M. Capella at 2024-03-02T19:57:31-05:00
Add SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,24 @@
+pkgbase = python-multidict
+       pkgdesc = Asyncio-based multidict implementation for Python
+       pkgver = 6.0.4
+       pkgrel = 2
+       url = https://github.com/aio-libs/multidict
+       arch = x86_64
+       license = Apache-2.0
+       checkdepends = python-pytest
+       checkdepends = python-pytest-cov
+       checkdepends = python-pytest
+       checkdepends = python-psutil
+       checkdepends = python-perf
+       makedepends = cython
+       makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       depends = python
+       depends = glibc
+       source = 
https://github.com/aio-libs/multidict/archive/v6.0.4/python-multidict-6.0.4.tar.gz
+       sha512sums = 
6f9e6ff16a104d40b0cb59860af9cb1a98e8d3a256626f77600c4895e6ef692b31880273f204e7ecdeb574407dd7c2e4326ad7cd9c08b1095011d6ba3793b86e
+       b2sums = 
2cf25ac2af57289432dfc6617f35a9f1310469b8d7b6a762e63f4f08b3cb8235c7115c4072fc2ffeec417b49af8a97654c7d69e8e20507fd553fab074e42b1cf
+
+pkgname = python-multidict


=====================================
PKGBUILD
=====================================
@@ -8,17 +8,17 @@ pkgrel=2
 pkgdesc='Asyncio-based multidict implementation for Python'
 url='https://github.com/aio-libs/multidict'
 arch=('x86_64')
-license=('APACHE')
+license=('Apache-2.0')
 depends=('python' 'glibc')
-makedepends=('cython' 'python-setuptools' 'git')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 
'python-psutil' 'python-perf')
+makedepends=('cython' 'python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest' 
'python-psutil' 'python-perf')
 
source=(https://github.com/aio-libs/multidict/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 
sha512sums=('6f9e6ff16a104d40b0cb59860af9cb1a98e8d3a256626f77600c4895e6ef692b31880273f204e7ecdeb574407dd7c2e4326ad7cd9c08b1095011d6ba3793b86e')
 
b2sums=('2cf25ac2af57289432dfc6617f35a9f1310469b8d7b6a762e63f4f08b3cb8235c7115c4072fc2ffeec417b49af8a97654c7d69e8e20507fd553fab074e42b1cf')
 
 build() {
   cd ${_pkgname}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -28,7 +28,7 @@ check() {
 
 package() {
   cd ${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-multidict/-/compare/10a047cfcf6d9afbc5b2a277fd86a8dd5255d789...362a831489fa7625fa02d70df432d148369dd6ab

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-multidict/-/compare/10a047cfcf6d9afbc5b2a277fd86a8dd5255d789...362a831489fa7625fa02d70df432d148369dd6ab
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to