From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- www-misc/Manifest.gz | Bin 3087 -> 3093 bytes www-misc/buku/Manifest | 2 +- www-misc/buku/buku-4.6-r1.ebuild | 90 +++++++++++++++++++++++++++++++++++++ www-misc/buku/buku-4.6.ebuild | 95 --------------------------------------- 4 files changed, 91 insertions(+), 96 deletions(-) create mode 100644 www-misc/buku/buku-4.6-r1.ebuild delete mode 100644 www-misc/buku/buku-4.6.ebuild (limited to 'www-misc') diff --git a/www-misc/Manifest.gz b/www-misc/Manifest.gz index 2ce2196727a0..ab30ff8143e7 100644 Binary files a/www-misc/Manifest.gz and b/www-misc/Manifest.gz differ diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index bf16f6c27412..f9cc687b7e3c 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -2,5 +2,5 @@ AUX buku-4.5-hypothesis-fix.patch 17711 BLAKE2B fb5b57e25f36b15d8f3a48bb0291a657 DIST buku-4.5.tar.gz 488913 BLAKE2B 29ed93fa9af4503f72a711889fbf17d86bcde1bc1abbfc88242c4ebd18f1c1a57077781eebdd79d9d993078d2f5b5883c9a0ec4fee94e37c0e7bfb727c5154d0 SHA512 7bbb598d5c970e8e594d58c0a18f9b85245d4a214c01d64b537a5ccaadab32c964521046b90754c2f2c721bf816dc7f4438cfeff3a7e7eec75ce958cc41dfa7d DIST buku-4.6.tar.gz 491809 BLAKE2B 82597b845c56dadf1cc6973d1f3ce6cc4970230d08ac700cf286a8c41420144fb1f42817ab808041600ab8414d96f3a3883c1bd8fbe89f29570d877a495dcd96 SHA512 1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a EBUILD buku-4.5.ebuild 3019 BLAKE2B 92c4deb07a3dfaca4762f5a877173d7fbf0576be73a2e485b17d17fc8a4c748da68a9c27ca7e6c5e1fcd1238a02cdf47b7aad0982f50f02079d9bed96b650059 SHA512 39ae35d6b80e5838bb7eb8792d52437c5ca961514ef2f0644fba06a14b4ff839599caf7172e18e82e8240f17441f598b9710885251c807456975568f0f2f3bfe -EBUILD buku-4.6.ebuild 3020 BLAKE2B d6e967435d8fcd6f98a3d8777102e7e5cdf096e8ff55799cadbaa25a0cbb11f334495231a6a1996a2840b8ce4f483a90ddbee6b09756e4a3176b07abc392cf1b SHA512 5b8cfc0d9fc052a22d20bc1858030c974d2e64dabc47833b248785b93b977c150e8cc44e7b66d09bb61e6bdf034f9722e8105b0fa4e60516c3919c0ef4d9e401 +EBUILD buku-4.6-r1.ebuild 2959 BLAKE2B 85af080ad88fde7d867a3a72bc54a60c00bcdbe78b39081b850f418ef229561553275a30bbd781ba800bc8510d4036a21c974f2061d8579b2ee428eaeb0ae116 SHA512 a5291c2be92ed32e530b651124f797be08a875f2c4d029e7a1ce5192e6fc19baaddafa1776666d6021374051bef86c2ec0116aa28654abf13fb8ffc6cf615145 MISC metadata.xml 579 BLAKE2B 3a044a07f97593dd2299dad004db229527759be278ff3b77d7cc70d505d45edde843754e52070fe0dadecd0250db66aa3f0f71e964d1180f493d698285088a34 SHA512 e887a1de3487f512b1cb48e256749e91171c72a7626458c22dfdbad6da73afe2418e25242f1ae9b20b85a508145ee69ec95a61b3c20c6049c3c71291e16b6405 diff --git a/www-misc/buku/buku-4.6-r1.ebuild b/www-misc/buku/buku-4.6-r1.ebuild new file mode 100644 index 000000000000..27a0923bc31d --- /dev/null +++ b/www-misc/buku/buku-4.6-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_REQ_USE="sqlite" + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/buku" +SRC_URI="https://github.com/jarun/${PN}/archive/v$(ver_cut 1-2).tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + >=dev-python/py-1.5.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pyyaml-4.2[${PYTHON_USEDEP}] + >=dev-python/vcrpy-4.0.2[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Remove support for bukuserver - complex depgraph which isn't all + # sufficiently packaged in Gentoo + sed -ie '/console_scripts/s/,.*/]/' setup.py || die + sed -ie 's/.*bukuserver.*//' tests/test_views.py || die + sed -ie 's/.*flask.*//' tests/test_views.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr/share/zsh/site-functions + doins auto-completion/zsh/_* + + newbashcomp auto-completion/bash/buku-completion.bash "${PN}" + + doman buku.1 +} + +python_test() { + local skipped_tests=( + # Disable tests related to bukuserver + tests/test_setup.py::test_bukuserver_requirement + tests/test_views.py::test_bmv_create_form + tests/test_views.py::test_bookmark_model_view + tests/test_views.py::test_load_firefox_database + tests/test_views.py::test_tag_model_view_get_list + tests/test_views.py::test_tag_model_view_get_list_empty_db + + # Broken with network-sandbox + tests/test_buku.py::test_network_handler_with_url + tests/test_bukuDb.py::TestBukuDb::test_tnyfy_url + tests/test_bukuDb.py::test_add_rec_exec_arg + tests/test_bukuDb.py::test_load_firefox + tests/test_bukuDb.py::test_print_db + tests/test_bukuDb.py::test_print_rec + tests/test_bukuDb.py::test_refreshdb + + # Hard to debug sandbox issue - these pass when run outside portage + # There also appears to be some state issue between these, because + # skipping one can result in a later one failing. + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-False] + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-False-True] + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-False-False] + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-True] + ) + + # tests/test_server.py is bukuserver tests, ignore it + pytest -p no:verbose-parametrize -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" +} diff --git a/www-misc/buku/buku-4.6.ebuild b/www-misc/buku/buku-4.6.ebuild deleted file mode 100644 index d7dd628bd781..000000000000 --- a/www-misc/buku/buku-4.6.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Powerful command-line bookmark manager" -HOMEPAGE="https://github.com/jarun/buku" -SRC_URI="https://github.com/jarun/${PN}/archive/v$(ver_cut 1-2).tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - >=dev-python/py-1.5.0[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pyyaml-4.2[${PYTHON_USEDEP}] - >=dev-python/vcrpy-4.0.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - #"${FILESDIR}/${P}-hypothesis-fix.patch" -) - -python_prepare_all() { - # Remove support for bukuserver - complex depgraph which isn't all - # sufficiently packaged in Gentoo - sed -ie '/console_scripts/s/,.*/]/' setup.py || die - sed -ie 's/.*bukuserver.*//' tests/test_views.py || die - sed -ie 's/.*flask.*//' tests/test_views.py || die - - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /usr/share/zsh/site-functions - doins auto-completion/zsh/_* - - newbashcomp auto-completion/bash/buku-completion.bash "${PN}" - - doman buku.1 -} - -python_test() { - local skipped_tests=( - # Disable tests related to bukuserver - tests/test_setup.py::test_bukuserver_requirement - tests/test_views.py::test_bmv_create_form - tests/test_views.py::test_bookmark_model_view - tests/test_views.py::test_load_firefox_database - tests/test_views.py::test_tag_model_view_get_list - tests/test_views.py::test_tag_model_view_get_list_empty_db - - # Broken with network-sandbox - tests/test_buku.py::test_network_handler_with_url - tests/test_bukuDb.py::TestBukuDb::test_tnyfy_url - tests/test_bukuDb.py::test_add_rec_exec_arg - tests/test_bukuDb.py::test_load_firefox - tests/test_bukuDb.py::test_print_db - tests/test_bukuDb.py::test_print_rec - tests/test_bukuDb.py::test_refreshdb - - # Hard to debug sandbox issue - these pass when run outside portage - # There also appears to be some state issue between these, because - # skipping one can result in a later one failing. - tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-False] - tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-False-True] - tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-False-False] - tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-True] - ) - - # tests/test_server.py is bukuserver tests, ignore it - pytest -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" -} -- cgit v1.2.3