[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Oct 6 22:00:12 UTC 2019
Date: Sunday, October 6, 2019 @ 22:00:11
Author: dvzrv
Revision: 513669
upgpkg: python-imdbpy 6.8-2
Fixing unquoted srcdir (by removing it) and disabling flaky tests.
Modified:
python-imdbpy/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 21:32:43 UTC (rev 513668)
+++ PKGBUILD 2019-10-06 22:00:11 UTC (rev 513669)
@@ -3,7 +3,7 @@
_name=IMDbPY
pkgname=python-imdbpy
pkgver=6.8
-pkgrel=1
+pkgrel=2
pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
url="https://imdbpy.sourceforge.io/"
arch=('any')
@@ -28,8 +28,12 @@
check() {
cd "${pkgname}-${pkgver}"
- export PYTHONPATH=${srcdir}/${pkgname}-${pkgver}/build:${PYTHONPATH}
- py.test
+ export PYTHONPATH="build:${PYTHONPATH}"
+ # flaky tests are flaky: https://github.com/alberanid/imdbpy/issues/240
+ py.test -k 'not test_movie_genres_if_single_should_be_a_list_of_genre_names \
+ and not test_movie_runtimes_with_countries_should_include_context \
+ and not test_movie_full_credits_for_tv_show \
+ and not test_person_height_should_be_in_inches_and_meters'
}
package() {
@@ -40,5 +44,4 @@
--root="${pkgdir}/"
install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list