mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/python-pytest-plugins to 1.4.0-1
This commit is contained in:
parent
b30d82b637
commit
ba6b48c774
1 changed files with 8 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
||||||
# $Id$
|
|
||||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
@ -8,17 +7,17 @@ pkgbase=python-pytest-plugins
|
||||||
pkgname=('python-pytest-fixture-config' 'python2-pytest-fixture-config'
|
pkgname=('python-pytest-fixture-config' 'python2-pytest-fixture-config'
|
||||||
'python-pytest-shutil' 'python2-pytest-shutil'
|
'python-pytest-shutil' 'python2-pytest-shutil'
|
||||||
'python-pytest-virtualenv' 'python2-pytest-virtualenv')
|
'python-pytest-virtualenv' 'python2-pytest-virtualenv')
|
||||||
pkgver=1.3.0
|
pkgver=1.4.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
url='https://github.com/manahl/pytest-plugins'
|
url='https://github.com/manahl/pytest-plugins'
|
||||||
makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-git' 'python2-setuptools-git'
|
makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-git' 'python2-setuptools-git'
|
||||||
'python-execnet' 'python2-execnet'
|
'python-execnet' 'python2-execnet'
|
||||||
'python-path.py' 'python2-path.py' 'python-mock' 'python2-mock' 'python2-contextlib2'
|
'python-path.py' 'python2-path.py' 'python-mock' 'python2-mock' 'python2-contextlib2'
|
||||||
'python-virtualenv' 'python-termcolor' 'python2-termcolor')
|
'python-virtualenv' 'python2-virtualenv' 'python-termcolor' 'python2-termcolor')
|
||||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/manahl/pytest-plugins/archive/v$pkgver.tar.gz")
|
source=("$pkgbase-$pkgver.tar.gz::https://github.com/manahl/pytest-plugins/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('6299f976804376e0f269e8f95a3fc1425359d887d0795ddac54d0cf14a0f614ee534ef0c58af4cceb9e3db121754df1d2f6102a6548dfeedd78da8fa0bae2edb')
|
sha512sums=('a9a9dd5a44449a82942e6094e0a3478f9146dd2c241c24fabc110590a7de17474768630688936138f50c39407f7ee8c8138c67f86451603886234be5ff2ebf26')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# New pypandoc?
|
# New pypandoc?
|
||||||
|
@ -27,6 +26,9 @@ prepare() {
|
||||||
# Our /bin is a symlink
|
# Our /bin is a symlink
|
||||||
sed -i "s|'/bin'|'/usr/bin'|" pytest-plugins-$pkgver/pytest-shutil/tests/integration/test_cmdline_integration.py
|
sed -i "s|'/bin'|'/usr/bin'|" pytest-plugins-$pkgver/pytest-shutil/tests/integration/test_cmdline_integration.py
|
||||||
|
|
||||||
|
# Pytest 4
|
||||||
|
sed -i 's/< *4.0/<5/' pytest-plugins-$pkgver/pytest-*/setup.py
|
||||||
|
|
||||||
(cd pytest-plugins-$pkgver; make copyfiles)
|
(cd pytest-plugins-$pkgver; make copyfiles)
|
||||||
|
|
||||||
cp -a pytest-plugins-$pkgver{,-py2}
|
cp -a pytest-plugins-$pkgver{,-py2}
|
||||||
|
@ -105,7 +107,7 @@ package_python-pytest-virtualenv() {
|
||||||
|
|
||||||
package_python2-pytest-virtualenv() {
|
package_python2-pytest-virtualenv() {
|
||||||
pkgdesc='Virtualenv fixture for py.test'
|
pkgdesc='Virtualenv fixture for py.test'
|
||||||
depends=('python2-pytest-fixture-config' 'python2-pytest-shutil' 'python-virtualenv')
|
depends=('python2-pytest-fixture-config' 'python2-pytest-shutil' 'python2-virtualenv')
|
||||||
|
|
||||||
cd pytest-plugins-$pkgver-py2/pytest-virtualenv
|
cd pytest-plugins-$pkgver-py2/pytest-virtualenv
|
||||||
python2 setup.py install --root="$pkgdir" --optimize=1
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
||||||
|
|
Loading…
Reference in a new issue