#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- #pkgbase=python-six pkgname=python-six #pkgname=('python2-six' 'python-six') pkgver=1.16.0 pkgrel=08 pkgdesc="Python 2 and 3 compatibility utilities" url="https://pypi.python.org/pypi/six/" depends=('python') makedepends=('python-setuptools') # 'python2-setuptools') checkdepends=('python-pytest' 'tk') source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz") #build() { # cp -a six-$pkgver{,-py2} #} check() { cd six-$pkgver python -m pytest } package() { cd six-$pkgver python setup.py install --root "$pkgdir" --optimize=1 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('MIT') sha256sums=(1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926) # six-1.16.0.tar.gz ## 00a7c56fa8f49fe9f50b936b6c202122156fb2e68358c9fa3bae7e9652f616ec python-six-1.16.0-08-x86_64.pkg.tar.lz