George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-unidecode
Commits:
e907dc1a by George Rawlinson at 2025-12-31T21:22:41+00:00
reuse: simplify conf
- - - - -
917c986c by George Rawlinson at 2025-12-31T21:22:58+00:00
nvchecker: add exclusions (a/b/etc)
- - - - -
ac64eb7e by George Rawlinson at 2025-12-31T21:26:19+00:00
upgpkg: 1.4.0-3
* Python 3.14 rebuild.
* Update license to use SPDX expressions.
* Switch to PEP-517 compatible system.
- - - - -
4 changed files:
- .SRCINFO
- .nvchecker.toml
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,18 @@
pkgbase = python-unidecode
pkgdesc = ASCII transliterations of Unicode text
pkgver = 1.4.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/avian2/unidecode
arch = any
- license = GPL
+ license = GPL-2.0-or-later
makedepends = git
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = python
- source =
git+https://github.com/avian2/unidecode.git#tag=8d83b7c70c39678c2b95cb0caf3d3c4425cb2cc2
- sha256sums =
a33c1751226d4cca24d0b3cf457a31932ee496f161713d654cfc07c10ef13c28
+ source =
python-unidecode::git+https://github.com/avian2/unidecode#tag=unidecode-1.4.0
+ sha512sums =
a1b3814130464b2bad1875d1c3baa5dfb1fb8424bec395a1a71d9d84bf57d41f8e4be4f25f934da224c0e07e6b9090a02323d7bb52ba700d606eafdd4e7319a2
+ b2sums =
cf765b22ddfd12e4ece7c10598aa123b20330519d800dcf37fdabe5a191042bffeaf89124ae9ab0335f37d0166c080c612362864a23b9fad39b99523a42b0082
pkgname = python-unidecode
=====================================
.nvchecker.toml
=====================================
@@ -1,3 +1,5 @@
[python-unidecode]
-source = "pypi"
-pypi = "unidecode"
+source = "git"
+git = "https://github.com/avian2/unidecode.git"
+prefix = "unidecode-"
+exclude_regex = "0.4.8"
=====================================
PKGBUILD
=====================================
@@ -1,38 +1,35 @@
# Maintainer: Maxime Gauduin <[email protected]>
+# Maintainer: George Rawlinson <[email protected]>
# Contributor: Kwpolska <[email protected]>
pkgname=python-unidecode
pkgver=1.4.0
-pkgrel=2
+pkgrel=3
pkgdesc='ASCII transliterations of Unicode text'
arch=(any)
-url=https://github.com/avian2/unidecode
-license=(GPL)
+url='https://github.com/avian2/unidecode'
+license=(GPL-2.0-or-later)
depends=(python)
makedepends=(
git
+ python-build
+ python-installer
python-setuptools
+ python-wheel
)
-_tag=8d83b7c70c39678c2b95cb0caf3d3c4425cb2cc2
-source=(git+https://github.com/avian2/unidecode.git#tag=${_tag})
-sha256sums=('a33c1751226d4cca24d0b3cf457a31932ee496f161713d654cfc07c10ef13c28')
-
-pkgver() {
- cd unidecode
-
- git describe --tags | sed 's/^unidecode-//'
-}
+source=("$pkgname::git+$url#tag=unidecode-$pkgver")
+sha512sums=('a1b3814130464b2bad1875d1c3baa5dfb1fb8424bec395a1a71d9d84bf57d41f8e4be4f25f934da224c0e07e6b9090a02323d7bb52ba700d606eafdd4e7319a2')
+b2sums=('cf765b22ddfd12e4ece7c10598aa123b20330519d800dcf37fdabe5a191042bffeaf89124ae9ab0335f37d0166c080c612362864a23b9fad39b99523a42b0082')
build() {
- cd unidecode
+ cd "$pkgname"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
- cd unidecode
+ cd "$pkgname"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
-
# vim: ts=2 sw=2 et:
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-unidecode/-/compare/f67175a3106c1d085c98917cf25e0d5ecd4183bc...ac64eb7e50f51c60f1bf097323f08817f98350aa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-unidecode/-/compare/f67175a3106c1d085c98917cf25e0d5ecd4183bc...ac64eb7e50f51c60f1bf097323f08817f98350aa
You're receiving this email because of your account on gitlab.archlinux.org.