Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-alt-pytest-asyncio
Commits:
505c41d7 by Felix Yan at 2024-09-01T21:42:40+03:00
upgpkg: 0.8.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,19 @@
pkgbase = python-alt-pytest-asyncio
pkgdesc = Alternative pytest plugin to pytest-asyncio
- pkgver = 0.7.2
- pkgrel = 3
+ pkgver = 0.8.0
+ pkgrel = 1
url = https://github.com/delfick/alt-pytest-asyncio
arch = any
license = MIT
checkdepends = python-noseofyeti
checkdepends = python-nest-asyncio
+ checkdepends = python-pytest-order
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-hatchling
depends = python-pytest
- source =
https://github.com/delfick/alt-pytest-asyncio/archive/release-0.7.2/python-alt-pytest-asyncio-0.7.2.tar.gz
- sha512sums =
177ddf9e4083436fa50494921488e4e6207dfbd38525da8e474a95e83afaa49c01f0769239e6b686752f2c8208e61d883adf5698b2265aa8389001f55a881b24
+ source =
git+https://github.com/delfick/alt-pytest-asyncio.git#tag=release-0.8.0
+ sha512sums =
617d80fd1eaa2a007bda61ced02345ad33d1ba065f81122a8d12241f5de487ad5e9f7a3831fc282fa2303f5101adc81e7190e21e8d36590eac435fc166bdcee3
pkgname = python-alt-pytest-asyncio
=====================================
PKGBUILD
=====================================
@@ -1,34 +1,34 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-alt-pytest-asyncio
-pkgver=0.7.2
-pkgrel=3
+pkgver=0.8.0
+pkgrel=1
pkgdesc='Alternative pytest plugin to pytest-asyncio'
arch=('any')
license=('MIT')
url='https://github.com/delfick/alt-pytest-asyncio'
depends=('python-pytest')
-makedepends=('python-build' 'python-installer' 'python-hatchling')
-checkdepends=('python-noseofyeti' 'python-nest-asyncio')
-source=("https://github.com/delfick/alt-pytest-asyncio/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('177ddf9e4083436fa50494921488e4e6207dfbd38525da8e474a95e83afaa49c01f0769239e6b686752f2c8208e61d883adf5698b2265aa8389001f55a881b24')
+makedepends=('git' 'python-build' 'python-installer' 'python-hatchling')
+checkdepends=('python-noseofyeti' 'python-nest-asyncio' 'python-pytest-order')
+source=("git+https://github.com/delfick/alt-pytest-asyncio.git#tag=release-$pkgver")
+sha512sums=('617d80fd1eaa2a007bda61ced02345ad33d1ba065f81122a8d12241f5de487ad5e9f7a3831fc282fa2303f5101adc81e7190e21e8d36590eac435fc166bdcee3')
build() {
- cd alt-pytest-asyncio-release-$pkgver
+ cd alt-pytest-asyncio
python -m build -nw
}
check() {
# Hack entry points by installing it
- cd alt-pytest-asyncio-release-$pkgver
+ cd alt-pytest-asyncio
python -m installer -d tmp_install dist/*.whl
local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
PYTHONPATH="$PWD/tmp_install/$site_packages" pytest
}
package() {
- cd alt-pytest-asyncio-release-$pkgver
+ cd alt-pytest-asyncio
python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-alt-pytest-asyncio/-/commit/505c41d7a7a8bf1ad4f8f723171422efcebd5b2c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-alt-pytest-asyncio/-/commit/505c41d7a7a8bf1ad4f8f723171422efcebd5b2c
You're receiving this email because of your account on gitlab.archlinux.org.