George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pytest-datafiles
Commits:
fc437432 by George Rawlinson at 2026-01-05T23:16:34+00:00
reuse: simplify conf
- - - - -
2810fb84 by George Rawlinson at 2026-01-05T23:23:12+00:00
upgpkg: 3.0.1-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = python-pytest-datafiles
- pkgdesc = py.test plugin to create a 'tmpdir' containing predefined
files/directories.
- pkgver = 3.0.0
- pkgrel = 5
+ pkgdesc = pytest plugin to create a tmpdir containing predefined
files/directories
+ pkgver = 3.0.1
+ pkgrel = 1
url = https://github.com/omarkohl/pytest-datafiles
arch = any
license = MIT
+ makedepends = git
makedepends = python-build
makedepends = python-installer
- makedepends = python-setuptools
- makedepends = python-wheel
+ makedepends = python-hatchling
depends = python
depends = python-pytest
- source =
https://github.com/omarkohl/pytest-datafiles/releases/download/3.0.0/pytest-datafiles-3.0.0.tar.gz
- sha256sums =
a70c4c66a36d1cdcfc095607f04eee66eaef3fa64cbb62d60c47ce169901d1d4
+ source =
python-pytest-datafiles::git+https://github.com/omarkohl/pytest-datafiles#tag=3.0.1
+ sha512sums =
194911fcb429a6d64bc824e801eb5f5cd9d223273b0e5c40cc6ee75b9eac3b760baa446712ee4b763ae7e7b7fbac2f8d9410cdedad1556657a1904efc5661128
+ b2sums =
4aaa33824235bd454ef82625802a8a3936a529c7060f65ab227f54b17f8cdcdd526a193b2f5b88cc69c436b4dca7b37d3a01960f25c92de4125193db64aa6586
pkgname = python-pytest-datafiles
=====================================
PKGBUILD
=====================================
@@ -1,30 +1,38 @@
-# Maintainer:
+# Maintainer: George Rawlinson <[email protected]>
# Contributor: Rafael Fontenelle <[email protected]>
-_pyname=pytest-datafiles
-pkgname=python-$_pyname
-pkgver=3.0.0
-pkgrel=5
-pkgdesc="py.test plugin to create a 'tmpdir' containing predefined
files/directories."
+pkgname=python-pytest-datafiles
+pkgver=3.0.1
+pkgrel=1
+pkgdesc='pytest plugin to create a tmpdir containing predefined
files/directories'
arch=(any)
url='https://github.com/omarkohl/pytest-datafiles'
license=(MIT)
-depends=(python
- python-pytest)
-makedepends=(python-build
- python-installer
- python-setuptools
- python-wheel)
-source=(https://github.com/omarkohl/pytest-datafiles/releases/download/$pkgver/$_pyname-$pkgver.tar.gz)
-sha256sums=('a70c4c66a36d1cdcfc095607f04eee66eaef3fa64cbb62d60c47ce169901d1d4')
+depends=(
+ python
+ python-pytest
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-hatchling
+)
+source=("$pkgname::git+$url#tag=$pkgver")
+sha512sums=('194911fcb429a6d64bc824e801eb5f5cd9d223273b0e5c40cc6ee75b9eac3b760baa446712ee4b763ae7e7b7fbac2f8d9410cdedad1556657a1904efc5661128')
+b2sums=('4aaa33824235bd454ef82625802a8a3936a529c7060f65ab227f54b17f8cdcdd526a193b2f5b88cc69c436b4dca7b37d3a01960f25c92de4125193db64aa6586')
build() {
- cd $_pyname-$pkgver
+ cd "$pkgname"
+
python -m build --wheel --no-isolation
}
package() {
- cd $_pyname-$pkgver
- python -m installer --destdir="$pkgdir/" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-datafiles/-/compare/58c7567fdf46bca9514d963d75ab724d29d8a40d...2810fb847abf4bb8ba84892b1cbb419e5ddc4de5
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-datafiles/-/compare/58c7567fdf46bca9514d963d75ab724d29d8a40d...2810fb847abf4bb8ba84892b1cbb419e5ddc4de5
You're receiving this email because of your account on gitlab.archlinux.org.