aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pmbootstrap/APKBUILD
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-01-26 00:01:39 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-01-27 20:55:59 +0100
commit6437555d0d0c1ab2bae149f7424fe2f1a45c77bf (patch)
tree7a9e91728084878ecf21d32d451e20cc47f68094 /testing/pmbootstrap/APKBUILD
parent377a336d997fd781f08f437c576c1c3d7bbfc7a1 (diff)
downloadaports-6437555d0d0c1ab2bae149f7424fe2f1a45c77bf.tar.bz2
aports-6437555d0d0c1ab2bae149f7424fe2f1a45c77bf.tar.xz
community/py3-ruamel.yaml: upgrade to 0.16.6
The previous homepage responds with 404. The upstream project, including a mercurial repository, has moved from BitBucket to Sourceforge. The [Sourceforge page] listed several files to download including: https://downloads.sourceforge.net/ruamel-yaml/ruamel.yaml-0.16.6.tar.xz fc305499241de6cf5c2fa694a53762d853dce44af34f4aff1774d0ee772620cea7398591d1f8f4c43573d276ffd8cfd147dae0e98764e1a5a6045542514dcc42 Which was enough to make sure check() succeeds: The issue was that python failed to import ruamel.yaml: the solution is to call `pytest-3` rather than `python3 -m pytest` According to the [pytest documentation], a difference between running pytest as `pytest` vs `python3 -m pytest` is that the later will also add the current directory, in this case `$builddir` to sys.path. Somehow if `$builddir` is on `sys.path` the package to test is not found. The Sourceforge download URL above now 404s and the project's files page is now empty. PyPI can be used as `$source` instead. The artifact on PyPI does not include the tests, so these are again disabled. The C module is now distributed separately. [Sourceforge page]: https://sourceforge.net/projects/ruamel-yaml/files/ [pytest documentation]: https://docs.pytest.org/en/latest/usage.html#calling-pytest-through-python-m-pytest
Diffstat (limited to 'testing/pmbootstrap/APKBUILD')
0 files changed, 0 insertions, 0 deletions