* update python-zope-testing to 5.0.1-5
This commit is contained in:
parent
c40e57f774
commit
6cee76f764
17
python/python-zope-testing/.SRCINFO
Normal file
17
python/python-zope-testing/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = python-zope-testing
|
||||
pkgdesc = Zope testing helpers
|
||||
pkgver = 5.0.1
|
||||
pkgrel = 5
|
||||
url = https://github.com/zopefoundation/zope.testing
|
||||
arch = any
|
||||
license = ZPL-2.1
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-zope-testrunner
|
||||
source = python-zope-testing-5.0.1.tar.gz::https://github.com/zopefoundation/zope.testing/archive/5.0.1.tar.gz
|
||||
sha512sums = 169ddd82d67f54988cac6cea719095ea7b1a0e59a1b51f63ab6bf15e785877fa060bac5c0786c26244a7630ec1b97011d0bb336c9177a8e6a911ccdb673eebba
|
||||
|
||||
pkgname = python-zope-testing
|
3
python/python-zope-testing/.nvchecker.toml
Normal file
3
python/python-zope-testing/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[python-zope-testing]
|
||||
source = "git"
|
||||
git = "https://github.com/zopefoundation/zope.testing.git"
|
@ -1,30 +1,43 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=python-zope-testing
|
||||
_pkgname=zope.testing
|
||||
pkgver=5.0.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Zope testing helpers"
|
||||
arch=(any)
|
||||
url="https://github.com/zopefoundation/zope.testing"
|
||||
license=('ZPL-2.1')
|
||||
depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
|
||||
depends=(
|
||||
'python'
|
||||
'python-zope-testrunner'
|
||||
)
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-setuptools'
|
||||
'python-wheel'
|
||||
)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||
sha512sums=('169ddd82d67f54988cac6cea719095ea7b1a0e59a1b51f63ab6bf15e785877fa060bac5c0786c26244a7630ec1b97011d0bb336c9177a8e6a911ccdb673eebba')
|
||||
|
||||
build() {
|
||||
cd zope.testing-$pkgver
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
cd $_pkgname-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd zope.testing-$pkgver
|
||||
python setup.py test
|
||||
cd $_pkgname-$pkgver
|
||||
python -m installer --destdir=tmp_install dist/*.whl
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
export PYTHONPATH="$PWD/tmp_install/$site_packages"
|
||||
zope-testrunner --test-path=src -vc
|
||||
}
|
||||
|
||||
package() {
|
||||
cd zope.testing-$pkgver
|
||||
cd $_pkgname-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user