Skip to content
Snippets Groups Projects
Commit e32051ff authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Fix tests with Python 3.10

parent 39214dcc
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,18 @@ depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-py ...@@ -13,11 +13,18 @@ depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-py
makedepends=('git') makedepends=('git')
checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios') checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios')
options=('!emptydirs') options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz"
sha512sums=('a4749446067c9307e766cb9e2255b06325722da2af1c576c072c5af2e7982fe9d455e6ff8b2ec1277390edb1efb8e530663fd4e66dcc3e0e910243d1e880be2e') $pkgname-python310.patch::https://github.com/openstack/cliff/commit/9b66f4066cfb.patch)
sha512sums=('a4749446067c9307e766cb9e2255b06325722da2af1c576c072c5af2e7982fe9d455e6ff8b2ec1277390edb1efb8e530663fd4e66dcc3e0e910243d1e880be2e'
'39bf512e2b5e7b4235aea105a7ff5c1142c71e999cfe3d11136fa3c7c2fe2d15657e94a06d0ac894fbe092fb16bac7a710091534a38e20abe86155bcaeab6a93')
export PBR_VERSION=$pkgver export PBR_VERSION=$pkgver
prepare() {
cd cliff-$pkgver
patch -Np1 -i ../$pkgname-python310.patch
}
build() { build() {
cd cliff-$pkgver cd cliff-$pkgver
python setup.py build python setup.py build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment