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