Date: Friday, November 25, 2022 @ 02:50:17
Author: yan12125
Revision: 1353709
archrelease: copy trunk to community-any
Added:
python-structlog/repos/community-any/PKGBUILD
(from rev 1353708, python-structlog/trunk/PKGBUILD)
python-structlog/repos/community-any/keys/
Deleted:
python-structlog/repos/community-any/PKGBUILD
python-structlog/repos/community-any/keys/
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-25 02:49:51 UTC (rev 1353708)
+++ PKGBUILD 2022-11-25 02:50:17 UTC (rev 1353709)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-
-pkgname=python-structlog
-# https://www.structlog.org/en/stable/changelog.html
-pkgver=22.2.0
-# curl https://api.github.com/repos/hynek/structlog/git/ref/tags/$pkgver | jq
-r .object.sha
-_tag=260d80147154c894b2d04a6d003eab7d9d5569c8
-pkgrel=1
-pkgdesc="Structured Logging for Python"
-url="https://www.structlog.org"
-license=('Apache')
-arch=('any')
-depends=('python')
-makedepends=('git' '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')
-optdepends=(
- 'python-greenlet: for greenlet support in structlog.threadlocal (deprecated)'
- 'python-twisted: for structlog.twisted'
- 'python-rich: for structlog.dev'
-)
-# The PyPI tarball is signed, but missing conftest.py
-source=("git+https://github.com/hynek/structlog.git?signed#tag=$_tag")
-sha512sums=('SKIP')
-validpgpkeys=(
- 'C2A04F86ACE28ADCF817DBB7AE2536227F69F181' # https://github.com/hynek.gpg
-)
-
-pkgver() {
- cd structlog
- git describe --tags
-}
-
-build() {
- cd structlog
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd structlog
- # Install to a temporary root for test_packaging
- pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
- python -m installer --destdir="$PWD/tmp_install" dist/*.whl
- PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest tests
-}
-
-package() {
- cd structlog
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-structlog/repos/community-any/PKGBUILD (from rev 1353708,
python-structlog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-25 02:50:17 UTC (rev 1353709)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+
+pkgname=python-structlog
+# https://www.structlog.org/en/stable/changelog.html
+pkgver=22.3.0
+# curl https://api.github.com/repos/hynek/structlog/git/ref/tags/$pkgver | jq
-r .object.sha
+_tag=17c8c363ead9badee1e5083c75358d992654b7a5
+pkgrel=1
+pkgdesc="Structured Logging for Python"
+url="https://www.structlog.org"
+license=('Apache')
+arch=('any')
+depends=('python')
+makedepends=('git' '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')
+optdepends=(
+ 'python-greenlet: for greenlet support in structlog.threadlocal (deprecated)'
+ 'python-twisted: for structlog.twisted'
+ 'python-rich: for structlog.dev'
+)
+# The PyPI tarball is signed, but missing conftest.py
+source=("git+https://github.com/hynek/structlog.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+validpgpkeys=(
+ 'C2A04F86ACE28ADCF817DBB7AE2536227F69F181' # https://github.com/hynek.gpg
+)
+
+pkgver() {
+ cd structlog
+ git describe --tags
+}
+
+build() {
+ cd structlog
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd structlog
+ # Install to a temporary root for test_packaging
+ pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
+ python -m installer --destdir="$PWD/tmp_install" dist/*.whl
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest tests
+}
+
+package() {
+ cd structlog
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}