python-idna 3.10-1

This commit is contained in:
xhaa123 2024-11-04 14:49:11 +08:00
parent 6677001a54
commit ffd92f9ec6

View File

@ -5,7 +5,7 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-idna
pkgver=3.6
pkgver=3.10
pkgrel=1
pkgdesc="Internationalized Domain Names in Applications (IDNA)"
arch=('x86_64')
@ -14,16 +14,16 @@ license=('BSD')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-flit-core')
source=(https://files.pythonhosted.org/packages/source/i/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
sha256sums=(9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca)
sha256sums=(12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9)
build() {
cd ${pkgname#*-}-${pkgver}
cd ${pkgname#*-}-${pkgver}
python3 -m build --wheel --no-isolation
python3 -m build --wheel --no-isolation
}
package() {
cd ${pkgname#*-}-${pkgver}
cd ${pkgname#*-}-${pkgver}
python3 -m installer --destdir=${pkgdir} dist/*.whl
python3 -m installer --destdir=${pkgdir} dist/*.whl
}