[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Jul 27 14:43:06 UTC 2018


    Date: Friday, July 27, 2018 @ 14:43:06
  Author: dvzrv
Revision: 363687

upgpkg: python-imdbpy 6.5-2

Rebuilding against python3.7. Disabling flaky tests.

Modified:
  python-imdbpy/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-27 13:28:04 UTC (rev 363686)
+++ PKGBUILD	2018-07-27 14:43:06 UTC (rev 363687)
@@ -1,8 +1,9 @@
+# $Id$
 # Maintainer: David Runge <dave at sleepmap.de>
 
 pkgname=python-imdbpy
 pkgver=6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
 url="https://imdbpy.sourceforge.io/"
 arch=('any')
@@ -18,6 +19,18 @@
   # fix install folder for docs and config
   sed -e "s/'doc'/'share\/doc\/python-imdbpy\/'/" \
       -e "s/'etc'/'\/etc'/" -i setup.py
+  # disable flaky tests: https://github.com/alberanid/imdbpy/issues/177
+  sed -e 's/test_movie_taglines_single_should_be_a_list_of_phrases/disabled_&/' \
+      -i tests/test_http_movie_taglines.py
+  sed -e 's/test_movie_ratings_demographics_should_be_19/disabled_&/' \
+      -i tests/test_http_movie_votes.py
+  sed -e 's/test_death_date_should_be_in_ymd_format/disabled_&/' \
+      -e 's/test_birth_date_should_be_in_ymd_format/disabled_&/' \
+      -e 's/test_trade_mark_should_be_a_list/disabled_&/' \
+      -i tests/test_http_person_bio.py
+  sed -e 's/test_found_many_result_should_contain_correct_number_of_movies/disabled_&/' \
+      -i tests/test_http_search_movie.py
+
 }
 
 build() {



More information about the arch-commits mailing list