author | Chih-Hsuan Yen
<yan12125@archlinux.org> 2025-01-18 08:17:37 UTC |
committer | Chih-Hsuan Yen
<yan12125@archlinux.org> 2025-01-18 08:17:37 UTC |
parent | 21280419cc7bf22c0c01585fb498327106e0492a |
.SRCINFO | +6 | -4 |
PKGBUILD | +6 | -10 |
diff --git a/.SRCINFO b/.SRCINFO index 8ac34ed..c03fdbd 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = python-structlog pkgdesc = Structured Logging for Python - pkgver = 24.4.0 - pkgrel = 2 + pkgver = 25.1.0 + pkgrel = 1 url = https://www.structlog.org arch = any license = MIT OR Apache-2.0 @@ -14,6 +14,7 @@ pkgbase = python-structlog checkdepends = python-greenlet checkdepends = python-pytest-asyncio checkdepends = python-rich + checkdepends = python-better-exceptions makedepends = git makedepends = openssh makedepends = python-build @@ -25,9 +26,10 @@ pkgbase = python-structlog optdepends = python-greenlet: for greenlet support in structlog.threadlocal (deprecated) optdepends = python-twisted: for structlog.twisted optdepends = python-rich: for structlog.dev - source = git+https://github.com/hynek/structlog.git#tag=a7d184934bfb419e4d113e968246e66e27f68630 + optdepends = python-better-exceptions: for structlog.dev + source = git+https://github.com/hynek/structlog.git#tag=25.1.0 source = ssh_allowed_signers - sha512sums = SKIP + sha512sums = 9c728582f3e972b4e0888b4394b876662a54f467187a8bc9da700ce6d3c9d042be08ea0771743183c30a011fc5e59df939ae738c6726f280da3560436f5b991a sha512sums = 6ccc3793e6128783b745879785264f66961a6d3aeefd4c39746503490fe0c36c92807f3149ed601fdaaf84be244a6b24882a337025a2dd317a96d75b50f1fabd pkgname = python-structlog diff --git a/PKGBUILD b/PKGBUILD index 4d27b86..c51bf5f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,8 @@ pkgname=python-structlog # https://github.com/hynek/structlog/blob/main/CHANGELOG.md -pkgver=24.4.0 -# XXX: manually update tags before pacman 7.0 is out, where unstable checksums caused by upstream .gitattributes [1] are avoided [2] -# [1] https://github.com/hynek/structlog/blob/main/.gitattributes -# [2] https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/176 -# curl https://api.github.com/repos/hynek/structlog/git/ref/tags/$pkgver | jq -r .object.sha -_tag=a7d184934bfb419e4d113e968246e66e27f68630 -pkgrel=2 +pkgver=25.1.0 +pkgrel=1 pkgdesc="Structured Logging for Python" url="https://www.structlog.org" # https://github.com/hynek/structlog/blob/24.2.0/pyproject.toml#L14 @@ -21,16 +16,17 @@ makedepends=('git' 'openssh' 'python-build' 'python-installer' 'python-hatchling' 'python-hatch-vcs' 'python-hatch-fancy-pypi-readme') checkdepends=('python-pytest' 'python-freezegun' 'python-pretend' 'python-simplejson' 'python-twisted' 'python-rapidjson' 'python-greenlet' 'python-pytest-asyncio' - 'python-rich') + 'python-rich' 'python-better-exceptions') optdepends=( 'python-greenlet: for greenlet support in structlog.threadlocal (deprecated)' 'python-twisted: for structlog.twisted' 'python-rich: for structlog.dev' + 'python-better-exceptions: for structlog.dev' ) # The PyPI tarball is signed, but missing conftest.py -source=("git+https://github.com/hynek/structlog.git#tag=$_tag" +source=("git+https://github.com/hynek/structlog.git#tag=$pkgver" "ssh_allowed_signers") -sha512sums=('SKIP' +sha512sums=('9c728582f3e972b4e0888b4394b876662a54f467187a8bc9da700ce6d3c9d042be08ea0771743183c30a011fc5e59df939ae738c6726f280da3560436f5b991a' '6ccc3793e6128783b745879785264f66961a6d3aeefd4c39746503490fe0c36c92807f3149ed601fdaaf84be244a6b24882a337025a2dd317a96d75b50f1fabd') # XXX: move to verify() when devtools supports it