Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-idna
Commits:
1504fdae by Felix Yan at 2024-09-01T21:34:20+03:00
upgpkg: 3.8-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-idna
pkgdesc = Internationalized Domain Names in Applications (IDNA)
- pkgver = 3.7
+ pkgver = 3.8
pkgrel = 1
url = https://github.com/kjd/idna
arch = any
license = BSD
checkdepends = python-pytest
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-flit-core
depends = python
- source = https://github.com/kjd/idna/archive/v3.7/python-idna-3.7.tar.gz
- sha512sums =
f753f37ae58fdb7b776c37757f7827c874eb13535db6427bc2a724e7ff1e28c2e3eb287a13eb97c37ee588d2c5217fe592f64ec305b122726ef5576c5317a34b
+ source = git+https://github.com/kjd/idna.git#tag=v3.8
+ sha512sums =
9777b412697e2bba3027a5a6eda8e3c3527e446d391323e0cd583598652fc70d1c0d10aad105dab30ce03ad3639f3829c9bfad42997445625ba39ed069a78da2
pkgname = python-idna
=====================================
PKGBUILD
=====================================
@@ -1,30 +1,30 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-idna
-pkgver=3.7
+pkgver=3.8
pkgrel=1
pkgdesc="Internationalized Domain Names in Applications (IDNA)"
arch=('any')
license=('BSD')
url="https://github.com/kjd/idna"
depends=('python')
-makedepends=('python-build' 'python-installer' 'python-flit-core')
+makedepends=('git' 'python-build' 'python-installer' 'python-flit-core')
checkdepends=('python-pytest')
-source=("https://github.com/kjd/idna/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('f753f37ae58fdb7b776c37757f7827c874eb13535db6427bc2a724e7ff1e28c2e3eb287a13eb97c37ee588d2c5217fe592f64ec305b122726ef5576c5317a34b')
+source=("git+https://github.com/kjd/idna.git#tag=v$pkgver")
+sha512sums=('9777b412697e2bba3027a5a6eda8e3c3527e446d391323e0cd583598652fc70d1c0d10aad105dab30ce03ad3639f3829c9bfad42997445625ba39ed069a78da2')
build() {
- cd idna-$pkgver
+ cd idna
python -m build --no-isolation --wheel
}
check() {
- cd idna-$pkgver
+ cd idna
pytest
}
package() {
- cd idna-$pkgver
+ cd idna
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-idna/-/commit/1504fdae74a6a12f56b088f2af48ef813b49c136
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-idna/-/commit/1504fdae74a6a12f56b088f2af48ef813b49c136
You're receiving this email because of your account on gitlab.archlinux.org.