Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
python-uc-micro-py
Commits:
c114fa0f by Daniel M. Capella at 2026-03-02T15:03:51-05:00
upgpkg: 2.0.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-uc-micro-py
pkgdesc = Micro subset of unicode data files for linkify-it-py projects
- pkgver = 1.0.3
- pkgrel = 4
+ pkgver = 2.0.0
+ pkgrel = 1
url = https://github.com/tsutsu3/uc.micro-py
arch = any
license = MIT
@@ -11,7 +11,7 @@ pkgbase = python-uc-micro-py
makedepends = python-setuptools
makedepends = python-wheel
depends = python
- source =
python-uc-micro-py-1.0.3.tar.gz::https://github.com/tsutsu3/uc.micro-py/archive/v1.0.3.tar.gz
- sha512sums =
b465df3e3ac7a1bf67887d51b7323fba6ac2ae1403810762bf30a8d40a6e605770626617a13fe9f925072ad007cdde2778d216b437ec68e2e893e69c7bdc5ba5
+ source =
python-uc-micro-py-2.0.0.tar.gz::https://github.com/tsutsu3/uc.micro-py/archive/v2.0.0.tar.gz
+ sha512sums =
38116f07f1a0931091d7697eb778872e31eab48e1311745587582e29f28005d56712c16eafcd30f9d862fbef2563cf834de40c56bb5ff80122a9bd941eeafad7
pkgname = python-uc-micro-py
=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
_pkgname=uc.micro-py
pkgname=python-uc-micro-py
-pkgver=1.0.3
-pkgrel=4
+pkgver=2.0.0
+pkgrel=1
pkgdesc='Micro subset of unicode data files for linkify-it-py projects'
arch=('any')
url='https://github.com/tsutsu3/uc.micro-py'
@@ -13,7 +13,7 @@ depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('b465df3e3ac7a1bf67887d51b7323fba6ac2ae1403810762bf30a8d40a6e605770626617a13fe9f925072ad007cdde2778d216b437ec68e2e893e69c7bdc5ba5')
+sha512sums=('38116f07f1a0931091d7697eb778872e31eab48e1311745587582e29f28005d56712c16eafcd30f9d862fbef2563cf834de40c56bb5ff80122a9bd941eeafad7')
build() {
cd $_pkgname-$pkgver
@@ -28,15 +28,14 @@ check() {
}
package() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/uc_micro_py-$pkgver.dist-info/licenses/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname
+
cd $_pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
-
- # Symlink license file
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/uc_micro_py-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-uc-micro-py/-/commit/c114fa0f121fc34224e2508440efe575c4cb748e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-uc-micro-py/-/commit/c114fa0f121fc34224e2508440efe575c4cb748e
You're receiving this email because of your account on gitlab.archlinux.org.