mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 14:57:16 +08:00
26 lines
768 B
Bash
26 lines
768 B
Bash
# Maintainer: Inkane <neoinkaneglade@aol.com>
|
|
# Contributor: aur2ccr (http://ddg.gg/?q=!ccr+aur2ccr)
|
|
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
|
|
|
|
pkgname=python2-pytest
|
|
pkgver=2.3.5
|
|
pkgrel=1
|
|
pkgdesc="rapid testing utils"
|
|
arch=('any')
|
|
license=('MIT')
|
|
url="http://pytest.org/"
|
|
depends=('python2' 'python2-py')
|
|
makedepends=('python-distribute')
|
|
source=("http://pypi.python.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
|
|
md5sums=('18f150e7be96b5fe3c388b0e817b8087')
|
|
|
|
build() {
|
|
cd "$srcdir/pytest-$pkgver"
|
|
|
|
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/"$pkgname"/LICENSE
|
|
|
|
# deal with the conflict with python-pytests version of /usr/bin/py.test
|
|
#mv "$pkgdir/usr/bin/py.test"{,2}
|
|
}
|