[arch-commits] Commit in python-pytest-plugins/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 7 14:05:33 UTC 2019


    Date: Tuesday, May 7, 2019 @ 14:05:33
  Author: felixonmars
Revision: 462135

archrelease: copy trunk to community-any

Added:
  python-pytest-plugins/repos/community-any/PKGBUILD
    (from rev 462134, python-pytest-plugins/trunk/PKGBUILD)
Deleted:
  python-pytest-plugins/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  228 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 114 insertions(+), 114 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-07 14:05:22 UTC (rev 462134)
+++ PKGBUILD	2019-05-07 14:05:33 UTC (rev 462135)
@@ -1,114 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-plugins
-pkgname=('python-pytest-fixture-config' 'python2-pytest-fixture-config'
-         'python-pytest-shutil'         'python2-pytest-shutil'
-         'python-pytest-virtualenv'     'python2-pytest-virtualenv')
-pkgver=1.6.1
-pkgrel=1
-arch=('any')
-license=('BSD')
-url='https://github.com/manahl/pytest-plugins'
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-git' 'python2-setuptools-git'
-             'python-pypandoc' 'python2-pypandoc' 'python-execnet' 'python2-execnet'
-             'python-path.py' 'python2-path.py' 'python-mock' 'python2-mock' 'python2-contextlib2'
-             'python-virtualenv' 'python2-virtualenv' 'python-termcolor' 'python2-termcolor')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/manahl/pytest-plugins/archive/v$pkgver.tar.gz")
-sha512sums=('92c6522b241201df938aaece7cf35f281ab715594f9778b58be3361f4e14655e923be3bd20038e77b3e81c11a70cbecb826a50ce891150416015c264994a8417')
-
-prepare() {
-  # New pypandoc?
-  sed -i "s/'rst')/'rst', format='markdown')/" pytest-plugins-$pkgver/common_setup.py
-
-  # Our /bin is a symlink
-  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)
-
-  cp -a pytest-plugins-$pkgver{,-py2}
-  sed -i '/contextlib2/d' pytest-plugins-$pkgver/pytest-shutil/setup.py
-}
-
-build() {
-  for _pkg in pytest-fixture-config pytest-shutil pytest-virtualenv; do
-    cd "$srcdir"/pytest-plugins-$pkgver/$_pkg
-    python setup.py build
-
-    cd "$srcdir"/pytest-plugins-$pkgver-py2/$_pkg
-    python2 setup.py build
-  done
-}
-
-check() {
-  # Hack entry points by installing it
-
-  for _pkg in pytest-fixture-config pytest-shutil pytest-virtualenv; do
-    cd "$srcdir"/pytest-plugins-$pkgver/$_pkg
-    python setup.py install --root="$srcdir"/tmp_install --optimize=1
-    PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.7/site-packages py.test
-
-    cd "$srcdir"/pytest-plugins-$pkgver-py2/$_pkg
-    python2 setup.py install --root="$srcdir"/tmp_install --optimize=1
-    PYTHONPATH="$srcdir"/tmp_install/usr/lib/python2.7/site-packages py.test2
-  done
-}
-
-package_python-pytest-fixture-config() {
-  pkgdesc='Fixture configuration utils for py.test'
-  depends=('python-pytest')
-
-  cd pytest-plugins-$pkgver/pytest-fixture-config
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-fixture-config() {
-  pkgdesc='Fixture configuration utils for py.test'
-  depends=('python2-pytest')
-
-  cd pytest-plugins-$pkgver-py2/pytest-fixture-config
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pytest-shutil() {
-  pkgdesc='A goodie-bag of unix shell and environment tools for py.test'
-  depends=('python-pytest' 'python-execnet' 'python-path.py' 'python-mock' 'python-termcolor')
-
-  cd pytest-plugins-$pkgver/pytest-shutil
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-shutil() {
-  pkgdesc='A goodie-bag of unix shell and environment tools for py.test'
-  depends=('python2-pytest' 'python2-execnet' 'python2-path.py' 'python2-mock' 'python2-termcolor'
-           'python2-contextlib2')
-
-  cd pytest-plugins-$pkgver-py2/pytest-shutil
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pytest-virtualenv() {
-  pkgdesc='Virtualenv fixture for py.test'
-  depends=('python-pytest-fixture-config' 'python-pytest-shutil' 'python-virtualenv')
-
-  cd pytest-plugins-$pkgver/pytest-virtualenv
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-virtualenv() {
-  pkgdesc='Virtualenv fixture for py.test'
-  depends=('python2-pytest-fixture-config' 'python2-pytest-shutil' 'python2-virtualenv')
-
-  cd pytest-plugins-$pkgver-py2/pytest-virtualenv
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-plugins/repos/community-any/PKGBUILD (from rev 462134, python-pytest-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-07 14:05:33 UTC (rev 462135)
@@ -0,0 +1,114 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-plugins
+pkgname=('python-pytest-fixture-config' 'python2-pytest-fixture-config'
+         'python-pytest-shutil'         'python2-pytest-shutil'
+         'python-pytest-virtualenv'     'python2-pytest-virtualenv')
+pkgver=1.6.2
+pkgrel=1
+arch=('any')
+license=('BSD')
+url='https://github.com/manahl/pytest-plugins'
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-git' 'python2-setuptools-git'
+             'python-pypandoc' 'python2-pypandoc' 'python-execnet' 'python2-execnet'
+             'python-path.py' 'python2-path.py' 'python-mock' 'python2-mock' 'python2-contextlib2'
+             'python-virtualenv' 'python2-virtualenv' 'python-termcolor' 'python2-termcolor')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/manahl/pytest-plugins/archive/v$pkgver.tar.gz")
+sha512sums=('625686d90908f71aea4b62baa283fce9463021211dbb29e7814ef872a4120abf527acf7279d8b2bec02e2c84acaaf6c95dc390899c85950be844d6d017cf937a')
+
+prepare() {
+  # New pypandoc?
+  sed -i "s/'rst')/'rst', format='markdown')/" pytest-plugins-$pkgver/common_setup.py
+
+  # Our /bin is a symlink
+  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)
+
+  cp -a pytest-plugins-$pkgver{,-py2}
+  sed -i '/contextlib2/d' pytest-plugins-$pkgver/pytest-shutil/setup.py
+}
+
+build() {
+  for _pkg in pytest-fixture-config pytest-shutil pytest-virtualenv; do
+    cd "$srcdir"/pytest-plugins-$pkgver/$_pkg
+    python setup.py build
+
+    cd "$srcdir"/pytest-plugins-$pkgver-py2/$_pkg
+    python2 setup.py build
+  done
+}
+
+check() {
+  # Hack entry points by installing it
+
+  for _pkg in pytest-fixture-config pytest-shutil pytest-virtualenv; do
+    cd "$srcdir"/pytest-plugins-$pkgver/$_pkg
+    python setup.py install --root="$srcdir"/tmp_install --optimize=1
+    PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.7/site-packages py.test
+
+    cd "$srcdir"/pytest-plugins-$pkgver-py2/$_pkg
+    python2 setup.py install --root="$srcdir"/tmp_install --optimize=1
+    PYTHONPATH="$srcdir"/tmp_install/usr/lib/python2.7/site-packages py.test2
+  done
+}
+
+package_python-pytest-fixture-config() {
+  pkgdesc='Fixture configuration utils for py.test'
+  depends=('python-pytest')
+
+  cd pytest-plugins-$pkgver/pytest-fixture-config
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-fixture-config() {
+  pkgdesc='Fixture configuration utils for py.test'
+  depends=('python2-pytest')
+
+  cd pytest-plugins-$pkgver-py2/pytest-fixture-config
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-pytest-shutil() {
+  pkgdesc='A goodie-bag of unix shell and environment tools for py.test'
+  depends=('python-pytest' 'python-execnet' 'python-path.py' 'python-mock' 'python-termcolor')
+
+  cd pytest-plugins-$pkgver/pytest-shutil
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-shutil() {
+  pkgdesc='A goodie-bag of unix shell and environment tools for py.test'
+  depends=('python2-pytest' 'python2-execnet' 'python2-path.py' 'python2-mock' 'python2-termcolor'
+           'python2-contextlib2')
+
+  cd pytest-plugins-$pkgver-py2/pytest-shutil
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-pytest-virtualenv() {
+  pkgdesc='Virtualenv fixture for py.test'
+  depends=('python-pytest-fixture-config' 'python-pytest-shutil' 'python-virtualenv')
+
+  cd pytest-plugins-$pkgver/pytest-virtualenv
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-virtualenv() {
+  pkgdesc='Virtualenv fixture for py.test'
+  depends=('python2-pytest-fixture-config' 'python2-pytest-shutil' 'python2-virtualenv')
+
+  cd pytest-plugins-$pkgver-py2/pytest-virtualenv
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list