[arch-commits] Commit in python-pytest-timeout/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Feb 14 17:08:36 UTC 2022
Date: Monday, February 14, 2022 @ 17:08:36
Author: felixonmars
Revision: 1133203
upgpkg: python-pytest-timeout 2.0.1-1
Modified:
python-pytest-timeout/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-14 17:05:54 UTC (rev 1133202)
+++ PKGBUILD 2022-02-14 17:08:36 UTC (rev 1133203)
@@ -1,20 +1,20 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-pytest-timeout
-pkgver=1.4.2
-pkgrel=7
+pkgver=2.0.1
+pkgrel=1
pkgdesc='py.test plugin to abort hanging tests'
arch=('any')
license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-timeout'
+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=('062ce6c832a7139874ad8f165818c2a7d9cef4a2fe2c53a6c37d4f0a060cf920204f1d2d255e4d31953c0da268e708c1d305f362cd6d0ea103bc101ffb51b098')
+sha512sums=('18c123611c9203620ee09332d9e8062bf8de8b0e2698459674a8a101713b1672487b538c7bfd111c82d8fb3aae2ed9f2f3ad1b754302145e8f003732ed391351')
build() {
- cd "$srcdir"/pytest-timeout-$pkgver
+ cd pytest-timeout-$pkgver
python setup.py build
}
@@ -21,7 +21,7 @@
check() {
# Hack entry points by installing it
- cd "$srcdir"/pytest-timeout-$pkgver
+ 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
}
@@ -29,7 +29,7 @@
package() {
cd pytest-timeout-$pkgver
python setup.py install --root="$pkgdir"/ --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list