Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-whelk
Commits:
7c330f75 by Felix Yan at 2026-03-04T05:19:28+08:00
upgpkg: 3.0-8
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-whelk
pkgdesc = Easy access to shell commands from python
pkgver = 3.0
- pkgrel = 7
+ pkgrel = 8
url = https://pypi.python.org/pypi/whelk
arch = any
license = custom:zlib
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python
- source =
python-whelk-3.0.tar.gz::https://github.com/seveas/whelk/archive/3.0.tar.gz
- sha512sums =
7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69
+ source = git+https://github.com/seveas/whelk.git#tag=3.0
+ sha512sums =
9c2b3ce4258e95408631acbaccb242299f433c8bf413cdc57ba5cfb69aae74976342f0dec3bc7f856c0c4a66c360aa0c08c2673a329a572af6dc0b06fab44f0c
pkgname = python-whelk
=====================================
PKGBUILD
=====================================
@@ -2,28 +2,28 @@
pkgname=python-whelk
pkgver=3.0
-pkgrel=7
+pkgrel=8
pkgdesc="Easy access to shell commands from python"
arch=('any')
license=('custom:zlib')
url="https://pypi.python.org/pypi/whelk"
depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz")
-sha512sums=('7760e342b09a03951848d7c5ce258b43b44b6deda3efdb0433bd4704ebb8bd0e43589000e0e8916c2469ac154e0121292b79880fc09e5d44202117900ae7fb69')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+source=("git+https://github.com/seveas/whelk.git#tag=$pkgver")
+sha512sums=('9c2b3ce4258e95408631acbaccb242299f433c8bf413cdc57ba5cfb69aae74976342f0dec3bc7f856c0c4a66c360aa0c08c2673a329a572af6dc0b06fab44f0c')
build() {
- cd whelk-$pkgver
+ cd whelk
python -m build --wheel --no-isolation
}
check() {
- cd whelk-$pkgver
+ cd whelk
python -munittest discover
}
package() {
- cd whelk-$pkgver
+ cd whelk
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-whelk/-/commit/7c330f75ddb4494431e2919185e48de142dfbf27
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-whelk/-/commit/7c330f75ddb4494431e2919185e48de142dfbf27
You're receiving this email because of your account on gitlab.archlinux.org.