From 1d8a0047671e426bf4529df3ab8361dde02e4596 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 16 Jul 2017 15:45:00 +0000
Subject: python-pytest-runner: initial inclusion. dep of flexget

---
 .../python_modules/python-pytest-runner/PKGBUILD   | 52 ++++++++++++++++++++++
 .../python-pytest-runner/__changelog               |  2 +
 2 files changed, 54 insertions(+)
 create mode 100644 abs/core/python_modules/python-pytest-runner/PKGBUILD
 create mode 100644 abs/core/python_modules/python-pytest-runner/__changelog

diff --git a/abs/core/python_modules/python-pytest-runner/PKGBUILD b/abs/core/python_modules/python-pytest-runner/PKGBUILD
new file mode 100644
index 0000000..5d106ce
--- /dev/null
+++ b/abs/core/python_modules/python-pytest-runner/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgbase=python-pytest-runner
+pkgname=('python2-pytest-runner')
+pkgver=2.11.1
+pkgrel=1
+pkgdesc="Invoke py.test as distutils command with dependency resolution"
+arch=('any')
+license=('MIT')
+url="https://github.com/pytest-dev/pytest-runner"
+makedepends=('python2-pytest' 'python2-setuptools-scm' 'git')
+source=("git+https://github.com/pytest-dev/pytest-runner.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a pytest-runner{,-py2}
+}
+
+build() {
+#  cd "$srcdir"/pytest-runner
+#  python setup.py build
+
+  cd "$srcdir"/pytest-runner-py2
+  python2 setup.py build
+}
+
+check() {
+#  cd "$srcdir"/pytest-runner
+#  python setup.py egg_info
+#  PYTHONPATH="$PWD" pytest
+
+  cd "$srcdir"/pytest-runner-py2
+  python2 setup.py egg_info
+  PYTHONPATH="$PWD" pytest2
+}
+
+package_python-pytest-runner() {
+  depends=('python-pytest')
+
+  cd pytest-runner
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-runner() {
+  depends=('python2-pytest')
+
+  cd pytest-runner-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/abs/core/python_modules/python-pytest-runner/__changelog b/abs/core/python_modules/python-pytest-runner/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pytest-runner/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
-- 
cgit v0.12

