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

Felix Yan felixonmars at archlinux.org
Tue Jul 28 06:57:46 UTC 2020


    Date: Tuesday, July 28, 2020 @ 06:57:46
  Author: felixonmars
Revision: 665627

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 06:57:37 UTC (rev 665626)
+++ PKGBUILD	2020-07-28 06:57:46 UTC (rev 665627)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-forked
-pkgname=('python-pytest-forked' 'python2-pytest-forked')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc='run tests in isolated forked subprocesses'
-arch=('any')
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-forked'
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-forked/archive/v$pkgver.tar.gz")
-sha512sums=('4af4b73b1ad23f84b679844685d325c4f17031a01a997b41349745a07998182a6057ade2a650d709cd8586a8ee20795395920d4f38f654b190501b822b9314f0')
-
-prepare() {
-  cp -a pytest-forked-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/pytest-forked-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-forked-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/pytest-forked-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-forked-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-pytest-forked() {
-  depends=('python-pytest')
-
-  cd pytest-forked-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-forked() {
-  depends=('python2-pytest')
-
-  cd pytest-forked-$pkgver-py2
-  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-forked/repos/community-any/PKGBUILD (from rev 665626, python-pytest-forked/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-28 06:57:46 UTC (rev 665627)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-forked
+pkgname=('python-pytest-forked' 'python2-pytest-forked')
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='run tests in isolated forked subprocesses'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-forked'
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-forked/archive/v$pkgver.tar.gz")
+sha512sums=('3fbbde21b4157eb8d2f72ae4285e2a84718a1ba85781ee10b53cc36d8de21512c6f2285fad5fa3cf40dcb6df767cc87fc8e749897011d89e84dcf153fc466ba6')
+
+prepare() {
+  cp -a pytest-forked-$pkgver{,-py2}
+
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/pytest-forked-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytest-forked-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/pytest-forked-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/pytest-forked-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-pytest-forked() {
+  depends=('python-pytest')
+
+  cd pytest-forked-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-forked() {
+  depends=('python2-pytest')
+
+  cd pytest-forked-$pkgver-py2
+  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