* update python-pytest to 1:8.3.3-1
This commit is contained in:
parent
1e2932cf53
commit
e8121aa0b7
35
python/python-pytest/.SRCINFO
Normal file
35
python/python-pytest/.SRCINFO
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
pkgbase = python-pytest
|
||||||
|
pkgdesc = Simple powerful testing with Python
|
||||||
|
pkgver = 8.3.3
|
||||||
|
pkgrel = 1
|
||||||
|
epoch = 1
|
||||||
|
url = https://docs.pytest.org
|
||||||
|
arch = any
|
||||||
|
license = MIT
|
||||||
|
checkdepends = python-argcomplete
|
||||||
|
checkdepends = python-attrs
|
||||||
|
checkdepends = python-hypothesis
|
||||||
|
checkdepends = python-pygments
|
||||||
|
checkdepends = python-requests
|
||||||
|
checkdepends = python-xmlschema
|
||||||
|
checkdepends = lsof
|
||||||
|
checkdepends = python-decorator
|
||||||
|
checkdepends = python-docutils
|
||||||
|
checkdepends = python-jinja
|
||||||
|
checkdepends = python-numpy
|
||||||
|
checkdepends = python-pexpect
|
||||||
|
checkdepends = python-pytest-xdist
|
||||||
|
checkdepends = python-twisted
|
||||||
|
makedepends = git
|
||||||
|
makedepends = python-build
|
||||||
|
makedepends = python-installer
|
||||||
|
makedepends = python-setuptools
|
||||||
|
makedepends = python-setuptools-scm
|
||||||
|
makedepends = python-wheel
|
||||||
|
depends = python-iniconfig
|
||||||
|
depends = python-packaging
|
||||||
|
depends = python-pluggy
|
||||||
|
source = git+https://github.com/pytest-dev/pytest.git#tag=8.3.3
|
||||||
|
b2sums = 34f6b3dee29bba474080ee21a58c9b968eb4704631946509d15ada2320a80c83e5a8c5ebe25fce69e65af0556ab5b6ce6a502ffad010c2986c36e5d823caeb73
|
||||||
|
|
||||||
|
pkgname = python-pytest
|
@ -1,49 +1,49 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
||||||
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
|
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
|
||||||
|
# Contributor: Felix Yan <felixonmars@archlinux.org>
|
||||||
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
|
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
|
||||||
|
|
||||||
pkgname=python-pytest
|
pkgname=python-pytest
|
||||||
_name=${pkgname#python-}
|
_name=${pkgname#python-}
|
||||||
pkgver=8.2.2
|
pkgver=8.3.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="Simple powerful testing with Python"
|
pkgdesc="Simple powerful testing with Python"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://pytest.org/"
|
url=https://docs.pytest.org
|
||||||
license=('MIT')
|
license=(MIT)
|
||||||
depends=(
|
depends=(
|
||||||
'python-iniconfig'
|
python-iniconfig
|
||||||
'python-packaging'
|
python-packaging
|
||||||
'python-pluggy'
|
python-pluggy
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'git'
|
git
|
||||||
'python-build'
|
python-build
|
||||||
'python-installer'
|
python-installer
|
||||||
'python-setuptools'
|
python-setuptools
|
||||||
'python-setuptools-scm'
|
python-setuptools-scm
|
||||||
'python-wheel'
|
python-wheel
|
||||||
)
|
)
|
||||||
checkdepends=(
|
checkdepends=(
|
||||||
'python-argcomplete'
|
python-argcomplete
|
||||||
'python-attrs'
|
python-attrs
|
||||||
'python-hypothesis'
|
python-hypothesis
|
||||||
'python-pygments'
|
python-pygments
|
||||||
'python-requests'
|
python-requests
|
||||||
'python-xmlschema'
|
python-xmlschema
|
||||||
# Unlisted, but actually used. Check again after a while:
|
# Unlisted, but actually used. Check again after a while:
|
||||||
'lsof'
|
lsof
|
||||||
'python-decorator'
|
python-decorator
|
||||||
'python-docutils'
|
python-docutils
|
||||||
'python-jinja'
|
python-jinja
|
||||||
'python-numpy'
|
python-numpy
|
||||||
'python-pexpect'
|
python-pexpect
|
||||||
'python-pytest-xdist'
|
python-pytest-xdist
|
||||||
'python-twisted'
|
python-twisted
|
||||||
)
|
)
|
||||||
source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver")
|
source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver")
|
||||||
b2sums=('e56362156e3e752872c63cf8df01744b09e35a38f65a58fa44f88b824dc51186274187834ad9667a79b3b3601761fdee4e1a82e0cfd7862f35fe82802e6f57d7')
|
b2sums=('34f6b3dee29bba474080ee21a58c9b968eb4704631946509d15ada2320a80c83e5a8c5ebe25fce69e65af0556ab5b6ce6a502ffad010c2986c36e5d823caeb73')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_name"
|
cd "$_name"
|
||||||
@ -57,12 +57,11 @@ check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_name"
|
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
||||||
|
|
||||||
# Symlink license file
|
|
||||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
|
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
|
||||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
|
||||||
|
cd "$_name"
|
||||||
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user