George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-jaconv
Commits:
abe8b9f5 by George Rawlinson at 2025-03-19T20:00:48+13:00
upgpkg: 0.4.0-1
* New upstream release utilizing fixed git commit until upstream adds tag for
0.4.0.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-jaconv
- pkgdesc = Pure-Python Japanese character interconverter for Hiragana,
Katakana, Hankaku, and Zenkaku
- pkgver = 0.3.4
- pkgrel = 3
+ pkgdesc = Japanese character interconverter for Hiragana, Katakana,
Hankaku, and Zenkaku
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://ikegami-yukino.github.io/jaconv/jaconv.html
arch = any
license = MIT
@@ -11,8 +11,10 @@ pkgbase = python-jaconv
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = python
- source = git+https://github.com/ikegami-yukino/jaconv#tag=v0.3.4
- sha256sums =
08e0c00dd152bc3e6e0537cc1ed04b669ce7cdf855bbc83cca556b808f951642
+ source =
python-jaconv::git+https://github.com/ikegami-yukino/jaconv#commit=1d8aca73a72a4615b165602af9890517444e45d9
+ sha512sums =
d32c04fa0e58a09b555dba0c8f2ff6ea6e6028a09a9c3423f3f159f3fd513c10085498fc7972831d829609bfd3bf8404cf1cdd46ec9b3213e4102cb94d8f0bc1
+ b2sums =
bd5aca923db9f49d5ba74ca7da271f1b241b75b5b0ca5650457735df83afa1d8f044a16cfb99c49b19b669ce6bda1fd2ce1e5ce6996b3c9943bd3367e408483b
pkgname = python-jaconv
=====================================
PKGBUILD
=====================================
@@ -1,42 +1,53 @@
-# Maintainer:
+# Maintainer: George Rawlinson <[email protected]>
-_pyname=jaconv
-pkgname=python-$_pyname
-pkgver=0.3.4
-pkgrel=3
-pkgdesc='Pure-Python Japanese character interconverter for Hiragana, Katakana,
Hankaku, and Zenkaku'
+pkgname=python-jaconv
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='Japanese character interconverter for Hiragana, Katakana, Hankaku,
and Zenkaku'
url='https://ikegami-yukino.github.io/jaconv/jaconv.html'
license=(MIT)
arch=(any)
depends=(python)
-makedepends=(git
- python-build
- python-installer
- python-setuptools)
-checkdepends=(python-nose
- python-pytest)
-source=(git+https://github.com/ikegami-yukino/jaconv#tag=v$pkgver)
-sha256sums=('08e0c00dd152bc3e6e0537cc1ed04b669ce7cdf855bbc83cca556b808f951642')
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+checkdepends=(
+ python-nose
+ python-pytest
+)
+#source=("$pkgname::git+https://github.com/ikegami-yukino/jaconv#tag=v$pkgver")
+source=("$pkgname::git+https://github.com/ikegami-yukino/jaconv#commit=1d8aca73a72a4615b165602af9890517444e45d9")
+sha512sums=('d32c04fa0e58a09b555dba0c8f2ff6ea6e6028a09a9c3423f3f159f3fd513c10085498fc7972831d829609bfd3bf8404cf1cdd46ec9b3213e4102cb94d8f0bc1')
+b2sums=('bd5aca923db9f49d5ba74ca7da271f1b241b75b5b0ca5650457735df83afa1d8f044a16cfb99c49b19b669ce6bda1fd2ce1e5ce6996b3c9943bd3367e408483b')
prepare() {
- cd $_pyname
+ cd "$pkgname"
# Don't install {CHANGES,README}.rst to /usr
# Upstream bug report: https://github.com/ikegami-yukino/jaconv/issues/28
- git cherry-pick -n 6a1c0fc05f1eac50d5a47d83e988efa1f9a84cf7
+ git cherry-pick --no-commit 6a1c0fc05f1eac50d5a47d83e988efa1f9a84cf7
}
build() {
- cd $_pyname
+ cd "$pkgname"
+
python -m build --wheel --no-isolation
}
check() {
- cd $_pyname
+ cd "$pkgname"
+
pytest -v
}
package() {
- cd $_pyname
+ cd "$pkgname"
+
python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jaconv/-/commit/abe8b9f500f57b873f969520e7dd4ab790dd107b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jaconv/-/commit/abe8b9f500f57b873f969520e7dd4ab790dd107b
You're receiving this email because of your account on gitlab.archlinux.org.