# Contributor: Leonardo Arena # Maintainer: Keith Maxwell pkgname=py3-ruamel.yaml pkgver=0.16.5 pkgrel=1 pkgdesc="A YAML parser/emitter" url="https://bitbucket.org/ruamel/yaml" arch="all" license="MIT" replaces="py-ruamel py3-ruamel" provides="py-ruamel=$pkgver-r$pkgrel py3-ruamel=$pkgver-r$pkgrel" makedepends="python3-dev py3-setuptools" checkdepends="py3-pytest py3-ruamel.std.pathlib" source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/ruamel/yaml/get/$pkgver.tar.gz" builddir="$srcdir/ruamel-yaml-ff02b83b8f91" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" \ --single-version-externally-managed } check() { PYTHONPATH="$PWD/build/lib" python3 -m pytest \ --deselect=_test/test_issues.py::TestIssues::test_issue_82 \ --deselect=_test/test_issues.py::TestIssues::test_issue_220 \ --deselect=_test/test_issues.py::TestIssues::test_issue_238 \ --deselect=_test/test_yamlobject.py::test_monster \ --deselect=_test/test_yamlobject.py::test_qualified_name00 \ --deselect=_test/test_cyaml.py::test_load_cyaml \ --deselect=_test/test_cyaml.py::test_dump_cyaml \ --deselect=_test/test_cyaml.py::test_load_cyaml_1_2 \ --deselect=_test/test_cyaml.py::test_dump_cyaml_1_2 \ _test/test_*.py } sha512sums="ce08ae50b9084d56c8e0f5a546cb3a23d4cdad643836aa60a44a995459d3d90057d14fa79493c36f415d7bc22936806d0b4f9b34f93192ac536526a314024c45 py3-ruamel.yaml-0.16.5.tar.gz"