update 0.6.6-1

This commit is contained in:
taotieren 2026-02-06 23:36:47 +08:00
commit 686ef491d0
No known key found for this signature in database
GPG key ID: D2220C924B0CBF02
2 changed files with 69 additions and 0 deletions

24
.SRCINFO Normal file
View file

@ -0,0 +1,24 @@
pkgbase = python-coincidence
pkgdesc = Helper functions for pytest
pkgver = 0.6.6
pkgrel = 1
url = https://github.com/python-coincidence/coincidence
arch = any
license = MIT
makedepends = git
makedepends = python-whey
makedepends = python-build
makedepends = python-license-expression
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = python
depends = python-domdf-python-tools
depends = python-pytest
depends = python-pytest-regressions
depends = python-toml
depends = python-typing_extensions
source = coincidence::git+https://github.com/python-coincidence/coincidence.git#tag=v0.6.6
sha512sums = 020fcfc06a30f3b1416c255a94faec5feacc58dbed194d3146235da74d72db78f125da433140060e992e25a02e57ea0fb0ce517b49d3282a86b3997ae9cf0295
pkgname = python-coincidence

45
PKGBUILD Normal file
View file

@ -0,0 +1,45 @@
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-coincidence
_name=${pkgname#python-}
pkgver=0.6.6
pkgrel=1
pkgdesc='Helper functions for pytest'
arch=('any')
url='https://github.com/python-coincidence/coincidence'
license=('MIT')
depends=(
'python'
python-domdf-python-tools
'python-pytest'
'python-pytest-regressions'
'python-toml'
'python-typing_extensions'
)
makedepends=(
'git'
python-whey
'python-build'
'python-license-expression'
'python-installer'
'python-wheel'
'python-setuptools'
)
optdepends=()
source=("${_name}::git+${url}.git#tag=v$pkgver")
sha512sums=('020fcfc06a30f3b1416c255a94faec5feacc58dbed194d3146235da74d72db78f125da433140060e992e25a02e57ea0fb0ce517b49d3282a86b3997ae9cf0295')
prepare() {
git -C "${srcdir}/${_name}" clean -dfx
}
build() {
cd "${srcdir}/${_name}"
python -m whey --wheel
}
package() {
cd "${srcdir}/${_name}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}