David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-trio


Commits:
0255aaa9 by David Runge at 2024-05-14T20:12:30+02:00
Add nvchecker integration

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
55281cb8 by David Runge at 2024-05-14T20:33:35+02:00
Switch to locked tag commit for better source transparency

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
11509f41 by David Runge at 2024-05-14T20:33:37+02:00
Run pytest in check()

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
d7e388de by David Runge at 2024-05-14T20:34:41+02:00
upgpkg: 0.25.0-3

Rebuild to run tests, consolidate dependencies and switch to transparent 
sources.

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,18 @@
 pkgbase = python-trio
        pkgdesc = A friendly Python library for async concurrency and I/O
        pkgver = 0.25.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/python-trio/trio
        arch = any
        license = MIT
+       checkdepends = python-astor
+       checkdepends = python-black
+       checkdepends = python-isort
+       checkdepends = python-jedi
+       checkdepends = python-pylint
+       checkdepends = python-pytest
+       checkdepends = python-ruff
+       checkdepends = python-trustme
        makedepends = git
        makedepends = python-build
        makedepends = python-setuptools
@@ -12,14 +20,13 @@ pkgbase = python-trio
        makedepends = python-wheel
        depends = python
        depends = python-attrs
-       depends = python-exceptiongroup
        depends = python-idna
        depends = python-outcome
        depends = python-sniffio
        depends = python-sortedcontainers
        depends = python-typing_extensions
        provides = python-multio-provider
-       source = 
git+https://github.com/python-trio/trio.git#tag=0b8d3e2435ca9cb00a1aab72bf98da334dec2b1c
-       b2sums = SKIP
+       source = git+https://github.com/python-trio/trio.git#tag=v0.25.0
+       b2sums = 
9bbb93dee455fd2a48d2199ff2b3faf964a71fb33116fecbd82a2edca05e747ac619a737f303242873884cb543c5a891f13eac1b4da5cbc9467c8ef4919fd047
 
 pkgname = python-trio


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-trio]
+source = "pypi"
+pypi = "trio"


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,9 @@
 # Maintainer: Maxime Gauduin <aluc...@archlinux.org>
 
 pkgname=python-trio
+_name=${pkgname#python-}
 pkgver=0.25.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A friendly Python library for async concurrency and I/O'
 arch=(any)
 url=https://github.com/python-trio/trio
@@ -10,7 +11,6 @@ license=(MIT)
 depends=(
   python
   python-attrs
-  python-exceptiongroup
   python-idna
   python-outcome
   python-sniffio
@@ -24,21 +24,30 @@ makedepends=(
   python-installer
   python-wheel
 )
+checkdepends=(
+  python-astor
+  python-black
+  python-isort
+  python-jedi
+  python-pylint
+  python-pytest
+  python-ruff
+  python-trustme
+)
 provides=(python-multio-provider)
-_tag=0b8d3e2435ca9cb00a1aab72bf98da334dec2b1c
-source=(git+https://github.com/python-trio/trio.git#tag=${_tag})
-b2sums=(SKIP)
-
-pkgver() {
-  cd trio
-  git describe --tags | sed 's/^v//'
-}
+source=(git+$url.git#tag=v$pkgver)
+b2sums=('9bbb93dee455fd2a48d2199ff2b3faf964a71fb33116fecbd82a2edca05e747ac619a737f303242873884cb543c5a891f13eac1b4da5cbc9467c8ef4919fd047')
 
 build() {
   cd trio
   python -m build --wheel --no-isolation
 }
 
+check() {
+  cd $_name
+  PYTHONPATH=$PWD/src pytest -vv
+}
+
 package() {
   python -m installer --destdir="${pkgdir}" trio/dist/*.whl
   install -Dm 644 trio/LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio/



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-trio/-/compare/3d0cf6e2635f6fc0ff709da8f42c2d46b491e140...d7e388ded71166d757747103940e38336cd3c10c

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-trio/-/compare/3d0cf6e2635f6fc0ff709da8f42c2d46b491e140...d7e388ded71166d757747103940e38336cd3c10c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to