Commit 9d1422d5 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] python-unittest-mixins: update to 1.6

parent 94bf60c4
Pipeline #1618 skipped
# Contributions from Arch:
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgbase=python-unittest-mixins
pkgname=('python3-unittest-mixins' 'python2-unittest-mixins')
pkgver=1.4
pkgver=1.6
pkgrel=1
pkgdesc='Helpful mixins for unittest classes'
arch=('any')
license=('Apache')
url='https://github.com/nedbat/unittest-mixins'
makedepends=('python3-setuptools' 'python2-setuptools')
checkdepends=('python3-pytest-runner' 'python2-pytest-runner')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/nedbat/unittest-mixins/archive/v$pkgver.tar.gz")
sha512sums=('c6f23c8013f1f19de46c22f73e52d7b88c8646ac4a5b28423bb9c4835b87706cd7f5cef53627a7118cdaa6f58689c5511d7ae8710eb8f4d2a3ceef3f911c1521')
sha256sums=('387ebaaf7095fd1e293fa9b8d29148920493fdc37f8be59f070077b06f358bb8')
prepare() {
cp -a unittest-mixins-$pkgver{,-py2}
......@@ -25,14 +25,6 @@ build() {
python2 setup.py build
}
check() {
cd "$srcdir"/unittest-mixins-$pkgver
python3 setup.py pytest
cd "$srcdir"/unittest-mixins-$pkgver-py2
python2 setup.py pytest
}
package_python3-unittest-mixins() {
depends=('python3-six')
......@@ -46,5 +38,3 @@ package_python2-unittest-mixins() {
cd unittest-mixins-$pkgver-py2
python2 setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment