* update python-testrepository to 0.0.21-3
This commit is contained in:
parent
5ac9719b44
commit
85e3e8c18b
23
python/python-testrepository/.SRCINFO
Normal file
23
python/python-testrepository/.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
||||
pkgbase = python-testrepository
|
||||
pkgdesc = A repository of test results.
|
||||
pkgver = 0.0.21
|
||||
pkgrel = 3
|
||||
url = https://launchpad.net/testrepository
|
||||
arch = any
|
||||
license = Apache-2.0 OR BSD-3-Clause
|
||||
checkdepends = python-testresources
|
||||
checkdepends = python-pytz
|
||||
checkdepends = python-testscenarios
|
||||
makedepends = python-hatchling
|
||||
makedepends = python-hatch-vcs
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-testtools
|
||||
depends = python-fixtures
|
||||
depends = python-subunit
|
||||
source = python-testrepository-0.0.21.tar.gz::https://github.com/testing-cabal/testrepository/archive/refs/tags/0.0.21.tar.gz
|
||||
sha512sums = 90fadfc78831f03e42cba08e2dab31fe15dcd61e9d78c726afcd99c84368fff4ff38ff715d60f5573058354ebf6d17e60f981a2bcae953fd95229ee41400ea3d
|
||||
|
||||
pkgname = python-testrepository
|
@ -3,20 +3,20 @@
|
||||
|
||||
pkgname=python-testrepository
|
||||
pkgver=0.0.21
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="A repository of test results."
|
||||
arch=(any)
|
||||
license=('Apache' 'BSD')
|
||||
license=('Apache-2.0 OR BSD-3-Clause')
|
||||
url="https://launchpad.net/testrepository"
|
||||
depends=('python-testtools' 'python-fixtures' 'python-subunit')
|
||||
makedepends=('python-hatch' 'python-hatch-vcs' 'python-build' 'python-installer' 'python-wheel')
|
||||
depends=('python' 'python-testtools' 'python-fixtures' 'python-subunit')
|
||||
makedepends=('python-hatchling' 'python-hatch-vcs' 'python-build' 'python-installer' 'python-wheel')
|
||||
checkdepends=('python-testresources' 'python-pytz' 'python-testscenarios')
|
||||
source=("https://pypi.python.org/packages/source/t/testrepository/testrepository-$pkgver.tar.gz")
|
||||
sha512sums=('c03108434a4ab3145106a6d05f4ff42d6d2b8f103de8dee7e0e829f5a450e838c8f9c7033e97afbc764badcbe2050aa41f2da30c439edb390ce38c73c0244065')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/testing-cabal/testrepository/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha512sums=('90fadfc78831f03e42cba08e2dab31fe15dcd61e9d78c726afcd99c84368fff4ff38ff715d60f5573058354ebf6d17e60f981a2bcae953fd95229ee41400ea3d')
|
||||
|
||||
build() {
|
||||
cd testrepository-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
@ -28,4 +28,5 @@ check() {
|
||||
package() {
|
||||
cd testrepository-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -vDm 644 Apache-2.0 BSD -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user