Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-pytest-lazy-fixtures
Commits:
8a601997 by Felix Yan at 2024-08-26T18:40:19+03:00
upgpkg: 1.1.1-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-pytest-lazy-fixtures
pkgdesc = Use fixtures in @pytest.mark.parametrize
- pkgver = 1.1.0
+ pkgver = 1.1.1
pkgrel = 1
url = https://github.com/dev-petrov/pytest-lazy-fixtures
arch = any
license = MIT
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-poetry-core
depends = python
depends = python-pytest
- source =
https://github.com/dev-petrov/pytest-lazy-fixtures/archive/1.1.0/python-pytest-lazy-fixtures-1.1.0.tar.gz
- sha256sums =
8df996a6cd3982d954f4f7f928d4e6e86edfd7b5563ca5c84742934707942202
+ source =
git+https://github.com/dev-petrov/pytest-lazy-fixtures.git#tag=1.1.1
+ sha256sums =
985b1a4fd5dbdbc32597e99fb8d048cc2f3a5f2ce5fc455b284ef77269fb9bc7
pkgname = python-pytest-lazy-fixtures
=====================================
PKGBUILD
=====================================
@@ -1,29 +1,29 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-pytest-lazy-fixtures
-pkgver=1.1.0
+pkgver=1.1.1
pkgrel=1
pkgdesc="Use fixtures in @pytest.mark.parametrize"
arch=(any)
url="https://github.com/dev-petrov/pytest-lazy-fixtures"
license=(MIT)
depends=(python python-pytest)
-makedepends=(python-build python-installer python-poetry-core)
-source=(https://github.com/dev-petrov/pytest-lazy-fixtures/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('8df996a6cd3982d954f4f7f928d4e6e86edfd7b5563ca5c84742934707942202')
+makedepends=(git python-build python-installer python-poetry-core)
+source=(git+https://github.com/dev-petrov/pytest-lazy-fixtures.git#tag=$pkgver)
+sha256sums=('985b1a4fd5dbdbc32597e99fb8d048cc2f3a5f2ce5fc455b284ef77269fb9bc7')
build() {
- cd pytest-lazy-fixtures-$pkgver
+ cd pytest-lazy-fixtures
python -m build -nw
}
check() {
- cd pytest-lazy-fixtures-$pkgver
+ cd pytest-lazy-fixtures
PYTHONPATH="$PWD" pytest -p pytest_lazy_fixtures.plugin
}
package() {
- cd pytest-lazy-fixtures-$pkgver
+ cd pytest-lazy-fixtures
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-pytest-lazy-fixtures/-/commit/8a601997068c2a0e82c7c64e568d5fe5a103756d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-lazy-fixtures/-/commit/8a601997068c2a0e82c7c64e568d5fe5a103756d
You're receiving this email because of your account on gitlab.archlinux.org.