[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Sunday, November 15, 2020 @ 21:29:33 Author: felixonmars Revision: 754789 upgpkg: python-imdbpy 2020.9.25-2: Python 3.9 rebuild Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-15 21:25:38 UTC (rev 754788) +++ PKGBUILD2020-11-15 21:29:33 UTC (rev 754789) @@ -3,7 +3,7 @@ _name=IMDbPY pkgname=python-imdbpy pkgver=2020.9.25 -pkgrel=1 +pkgrel=2 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any')
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Sunday, November 15, 2020 @ 21:25:38 Author: dvzrv Revision: 754788 Prepare for python 3.9.0. Do not run flaky tests in check(). Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-15 21:25:06 UTC (rev 754787) +++ PKGBUILD2020-11-15 21:25:38 UTC (rev 754788) @@ -16,7 +16,6 @@ prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" - cd "${pkgname}-${pkgver}" } build() { @@ -24,12 +23,12 @@ python setup.py build } -# flaky tests are flaky: https://github.com/alberanid/imdbpy/issues/240 -check() { - cd "${pkgname}-${pkgver}" - export PYTHONPATH="build:${PYTHONPATH}" - pytest -v -} +# # flaky tests are flaky: https://github.com/alberanid/imdbpy/issues/240 +# check() { +# cd "${pkgname}-${pkgver}" +# export PYTHONPATH="build:${PYTHONPATH}" +# pytest -v +# } package() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Friday, September 25, 2020 @ 15:44:01 Author: dvzrv Revision: 712026 upgpkg: python-imdbpy 2020.9.25-1: Upgrade to 2020.9.25. Remove unused fixes. Remove unused python-pytest-cov from checkdepends. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-25 15:38:57 UTC (rev 712025) +++ PKGBUILD2020-09-25 15:44:01 UTC (rev 712026) @@ -1,24 +1,22 @@ -# Maintainer: David Runge +# Maintainer: David Runge _name=IMDbPY pkgname=python-imdbpy -pkgver=6.8 -pkgrel=3 +pkgver=2020.9.25 +pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any') license=('GPL2') depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools') -checkdepends=('python-pytest' 'python-pytest-cov') +checkdepends=('python-pytest') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) -sha512sums=('64b0ab95ca848530d9df3d0da2319497cb1af779d229cb64c1bf59db3cd3e42331cfa854a24222cab5558b9d9af8616098d794756dece463bfefdb3ebdaf42c5') +sha512sums=('5cea5146ace93b525be97ce5f3d8bb037be2e43280b3893c5475b8b2f84265e61db72ef935b1a50c341577a22ce4c98ac6d052eb047868fa88fb2dd3fab6d86a') +b2sums=('a703682d11d798c182bb4fe0a93f8dd50c9e673ff8bb6f1acbea768121c32ec6c3293a559b48381e547c21b12103732d537c6402f0f9c3851016ae0d36376d32') prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}" - # fix install folder for docs and config - sed -e "s/'doc'/'share\/doc\/python-imdbpy\/'/" \ - -e "s/'etc'/'\/etc'/" -i setup.py } build() { @@ -26,24 +24,18 @@ python setup.py build } +# flaky tests are flaky: https://github.com/alberanid/imdbpy/issues/240 check() { cd "${pkgname}-${pkgver}" 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 \ - and not test_movie_sound_mix_if_multiple_with_notes_should_include_notes \ - and not test_selected_unreleased_movie_should_have_correct_state' + pytest -v } package() { cd "${pkgname}-${pkgver}" python setup.py install --skip-build \ ---optimize=1 \ ---prefix=/usr \ ---root="${pkgdir}/" + --optimize=1 \ + --root="${pkgdir}/" install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Tuesday, November 5, 2019 @ 07:59:08 Author: felixonmars Revision: 524171 Python 3.8 rebuild Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-05 07:52:12 UTC (rev 524170) +++ PKGBUILD2019-11-05 07:59:08 UTC (rev 524171) @@ -3,7 +3,7 @@ _name=IMDbPY pkgname=python-imdbpy pkgver=6.8 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any')
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Tuesday, November 5, 2019 @ 07:52:12 Author: dvzrv Revision: 524170 Adding two more failing flaky tests and informing upstream about it. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-05 07:29:19 UTC (rev 524169) +++ PKGBUILD2019-11-05 07:52:12 UTC (rev 524170) @@ -33,7 +33,9 @@ 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' + and not test_person_height_should_be_in_inches_and_meters \ + and not test_movie_sound_mix_if_multiple_with_notes_should_include_notes \ + and not test_selected_unreleased_movie_should_have_correct_state' } package() {
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
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 === --- PKGBUILD2019-10-06 21:32:43 UTC (rev 513668) +++ PKGBUILD2019-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:
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Tuesday, July 23, 2019 @ 14:05:19 Author: dvzrv Revision: 492645 upgpkg: python-imdbpy 6.8-1 Upgrading to 6.8. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-23 12:50:40 UTC (rev 492644) +++ PKGBUILD2019-07-23 14:05:19 UTC (rev 492645) @@ -2,7 +2,7 @@ _name=IMDbPY pkgname=python-imdbpy -pkgver=6.7 +pkgver=6.8 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; @@ -11,7 +11,7 @@ depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) -sha512sums=('bcf9c26d4a1fc078e7f2a09a047329a0cc516d81e280578515f93a2c0201ae8f12baf7f710d962f29aa09a81ee426891a58840a6e279c5acc30dbc3b0911dee9') +sha512sums=('64b0ab95ca848530d9df3d0da2319497cb1af779d229cb64c1bf59db3cd3e42331cfa854a24222cab5558b9d9af8616098d794756dece463bfefdb3ebdaf42c5') prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Monday, May 20, 2019 @ 08:34:25 Author: dvzrv Revision: 468032 upgpkg: python-imdbpy 6.7-1 Upgrading to 6.7. Switching to pypi for sources, after tests have been included in the srcdist. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-20 08:17:21 UTC (rev 468031) +++ PKGBUILD2019-05-20 08:34:25 UTC (rev 468032) @@ -1,10 +1,8 @@ # Maintainer: David Runge -# pypi upstream name is differnt -#_name=IMDbPY -_name=imdbpy +_name=IMDbPY pkgname=python-imdbpy -pkgver=6.6 +pkgver=6.7 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; @@ -12,11 +10,8 @@ license=('GPL2') depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') -source=("${_name}-${pkgver}.tar.gz::https://github.com/alberanid/${_name}/archive/${pkgver}.tar.gz";) -# pypi sources don't have tests yet: -# https://github.com/alberanid/imdbpy/issues/180 -#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) -sha512sums=('668ec0303e4b5cb5aa97dc3111ffd36bcf85b01713365ed5eb8f1bb76ddcb2d23f651d0f8ffcd07dea3a83f70de7cb2b196624659ba20e3faca1029a9512fa38') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) +sha512sums=('bcf9c26d4a1fc078e7f2a09a047329a0cc516d81e280578515f93a2c0201ae8f12baf7f710d962f29aa09a81ee426891a58840a6e279c5acc30dbc3b0911dee9') prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Sunday, August 5, 2018 @ 18:39:54 Author: dvzrv Revision: 368409 upgpkg: python-imdbpy 6.6-1 Upgrading to 0.6.6. Streamlining source array use. Removing all (now unbroken) disabled tests. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-05 18:21:14 UTC (rev 368408) +++ PKGBUILD2018-08-05 18:39:54 UTC (rev 368409) @@ -1,9 +1,12 @@ # $Id$ # Maintainer: David Runge +# pypi upstream name is differnt +#_name=IMDbPY +_name=imdbpy pkgname=python-imdbpy -pkgver=6.5 -pkgrel=3 +pkgver=6.6 +pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any') @@ -10,28 +13,18 @@ license=('GPL2') depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) -sha512sums=('4147088c2558fcd2e30f6e338b72ebd4b1c3917a54df5a6e0ee8fb51ba2b9fe370b32553a899e74108fa089aaa1fff4ff248ab6b14ca959b80c6b5aade7b58a7') +source=("${_name}-${pkgver}.tar.gz::https://github.com/alberanid/${_name}/archive/${pkgver}.tar.gz";) +# pypi sources don't have tests yet: +# https://github.com/alberanid/imdbpy/issues/180 +#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) +sha512sums=('668ec0303e4b5cb5aa97dc3111ffd36bcf85b01713365ed5eb8f1bb76ddcb2d23f651d0f8ffcd07dea3a83f70de7cb2b196624659ba20e3faca1029a9512fa38') prepare() { - mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}" + mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}" # 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 - sed -e 's/test_name_should_not_include_country/disabled_&/' \ - -i tests/test_http_company_main.py } build() {
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Saturday, July 28, 2018 @ 09:41:18 Author: dvzrv Revision: 363724 upgpkg: python-imdbpy 6.5-3 Disabling yet another flaky test. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-28 09:39:49 UTC (rev 363723) +++ PKGBUILD2018-07-28 09:41:18 UTC (rev 363724) @@ -3,7 +3,7 @@ pkgname=python-imdbpy pkgver=6.5 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any') @@ -30,7 +30,8 @@ -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 - + sed -e 's/test_name_should_not_include_country/disabled_&/' \ + -i tests/test_http_company_main.py } build() {
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
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 === --- PKGBUILD2018-07-27 13:28:04 UTC (rev 363686) +++ PKGBUILD2018-07-27 14:43:06 UTC (rev 363687) @@ -1,8 +1,9 @@ +# $Id$ # Maintainer: David Runge 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() {
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Monday, April 16, 2018 @ 21:22:04 Author: dvzrv Revision: 316574 upgpkg: python-imdbpy 6.5-1 Upgrading to 6.5. Adding python-setuptools to depends (imdbpy defines entry point). Moving docs to the correct folder /usr/share/doc/python-imdbpy. Adding README.rst. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-04-16 21:08:58 UTC (rev 316573) +++ PKGBUILD2018-04-16 21:22:04 UTC (rev 316574) @@ -1,23 +1,22 @@ # Maintainer: David Runge pkgname=python-imdbpy -pkgver=6.4.1 +pkgver=6.5 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any') license=('GPL2') -depends=('python-lxml' 'python-sqlalchemy') -makedepends=('python-pytest' 'python-setuptools') +depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) -sha512sums=('558c1bb9346d7a109c29057c181f7ceabeaba76165e385ff6aef603f2873af6b89cb77391bec9d496c1419cc3af51b48ac966bb3233f7f374a0a8700ca7cda5e') +sha512sums=('4147088c2558fcd2e30f6e338b72ebd4b1c3917a54df5a6e0ee8fb51ba2b9fe370b32553a899e74108fa089aaa1fff4ff248ab6b14ca959b80c6b5aade7b58a7') prepare() { mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}" # fix install folder for docs and config - sed -e "s/'doc'/'share\/doc'/" \ + sed -e "s/'doc'/'share\/doc\/python-imdbpy\/'/" \ -e "s/'etc'/'\/etc'/" -i setup.py } @@ -38,7 +37,7 @@ --optimize=1 \ --prefix=/usr \ --root="${pkgdir}/" - install -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Saturday, March 17, 2018 @ 19:16:34 Author: dvzrv Revision: 308970 upgpkg: python-imdbpy 6.4.1-1 Upgrading to 6.4.1. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-17 19:08:27 UTC (rev 308969) +++ PKGBUILD2018-03-17 19:16:34 UTC (rev 308970) @@ -1,7 +1,7 @@ # Maintainer: David Runge pkgname=python-imdbpy -pkgver=6.4 +pkgver=6.4.1 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; @@ -11,7 +11,7 @@ makedepends=('python-pytest' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) -sha512sums=('dc1852abffaafe495b6c22bcbd6afb999ca03efcb3a5d2e5aea56221b249169b5b0bd0b31858e22dc40ef3c9b4e43c51c43720a1aa3e35fe149a5a6f734af1d2') +sha512sums=('558c1bb9346d7a109c29057c181f7ceabeaba76165e385ff6aef603f2873af6b89cb77391bec9d496c1419cc3af51b48ac966bb3233f7f374a0a8700ca7cda5e') prepare() { mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}"
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Thursday, March 15, 2018 @ 01:53:30 Author: dvzrv Revision: 307889 upgpkg: python-imdbpy 6.4-1 Upgrading to 6.4. Removing broken test removal (fixed upstream). Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-15 01:47:12 UTC (rev 307888) +++ PKGBUILD2018-03-15 01:53:30 UTC (rev 307889) @@ -1,7 +1,7 @@ # Maintainer: David Runge pkgname=python-imdbpy -pkgver=6.3 +pkgver=6.4 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; @@ -11,7 +11,7 @@ makedepends=('python-pytest' 'python-setuptools') checkdepends=('python-pytest' 'python-pytest-cov') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) -sha512sums=('7317d55a7dce4d0d94d6d7c8758b719685c596981d7ee07077eb9cb998d67d3f808c8659a0e920bde8d029deb0ec0ccd102ea577e98cd9cea4ba2ae8b0a27f6d') +sha512sums=('dc1852abffaafe495b6c22bcbd6afb999ca03efcb3a5d2e5aea56221b249169b5b0bd0b31858e22dc40ef3c9b4e43c51c43720a1aa3e35fe149a5a6f734af1d2') prepare() { mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}" @@ -19,8 +19,6 @@ # fix install folder for docs and config sed -e "s/'doc'/'share\/doc'/" \ -e "s/'etc'/'\/etc'/" -i setup.py - # removing broken test: https://github.com/alberanid/imdbpy/issues/135 - sed '366,369d' -i tests/test_http_movie_combined.py } build() {
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Tuesday, March 6, 2018 @ 17:55:22 Author: dvzrv Revision: 303157 upgpkg: python-imdbpy 6.3-1 Upgrading to 6.3. Introducing tests. Moving python-{lxml,sqlalchemy} to depends. Adding python-pytest{,-cov} to checkdepends. Disabling broken test (upstream fix requested). Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-06 17:42:59 UTC (rev 303156) +++ PKGBUILD2018-03-06 17:55:22 UTC (rev 303157) @@ -1,38 +1,46 @@ # Maintainer: David Runge pkgname=python-imdbpy -pkgver=6.2 -pkgrel=2 +pkgver=6.3 +pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any') license=('GPL2') -depends=('python') +depends=('python-lxml' 'python-sqlalchemy') makedepends=('python-pytest' 'python-setuptools') -optdepends=('python-lxml' 'python-sqlalchemy') -source=("https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) -sha512sums=('78b371eb73eb2eda2df465ab83a05152d156eb19dd05f317173aa15b8b56c14fa9f9d4943d053c93a29da794b608a0ea4af3353143fb76e033c6dc0d8e651cd8') +checkdepends=('python-pytest' 'python-pytest-cov') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";) +sha512sums=('7317d55a7dce4d0d94d6d7c8758b719685c596981d7ee07077eb9cb998d67d3f808c8659a0e920bde8d029deb0ec0ccd102ea577e98cd9cea4ba2ae8b0a27f6d') prepare() { - cd "${pkgname/python-/}-${pkgver}" - # fix install folder for docs - sed -i "s/'doc'/'share\/doc'/g" setup.py - # fix install folder for config - sed -i "s/'etc'/'\/etc'/g" setup.py + mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" + # fix install folder for docs and config + sed -e "s/'doc'/'share\/doc'/" \ + -e "s/'etc'/'\/etc'/" -i setup.py + # removing broken test: https://github.com/alberanid/imdbpy/issues/135 + sed '366,369d' -i tests/test_http_movie_combined.py } build() { - cd "${pkgname/python-/}-${pkgver}" + cd "${pkgname}-${pkgver}" python setup.py build } +check() { + cd "${pkgname}-${pkgver}" + export PYTHONPATH=${srcdir}/${pkgname}-${pkgver}/build:${PYTHONPATH} + py.test +} + package() { - cd "${pkgname/python-/}-${pkgver}" + cd "${pkgname}-${pkgver}" python setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ --root="${pkgdir}/" - install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-imdbpy/trunk (PKGBUILD)
Date: Wednesday, January 17, 2018 @ 13:44:07 Author: dvzrv Revision: 283663 upgpkg: python-imdbpy 6.2-2 Updating for community. Modified: python-imdbpy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-01-17 13:39:42 UTC (rev 283662) +++ PKGBUILD2018-01-17 13:44:07 UTC (rev 283663) @@ -2,7 +2,7 @@ pkgname=python-imdbpy pkgver=6.2 -pkgrel=1 +pkgrel=2 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="https://imdbpy.sourceforge.io/"; arch=('any')