Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-pytest-repeat


Commits:
9d47087a by Antonio Rojas at 2024-04-27T18:52:43+02:00
upgpkg: 0.9.3-1: Update to 0.9.3

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,17 @@
 pkgbase = python-pytest-repeat
        pkgdesc = pytest plugin for repeating test execution
-       pkgver = 0.9.1
-       pkgrel = 6
+       pkgver = 0.9.3
+       pkgrel = 1
        url = https://github.com/pytest-dev/pytest-repeat
        arch = any
        license = MPL
        makedepends = git
-       makedepends = python-setuptools-scm
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-hatchling
+       makedepends = python-hatch-vcs
        depends = python-pytest
-       source = 
git+https://github.com/pytest-dev/pytest-repeat.git#commit=e987effed02b37d30f6cbc1e8c7f51a4b3b9e62f
-       sha512sums = SKIP
+       source = git+https://github.com/pytest-dev/pytest-repeat.git#tag=v0.9.3
+       sha512sums = 
781f9d8775346294ae17cce9c4bd2490756ef108c71c9ff42ddaf8c74e5375768689dd4cf0c417d1a36df266732c930c811f539306138d9c0e8b4dad1f5712ad
 
 pkgname = python-pytest-repeat


=====================================
PKGBUILD
=====================================
@@ -1,21 +1,20 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-pytest-repeat
-pkgver=0.9.1
-_commit=e987effed02b37d30f6cbc1e8c7f51a4b3b9e62f
-pkgrel=6
+pkgver=0.9.3
+pkgrel=1
 pkgdesc='pytest plugin for repeating test execution'
 arch=('any')
 license=('MPL')
 url='https://github.com/pytest-dev/pytest-repeat'
 depends=('python-pytest')
-makedepends=('git' 'python-setuptools-scm')
-source=("git+https://github.com/pytest-dev/pytest-repeat.git#commit=$_commit";)
-sha512sums=('SKIP')
+makedepends=('git' 'python-build' 'python-installer' 'python-hatchling' 
'python-hatch-vcs')
+source=("git+https://github.com/pytest-dev/pytest-repeat.git#tag=v$pkgver";)
+sha512sums=('781f9d8775346294ae17cce9c4bd2490756ef108c71c9ff42ddaf8c74e5375768689dd4cf0c417d1a36df266732c930c811f539306138d9c0e8b4dad1f5712ad')
 
 build() {
   cd pytest-repeat
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -23,13 +22,13 @@ check() {
 
   cd pytest-repeat
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  python -m installer --destdir="$PWD/tmp_install" dist/*.whl
   PYTHONPATH="$PWD/tmp_install$site_packages:$PYTHONPATH" pytest
 }
 
 package() {
   cd pytest-repeat
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-repeat/-/commit/9d47087aef0425a2ee163712d15fd7a625672986

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-repeat/-/commit/9d47087aef0425a2ee163712d15fd7a625672986
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to