[arch-commits] Commit in python-pytest-timeout/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Feb 14 17:08:44 UTC 2022
Date: Monday, February 14, 2022 @ 17:08:44
Author: felixonmars
Revision: 1133204
archrelease: copy trunk to community-any
Added:
python-pytest-timeout/repos/community-any/PKGBUILD
(from rev 1133203, python-pytest-timeout/trunk/PKGBUILD)
Deleted:
python-pytest-timeout/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-14 17:08:36 UTC (rev 1133203)
+++ PKGBUILD 2022-02-14 17:08:44 UTC (rev 1133204)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-timeout
-pkgver=1.4.2
-pkgrel=7
-pkgdesc='py.test plugin to abort hanging tests'
-arch=('any')
-license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-timeout'
-depends=('python-pytest')
-makedepends=('python-setuptools' 'python-pytest')
-checkdepends=('python-pexpect' 'python-pytest-cov')
-source=("https://github.com/pytest-dev/pytest-timeout/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('062ce6c832a7139874ad8f165818c2a7d9cef4a2fe2c53a6c37d4f0a060cf920204f1d2d255e4d31953c0da268e708c1d305f362cd6d0ea103bc101ffb51b098')
-
-build() {
- cd "$srcdir"/pytest-timeout-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pytest-timeout-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
-}
-
-package() {
- cd pytest-timeout-$pkgver
- python 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-timeout/repos/community-any/PKGBUILD (from rev 1133203, python-pytest-timeout/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-14 17:08:44 UTC (rev 1133204)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-timeout
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='py.test plugin to abort hanging tests'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-timeout'
+depends=('python-pytest')
+makedepends=('python-setuptools' 'python-pytest')
+checkdepends=('python-pexpect' 'python-pytest-cov')
+source=("https://github.com/pytest-dev/pytest-timeout/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('18c123611c9203620ee09332d9e8062bf8de8b0e2698459674a8a101713b1672487b538c7bfd111c82d8fb3aae2ed9f2f3ad1b754302145e8f003732ed391351')
+
+build() {
+ cd pytest-timeout-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-timeout-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
+}
+
+package() {
+ cd pytest-timeout-$pkgver
+ python setup.py install --root="$pkgdir"/ --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list