[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: c10f53a20d94080d544166ad6ec25c666dee6a46 Author: John Helmert III gentoo org> AuthorDate: Sun Jul 28 18:33:50 2024 + Commit: John Helmert III gentoo org> CommitDate: Sun Jul 28 18:42:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10f53a2 www-misc/buku: drop 4.8 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 - www-misc/buku/buku-4.8.ebuild | 91 --- 2 files changed, 92 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 0d0153569be1..3783191f5ade 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1 @@ -DIST buku-4.8.tar.gz 591883 BLAKE2B 459ff04a414d3f320a76e8d7792a977f40b030597b846cff34abc862f062956dcfe477d01606744b13e8afe1c6d48f73848816488094f4941b4723a5cd4fedb6 SHA512 a87311adbd72ed614e870c24ecf890633672a6dab12d18f40017177049b2aaebbc66776740f893248b99f2f79d85b6d7b9e57c1fd1bbf6c95963ca57649dc2bf DIST buku-4.9.tar.gz 615794 BLAKE2B 79e0b7980d1df2b063be5b115c6d55fce63b9e9a58bae5c1ae4d81d77b644c90df2698e20a1743daf5468f4b08ab7b2125af073906385693419249b989686f3f SHA512 3804ea759c3b0172ab07b266123b27683f4785f1fb10859b4fd5b41e267b93e6ad0901b2456a27e434aef216f2063c5881d2755ec45789b3f2d42fe608b32eb2 diff --git a/www-misc/buku/buku-4.8.ebuild b/www-misc/buku/buku-4.8.ebuild deleted file mode 100644 index a54c84ebd83a.. --- a/www-misc/buku/buku-4.8.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11} ) -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/beautifulsoup4-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
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 3eceedb6b96bf5214eaa84cfd8ef6da148d26369 Author: David Roman gmail com> AuthorDate: Sun Apr 21 23:23:39 2024 + Commit: John Helmert III gentoo org> CommitDate: Sun Apr 21 23:33:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eceedb6 www-misc/buku: add 4.9 Closes: https://bugs.gentoo.org/929879 Signed-off-by: David Roman gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36243 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.9.ebuild | 77 +++ 2 files changed, 78 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index fd6de91b4d7b..0d0153569be1 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.8.tar.gz 591883 BLAKE2B 459ff04a414d3f320a76e8d7792a977f40b030597b846cff34abc862f062956dcfe477d01606744b13e8afe1c6d48f73848816488094f4941b4723a5cd4fedb6 SHA512 a87311adbd72ed614e870c24ecf890633672a6dab12d18f40017177049b2aaebbc66776740f893248b99f2f79d85b6d7b9e57c1fd1bbf6c95963ca57649dc2bf +DIST buku-4.9.tar.gz 615794 BLAKE2B 79e0b7980d1df2b063be5b115c6d55fce63b9e9a58bae5c1ae4d81d77b644c90df2698e20a1743daf5468f4b08ab7b2125af073906385693419249b989686f3f SHA512 3804ea759c3b0172ab07b266123b27683f4785f1fb10859b4fd5b41e267b93e6ad0901b2456a27e434aef216f2063c5881d2755ec45789b3f2d42fe608b32eb2 diff --git a/www-misc/buku/buku-4.9.ebuild b/www-misc/buku/buku-4.9.ebuild new file mode 100644 index ..a97191b80844 --- /dev/null +++ b/www-misc/buku/buku-4.9.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10,11,12} ) +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/beautifulsoup4-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}] + ) +" + +EPYTEST_IGNORE=( + # bukuserver tests + tests/test_views.py + tests/test_server.py +) + +EPYTEST_DESELECT=( + # Broken with network-sandbox + tests/test_buku.py::test_network_handler_with_url + tests/test_buku.py::test_fetch_data_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 +) + +distutils_enable_tests pytest + +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 + + 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 +}
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 7dc25bc0a5faf68fc9c3cb0ade8962dcb8f52cf5 Author: John Helmert III gentoo org> AuthorDate: Sun Jun 11 18:35:27 2023 + Commit: John Helmert III gentoo org> CommitDate: Sun Jun 11 19:00:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc25bc0 www-misc/buku: drop 4.7-r1 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest | 1 - www-misc/buku/buku-4.7-r1.ebuild | 91 2 files changed, 92 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 676b3be1ce90..fd6de91b4d7b 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1 @@ -DIST buku-4.7.tar.gz 495773 BLAKE2B 193849333bae9436573d596285f56b17b1b69c4352acbd883d0a82ed3645a7888a509f36ee33fa29526bd3d429e482ef8f43a0e1fd8def7d499f48afd9adba17 SHA512 f5e8984638d2fadeb1227f6ed9015c17fc46f490b6dc3ede7b66db79489cc96c9a8e3426f4722503a7e5a918d874813cf4f1462c4a32ea247e8c581e34555c07 DIST buku-4.8.tar.gz 591883 BLAKE2B 459ff04a414d3f320a76e8d7792a977f40b030597b846cff34abc862f062956dcfe477d01606744b13e8afe1c6d48f73848816488094f4941b4723a5cd4fedb6 SHA512 a87311adbd72ed614e870c24ecf890633672a6dab12d18f40017177049b2aaebbc66776740f893248b99f2f79d85b6d7b9e57c1fd1bbf6c95963ca57649dc2bf diff --git a/www-misc/buku/buku-4.7-r1.ebuild b/www-misc/buku/buku-4.7-r1.ebuild deleted file mode 100644 index 5c5475abc24e.. --- a/www-misc/buku/buku-4.7-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11} ) -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/beautifulsoup4-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
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: f0d88cc6844c6cf2d07ba2d97fbe95f85e05bf69 Author: John Helmert III gentoo org> AuthorDate: Sun Feb 19 00:04:58 2023 + Commit: John Helmert III gentoo org> CommitDate: Sun Feb 19 00:57:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d88cc6 www-misc/buku: add 4.8 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.8.ebuild | 91 +++ 2 files changed, 92 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index effe93b4363b..676b3be1ce90 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.7.tar.gz 495773 BLAKE2B 193849333bae9436573d596285f56b17b1b69c4352acbd883d0a82ed3645a7888a509f36ee33fa29526bd3d429e482ef8f43a0e1fd8def7d499f48afd9adba17 SHA512 f5e8984638d2fadeb1227f6ed9015c17fc46f490b6dc3ede7b66db79489cc96c9a8e3426f4722503a7e5a918d874813cf4f1462c4a32ea247e8c581e34555c07 +DIST buku-4.8.tar.gz 591883 BLAKE2B 459ff04a414d3f320a76e8d7792a977f40b030597b846cff34abc862f062956dcfe477d01606744b13e8afe1c6d48f73848816488094f4941b4723a5cd4fedb6 SHA512 a87311adbd72ed614e870c24ecf890633672a6dab12d18f40017177049b2aaebbc66776740f893248b99f2f79d85b6d7b9e57c1fd1bbf6c95963ca57649dc2bf diff --git a/www-misc/buku/buku-4.8.ebuild b/www-misc/buku/buku-4.8.ebuild new file mode 100644 index ..a54c84ebd83a --- /dev/null +++ b/www-misc/buku/buku-4.8.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11} ) +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/beautifulsoup4-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
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 2ff16d2def9ab505fa03049d12da50c9589e9127 Author: John Helmert III gentoo org> AuthorDate: Sun Feb 19 00:56:18 2023 + Commit: John Helmert III gentoo org> CommitDate: Sun Feb 19 00:57:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff16d2d www-misc/buku: drop 4.7 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/buku-4.7.ebuild | 90 --- 1 file changed, 90 deletions(-) diff --git a/www-misc/buku/buku-4.7.ebuild b/www-misc/buku/buku-4.7.ebuild deleted file mode 100644 index e27904a3d54b.. --- a/www-misc/buku/buku-4.7.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11} ) -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/beautifulsoup4-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}" -}
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 37ecb01ef132df91e5c324486d8a58f31118794b Author: John Helmert III gentoo org> AuthorDate: Fri Oct 21 05:21:40 2022 + Commit: John Helmert III gentoo org> CommitDate: Fri Oct 21 06:04:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ecb01e www-misc/buku: revbump to add DISTUTILS_USE_PEP517 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/buku-4.7-r1.ebuild | 91 1 file changed, 91 insertions(+) diff --git a/www-misc/buku/buku-4.7-r1.ebuild b/www-misc/buku/buku-4.7-r1.ebuild new file mode 100644 index ..5c5475abc24e --- /dev/null +++ b/www-misc/buku/buku-4.7-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11} ) +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/beautifulsoup4-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}" +}
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 25be7dab297d2b014ae231b55013125d2c792d5b Author: John Helmert III gentoo org> AuthorDate: Fri Oct 21 05:10:45 2022 + Commit: John Helmert III gentoo org> CommitDate: Fri Oct 21 06:04:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25be7dab www-misc/buku: drop 4.6-r1 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest | 1 - www-misc/buku/buku-4.6-r1.ebuild | 90 2 files changed, 91 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index d274f0444203..effe93b4363b 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1 @@ -DIST buku-4.6.tar.gz 491809 BLAKE2B 82597b845c56dadf1cc6973d1f3ce6cc4970230d08ac700cf286a8c41420144fb1f42817ab808041600ab8414d96f3a3883c1bd8fbe89f29570d877a495dcd96 SHA512 1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a DIST buku-4.7.tar.gz 495773 BLAKE2B 193849333bae9436573d596285f56b17b1b69c4352acbd883d0a82ed3645a7888a509f36ee33fa29526bd3d429e482ef8f43a0e1fd8def7d499f48afd9adba17 SHA512 f5e8984638d2fadeb1227f6ed9015c17fc46f490b6dc3ede7b66db79489cc96c9a8e3426f4722503a7e5a918d874813cf4f1462c4a32ea247e8c581e34555c07 diff --git a/www-misc/buku/buku-4.6-r1.ebuild b/www-misc/buku/buku-4.6-r1.ebuild deleted file mode 100644 index 953e902cbc90.. --- a/www-misc/buku/buku-4.6-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# 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/beautifulsoup4-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
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 8c998960e9acb4ddbe211c15f9e6db84fbbd704e Author: John Helmert III gentoo org> AuthorDate: Tue Jul 5 03:33:21 2022 + Commit: John Helmert III gentoo org> CommitDate: Tue Jul 5 03:33:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c998960 www-misc/buku: add 4.7 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.7.ebuild | 90 +++ 2 files changed, 91 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 535588ada185..d274f0444203 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.6.tar.gz 491809 BLAKE2B 82597b845c56dadf1cc6973d1f3ce6cc4970230d08ac700cf286a8c41420144fb1f42817ab808041600ab8414d96f3a3883c1bd8fbe89f29570d877a495dcd96 SHA512 1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a +DIST buku-4.7.tar.gz 495773 BLAKE2B 193849333bae9436573d596285f56b17b1b69c4352acbd883d0a82ed3645a7888a509f36ee33fa29526bd3d429e482ef8f43a0e1fd8def7d499f48afd9adba17 SHA512 f5e8984638d2fadeb1227f6ed9015c17fc46f490b6dc3ede7b66db79489cc96c9a8e3426f4722503a7e5a918d874813cf4f1462c4a32ea247e8c581e34555c07 diff --git a/www-misc/buku/buku-4.7.ebuild b/www-misc/buku/buku-4.7.ebuild new file mode 100644 index ..e27904a3d54b --- /dev/null +++ b/www-misc/buku/buku-4.7.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11} ) +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/beautifulsoup4-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
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/files/, www-misc/buku/
commit: f01e1e5a83d0a3bcb57bc28521490390398380e7 Author: John Helmert III gentoo org> AuthorDate: Sun Oct 17 14:24:05 2021 + Commit: John Helmert III gentoo org> CommitDate: Sun Oct 17 16:08:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01e1e5a www-misc/buku: drop 4.5 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 - www-misc/buku/buku-4.5.ebuild | 95 - www-misc/buku/files/buku-4.5-hypothesis-fix.patch | 494 -- 3 files changed, 590 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 128a7832af2..535588ada18 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1 @@ -DIST buku-4.5.tar.gz 488913 BLAKE2B 29ed93fa9af4503f72a711889fbf17d86bcde1bc1abbfc88242c4ebd18f1c1a57077781eebdd79d9d993078d2f5b5883c9a0ec4fee94e37c0e7bfb727c5154d0 SHA512 7bbb598d5c970e8e594d58c0a18f9b85245d4a214c01d64b537a5ccaadab32c964521046b90754c2f2c721bf816dc7f4438cfeff3a7e7eec75ce958cc41dfa7d DIST buku-4.6.tar.gz 491809 BLAKE2B 82597b845c56dadf1cc6973d1f3ce6cc4970230d08ac700cf286a8c41420144fb1f42817ab808041600ab8414d96f3a3883c1bd8fbe89f29570d877a495dcd96 SHA512 1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a diff --git a/www-misc/buku/buku-4.5.ebuild b/www-misc/buku/buku-4.5.ebuild deleted file mode 100644 index 378cb5f498b..000 --- a/www-misc/buku/buku-4.5.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/beautifulsoup4-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] -
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 3389dce3eacb0fe318123ccff9be7f76e8a98ba2 Author: John Helmert III gentoo org> AuthorDate: Sat Aug 21 22:50:47 2021 + Commit: John Helmert III gentoo org> CommitDate: Sat Aug 21 23:20:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3389dce3 www-misc/buku: python bump, fix DISTUTILS_USE_SETUPTOOLS, fix test bug This test suite isn't compatible with pytest-verbose-parametrize, so force it to be ignored at test time. Closes: https://bugs.gentoo.org/809371 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/{buku-4.6.ebuild => buku-4.6-r1.ebuild} | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/www-misc/buku/buku-4.6.ebuild b/www-misc/buku/buku-4.6-r1.ebuild similarity index 92% rename from www-misc/buku/buku-4.6.ebuild rename to www-misc/buku/buku-4.6-r1.ebuild index d7dd628bd78..27a0923bc31 100644 --- a/www-misc/buku/buku-4.6.ebuild +++ b/www-misc/buku/buku-4.6-r1.ebuild @@ -3,9 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8,9,10} ) PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend inherit bash-completion-r1 distutils-r1 @@ -37,10 +36,6 @@ DEPEND="${RDEPEND} ) " -PATCHES=( - #"${FILESDIR}/${P}-hypothesis-fix.patch" -) - python_prepare_all() { # Remove support for bukuserver - complex depgraph which isn't all # sufficiently packaged in Gentoo @@ -91,5 +86,5 @@ python_test() { ) # tests/test_server.py is bukuserver tests, ignore it - pytest -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" + pytest -p no:verbose-parametrize -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" }
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 079f435563a6c7560f67b1110548d968c280b0c9 Author: John Helmert III gentoo org> AuthorDate: Thu Jun 17 22:34:43 2021 + Commit: John Helmert III gentoo org> CommitDate: Thu Jun 17 22:35:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079f4355 www-misc/buku: add 4.6 Signed-off-by: John Helmert III gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.6.ebuild | 95 +++ 2 files changed, 96 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index ea27579d575..128a7832af2 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.5.tar.gz 488913 BLAKE2B 29ed93fa9af4503f72a711889fbf17d86bcde1bc1abbfc88242c4ebd18f1c1a57077781eebdd79d9d993078d2f5b5883c9a0ec4fee94e37c0e7bfb727c5154d0 SHA512 7bbb598d5c970e8e594d58c0a18f9b85245d4a214c01d64b537a5ccaadab32c964521046b90754c2f2c721bf816dc7f4438cfeff3a7e7eec75ce958cc41dfa7d +DIST buku-4.6.tar.gz 491809 BLAKE2B 82597b845c56dadf1cc6973d1f3ce6cc4970230d08ac700cf286a8c41420144fb1f42817ab808041600ab8414d96f3a3883c1bd8fbe89f29570d877a495dcd96 SHA512 1c46006d8c950811493a8c11453d51557cac3f6346ea28d66dcb2ae3e4c52727af7349b4b6ea088f9c08a7e9d09e3a4d80679b41497b6cd0844d811f81c9811a diff --git a/www-misc/buku/buku-4.6.ebuild b/www-misc/buku/buku-4.6.ebuild new file mode 100644 index 000..d7dd628bd78 --- /dev/null +++ b/www-misc/buku/buku-4.6.ebuild @@ -0,0 +1,95 @@ +# 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,
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/, www-misc/buku/files/
commit: 621d2a7c53414508fb6d0781c4e51b2dc4540beb Author: John Helmert III posteo net> AuthorDate: Sun Jan 24 23:13:01 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Feb 3 07:04:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=621d2a7c www-misc/buku: fix test failures with >=hypothesis-6 Add upstream's patch to fix hypothesis, skip new tests added in the patch which break network-sandbox, and skip old tests which newly fail under Portage. Closes: https://bugs.gentoo.org/765748 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/19202 Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/buku-4.5.ebuild | 15 +- www-misc/buku/files/buku-4.5-hypothesis-fix.patch | 494 ++ 2 files changed, 506 insertions(+), 3 deletions(-) diff --git a/www-misc/buku/buku-4.5.ebuild b/www-misc/buku/buku-4.5.ebuild index befec965f44..8091f25bdd6 100644 --- a/www-misc/buku/buku-4.5.ebuild +++ b/www-misc/buku/buku-4.5.ebuild @@ -37,6 +37,10 @@ DEPEND="${RDEPEND} ) " +PATCHES=( + "${FILESDIR}/${P}-hypothesis-fix.patch" +) + python_prepare_all() { # Remove support for bukuserver - complex depgraph which isn't all # sufficiently packaged in Gentoo @@ -73,12 +77,17 @@ python_test() { 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_rec_hypothesis + tests/test_bukuDb.py::test_print_db + tests/test_bukuDb.py::test_print_rec tests/test_bukuDb.py::test_refreshdb - # Passes when called alone, fails when run from the suite, - # but only when the network is disabled + # 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 diff --git a/www-misc/buku/files/buku-4.5-hypothesis-fix.patch b/www-misc/buku/files/buku-4.5-hypothesis-fix.patch new file mode 100644 index 000..c742162ab1c --- /dev/null +++ b/www-misc/buku/files/buku-4.5-hypothesis-fix.patch @@ -0,0 +1,494 @@ +From e4ef997dbbddcb372ba20cff18c8dc2a17da215c Mon Sep 17 00:00:00 2001 +From: rachmadaniHaryono +Date: Sat, 9 Jan 2021 13:35:34 +0800 +Subject: [PATCH 1/8] chg: test: basic for print_rec + +--- + tests/test_bukuDb.py | 86 + 1 file changed, 38 insertions(+), 48 deletions(-) + +diff --git a/tests/test_bukuDb.py b/tests/test_bukuDb.py +index 4413760c..b5c0d7a7 100644 +--- a/tests/test_bukuDb.py b/tests/test_bukuDb.py +@@ -9,22 +9,21 @@ + import shutil + import sqlite3 + import sys ++import unittest + import urllib + import zipfile +-from tempfile import TemporaryDirectory, NamedTemporaryFile +- +-from unittest import mock +-import unittest + from genericpath import exists ++from tempfile import NamedTemporaryFile, TemporaryDirectory ++from unittest import mock ++ + import pytest ++import vcr + import yaml +-from hypothesis import given, example, settings ++from hypothesis import HealthCheck, example, given, settings + from hypothesis import strategies as st +-import vcr + + from buku import BukuDb, parse_tags, prompt + +- + logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from vcrpy + vcr_log = logging.getLogger("vcr") + vcr_log.setLevel(logging.INFO) +@@ -686,54 +685,45 @@ def test_refreshdb(refreshdb_fixture, title_in, exp_res): + assert from_db[2] == exp_res, 'from_db: {}'.format(from_db) + + +-@given( +-index=st.integers(min_value=-10, max_value=10), +-low=st.integers(min_value=-10, max_value=10), +-high=st.integers(min_value=-10, max_value=10), +-is_range=st.booleans(), +-) +-@settings(deadline=None) +-def test_print_rec_hypothesis(caplog, setup, index, low, high, is_range): +-"""test when index, low or high is less than 0.""" +-# setup +-caplog.handler.records.clear() +-caplog.records.clear() +- +-bdb = BukuDb() ++@pytest.fixture ++def test_print_db(tmp_path): ++bdb = BukuDb(dbfile=tmp_path / 'tmp.db') + # clear all record first before testing + bdb.delete_rec_all() + bdb.add_rec("http://one.com;, "",
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 78f4f66b5c3cebb2859b31d422f25b1247291832 Author: John Helmert III posteo net> AuthorDate: Thu Dec 31 21:02:32 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 17 09:14:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f4f66b www-misc/buku: bump to 4.5 (and python3.9) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: John Helmert III posteo.net> Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.5.ebuild | 86 +++ 2 files changed, 87 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 3e4a4ad721d..cc0bc646868 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1,3 @@ DIST buku-4.3.tar.gz 264480 BLAKE2B 8bddf640512e5741f80bb5bc073208d843cac32d3c3ade0bdf36241e93d6c81d47238ad03c651e924226933efa572e65d9a4c86f861acda68935c9e96d6e6fb4 SHA512 eabf45b1cc1700b20f2a95baf14940f49e2a2ad51aef0f870c488e67cb07fb110916d93037830cd83572317c5d0a8b05c0a5732f105face2a14facf6af02b690 DIST buku-4.4.tar.gz 273207 BLAKE2B bff849f03ba6b2f8779a9445da26f64875ccc6a7cb1434cba51237742a7b9968d302ee0dd9f87fd2857922660fc304d07012a962c080704d7d99312e8672e4d0 SHA512 5ccd3e72b2256d4d3daf007ffc9279c9958eec6a5baa913cb31bf97d978db227e28311f882a930da737c002ec0750ee9f8cf0f7584e639154398ba5d486bd8ba +DIST buku-4.5.tar.gz 488913 BLAKE2B 29ed93fa9af4503f72a711889fbf17d86bcde1bc1abbfc88242c4ebd18f1c1a57077781eebdd79d9d993078d2f5b5883c9a0ec4fee94e37c0e7bfb727c5154d0 SHA512 7bbb598d5c970e8e594d58c0a18f9b85245d4a214c01d64b537a5ccaadab32c964521046b90754c2f2c721bf816dc7f4438cfeff3a7e7eec75ce958cc41dfa7d diff --git a/www-misc/buku/buku-4.5.ebuild b/www-misc/buku/buku-4.5.ebuild new file mode 100644 index 000..105679cc5a9 --- /dev/null +++ b/www-misc/buku/buku-4.5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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}] + ) +" + +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_rec_hypothesis + tests/test_bukuDb.py::test_refreshdb + + # Passes when called alone, fails when run from the suite, + # but only when the network is disabled + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-False] + ) + + # tests/test_server.py is bukuserver tests, ignore it + pytest -v --ignore tests/test_server.py
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/files/, www-misc/buku/
commit: 407653c0785b394b0c16817faefcada16bffc3b5 Author: John Helmert III posteo net> AuthorDate: Thu Dec 31 21:03:52 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 17 09:14:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407653c0 www-misc/buku: cleanup old Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: John Helmert III posteo.net> Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/Manifest | 2 - www-misc/buku/buku-4.3-r1.ebuild | 65 - www-misc/buku/buku-4.4-r1.ebuild | 87 www-misc/buku/files/buku-4.4-fix-tests.patch | 34 --- 4 files changed, 188 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index cc0bc646868..ea27579d575 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,3 +1 @@ -DIST buku-4.3.tar.gz 264480 BLAKE2B 8bddf640512e5741f80bb5bc073208d843cac32d3c3ade0bdf36241e93d6c81d47238ad03c651e924226933efa572e65d9a4c86f861acda68935c9e96d6e6fb4 SHA512 eabf45b1cc1700b20f2a95baf14940f49e2a2ad51aef0f870c488e67cb07fb110916d93037830cd83572317c5d0a8b05c0a5732f105face2a14facf6af02b690 -DIST buku-4.4.tar.gz 273207 BLAKE2B bff849f03ba6b2f8779a9445da26f64875ccc6a7cb1434cba51237742a7b9968d302ee0dd9f87fd2857922660fc304d07012a962c080704d7d99312e8672e4d0 SHA512 5ccd3e72b2256d4d3daf007ffc9279c9958eec6a5baa913cb31bf97d978db227e28311f882a930da737c002ec0750ee9f8cf0f7584e639154398ba5d486bd8ba DIST buku-4.5.tar.gz 488913 BLAKE2B 29ed93fa9af4503f72a711889fbf17d86bcde1bc1abbfc88242c4ebd18f1c1a57077781eebdd79d9d993078d2f5b5883c9a0ec4fee94e37c0e7bfb727c5154d0 SHA512 7bbb598d5c970e8e594d58c0a18f9b85245d4a214c01d64b537a5ccaadab32c964521046b90754c2f2c721bf816dc7f4438cfeff3a7e7eec75ce958cc41dfa7d diff --git a/www-misc/buku/buku-4.3-r1.ebuild b/www-misc/buku/buku-4.3-r1.ebuild deleted file mode 100644 index 96a36a81587..000 --- a/www-misc/buku/buku-4.3-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="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/flake8[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - >=dev-python/py-1.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.7.2[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pyyaml-4.2[${PYTHON_USEDEP}] - >=dev-python/vcrpy-4.0.2[${PYTHON_USEDEP}] - ) -" - -python_prepare() { - distutils-r1_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 -} - -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() { - # Explicitly enumerate tests to avoid tests that deal with bukuserver - py.test -v "tests/test_"{BukuCrypt,bukuDb,buku,ExtendedArgumentParser,import_firefox_json}".py" || die -} diff --git a/www-misc/buku/buku-4.4-r1.ebuild b/www-misc/buku/buku-4.4-r1.ebuild deleted file mode 100644 index 6ea73015235..000 --- a/www-misc/buku/buku-4.4-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" ) - -RDEPEND=" - >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] -
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: abac1788a6516b11d0cca214721877e449ee0aaa Author: John Helmert III posteo net> AuthorDate: Mon Jan 4 03:41:53 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 17 09:14:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abac1788 www-misc/buku: fix remote-id Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/18890 Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-misc/buku/metadata.xml b/www-misc/buku/metadata.xml index 074e77061ae..720bd83b95b 100644 --- a/www-misc/buku/metadata.xml +++ b/www-misc/buku/metadata.xml @@ -14,6 +14,6 @@ Proxy Maintainers - jarun/Buku + jarun/buku
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 49487ff8250d6e004ef94f3f2f88b2d9a6bd051e Author: John Helmert III posteo net> AuthorDate: Wed Oct 7 16:50:07 2020 + Commit: Sam James gentoo org> CommitDate: Wed Oct 7 18:04:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49487ff8 www-misc/buku: add PYTHON_REQ_USE="sqlite" Closes: https://bugs.gentoo.org/747112 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/17839 Signed-off-by: Sam James gentoo.org> www-misc/buku/{buku-4.3.ebuild => buku-4.3-r1.ebuild} | 1 + www-misc/buku/{buku-4.4.ebuild => buku-4.4-r1.ebuild} | 1 + 2 files changed, 2 insertions(+) diff --git a/www-misc/buku/buku-4.3.ebuild b/www-misc/buku/buku-4.3-r1.ebuild similarity index 98% rename from www-misc/buku/buku-4.3.ebuild rename to www-misc/buku/buku-4.3-r1.ebuild index 6dcf64f9dd5..96a36a81587 100644 --- a/www-misc/buku/buku-4.3.ebuild +++ b/www-misc/buku/buku-4.3-r1.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend inherit bash-completion-r1 distutils-r1 diff --git a/www-misc/buku/buku-4.4.ebuild b/www-misc/buku/buku-4.4-r1.ebuild similarity index 99% rename from www-misc/buku/buku-4.4.ebuild rename to www-misc/buku/buku-4.4-r1.ebuild index a626d1b8027..6ea73015235 100644 --- a/www-misc/buku/buku-4.4.ebuild +++ b/www-misc/buku/buku-4.4-r1.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="sqlite" DISTUTILS_USE_SETUPTOOLS=rdepend inherit bash-completion-r1 distutils-r1
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/files/, www-misc/buku/
commit: 9ebb9d39bd889b7892ccb9f4b218c02fae065658 Author: John Helmert III posteo net> AuthorDate: Thu Jul 23 05:41:21 2020 + Commit: Sam James gentoo org> CommitDate: Fri Sep 4 21:27:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebb9d39 www-misc/buku: Bump to 4.4 Closes: https://bugs.gentoo.org/675618 Closes: https://bugs.gentoo.org/684056 Closes: https://bugs.gentoo.org/684566 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/16786 Signed-off-by: Sam James gentoo.org> www-misc/buku/Manifest | 1 + www-misc/buku/buku-4.4.ebuild| 86 www-misc/buku/files/buku-4.4-fix-tests.patch | 34 +++ 3 files changed, 121 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index c6d6200e6a6..3e4a4ad721d 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.3.tar.gz 264480 BLAKE2B 8bddf640512e5741f80bb5bc073208d843cac32d3c3ade0bdf36241e93d6c81d47238ad03c651e924226933efa572e65d9a4c86f861acda68935c9e96d6e6fb4 SHA512 eabf45b1cc1700b20f2a95baf14940f49e2a2ad51aef0f870c488e67cb07fb110916d93037830cd83572317c5d0a8b05c0a5732f105face2a14facf6af02b690 +DIST buku-4.4.tar.gz 273207 BLAKE2B bff849f03ba6b2f8779a9445da26f64875ccc6a7cb1434cba51237742a7b9968d302ee0dd9f87fd2857922660fc304d07012a962c080704d7d99312e8672e4d0 SHA512 5ccd3e72b2256d4d3daf007ffc9279c9958eec6a5baa913cb31bf97d978db227e28311f882a930da737c002ec0750ee9f8cf0f7584e639154398ba5d486bd8ba diff --git a/www-misc/buku/buku-4.4.ebuild b/www-misc/buku/buku-4.4.ebuild new file mode 100644 index 000..a626d1b8027 --- /dev/null +++ b/www-misc/buku/buku-4.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/buku; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" ) + +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_views.py::test_load_firefox_database + tests/test_views.py::test_tag_model_view_get_list_empty_db + tests/test_views.py::test_tag_model_view_get_list + tests/test_views.py::test_bookmark_model_view + tests/test_setup.py::test_bukuserver_requirement + + # Broken with network-sandbox + tests/test_bukuDb.py::test_load_firefox + tests/test_bukuDb.py::test_add_rec_exec_arg + tests/test_buku.py::test_network_handler_with_url + tests/test_bukuDb.py::TestBukuDb::test_tnyfy_url + tests/test_bukuDb.py::test_refreshdb + tests/test_bukuDb.py::test_print_rec_hypothesis + + # Passes when called alone, fails when run from the suite, + # but only when the network is disabled + tests/test_bukuDb.py::test_delete_rec_index_and_delay_commit[1-True-False] + ) + + # tests/test_server.py is bukuserver tests, ignore it + pytest -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" +} diff --git a/www-misc/buku/files/buku-4.4-fix-tests.patch
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 083c13751253137ebbc40245a2be7b79115b6a42 Author: John Helmert III posteo net> AuthorDate: Sat May 30 22:19:05 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun May 31 06:58:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083c1375 www-misc/buku: Fix maintainer email Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: John Helmert III posteo.net> Signed-off-by: Michał Górny gentoo.org> www-misc/buku/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-misc/buku/metadata.xml b/www-misc/buku/metadata.xml index dfaeb72ad86..074e77061ae 100644 --- a/www-misc/buku/metadata.xml +++ b/www-misc/buku/metadata.xml @@ -6,7 +6,7 @@ David Roman - jchelmer...@gmail.com + jchelme...@posteo.net John Helmert III
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 6648b5fe6394251059ebc8a4f2d3514b5ba252b4 Author: John Helmert III gmail com> AuthorDate: Mon Apr 6 04:59:31 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 10 07:10:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6648b5fe www-misc/buku: Remove versions 3.{5,6,7} Signed-off-by: John Helmert III gmail.com> Package-Manager: Portage-2.3.96, Repoman-2.3.22 Closes: https://github.com/gentoo/gentoo/pull/15245 Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/Manifest| 3 --- www-misc/buku/buku-3.5.ebuild | 49 --- www-misc/buku/buku-3.6.ebuild | 49 --- www-misc/buku/buku-3.7.ebuild | 48 -- 4 files changed, 149 deletions(-) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index fd580a993ab..c6d6200e6a6 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,4 +1 @@ -DIST buku-3.5.tar.gz 93634 BLAKE2B 55c4b50b3bf8121c116554613768cd836080b363d702469eb2f76349c26d8d6246f73746248123030c5657006e09a9f72242354ce3af20d93b845f1870929bbc SHA512 b9f70665c83033ca030302e805ee051a524b2f0decae6c99ad54749b4a4bc91ae8261976018741361489525f359ea71c01ddb3e2d827ab9a052fb0acc98be8ed -DIST buku-3.6.tar.gz 92012 BLAKE2B a92f45810acfb11493ca4c0ff75c57b81064627dea632bdf55ab5e33618e2721163ba0dcaa95d8cbec579605bc714d24ef894de10f4a10f3bf6ef5eb5aa42cc3 SHA512 77fabec93e85d6b6d5dbc0a3c4d095f26093f1d86aadb2a3c961a3947ac1c59acac69c94f732d30daec9943728e35d5e08bede1f0448c02d2db9136fe426186f -DIST buku-3.7.tar.gz 98970 BLAKE2B 7227b5fb632d9ec92ef236d1889f2ba0872d67d2c3cfb302beab48b03e8d62a762d02e517014d5041a9f79deab74d0f5ceca12c315eb77922f73d359b58a48b5 SHA512 c515e11686aa231ffc8c1d6ec29d6143f1714eacdf640d8d3d3fa3fd469e111073762a3ba831dd673d63034afe3db181ec66501c18165e8ddd97cbc57c82 DIST buku-4.3.tar.gz 264480 BLAKE2B 8bddf640512e5741f80bb5bc073208d843cac32d3c3ade0bdf36241e93d6c81d47238ad03c651e924226933efa572e65d9a4c86f861acda68935c9e96d6e6fb4 SHA512 eabf45b1cc1700b20f2a95baf14940f49e2a2ad51aef0f870c488e67cb07fb110916d93037830cd83572317c5d0a8b05c0a5732f105face2a14facf6af02b690 diff --git a/www-misc/buku/buku-3.5.ebuild b/www-misc/buku/buku-3.5.ebuild deleted file mode 100644 index e563bc99f5a..000 --- a/www-misc/buku/buku-3.5.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Powerful command-line bookmark manager" -HOMEPAGE="https://github.com/jarun/Buku; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.13.1[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND} - test? ( - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-catchlog[${PYTHON_USEDEP}] - ) -" - -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() { - py.test -v tests/test_* || die -} diff --git a/www-misc/buku/buku-3.6.ebuild b/www-misc/buku/buku-3.6.ebuild deleted file mode 100644 index e563bc99f5a..000 --- a/www-misc/buku/buku-3.6.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Powerful command-line bookmark manager" -HOMEPAGE="https://github.com/jarun/Buku; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.13.1[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND} - test? ( - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-catchlog[${PYTHON_USEDEP}] - ) -" - -python_install_all() { - distutils-r1_python_install_all - - insinto /usr/share/zsh/site-functions - doins auto-completion/zsh/_* - - newbashcomp
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: ee57fb7ad0873b462fe7ecd7d8040211763dac23 Author: John Helmert III gmail com> AuthorDate: Tue Mar 24 22:07:36 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 5 07:17:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee57fb7a www-misc/buku: Add version 4.3 Remove support for buku-server for now. Closes: https://bugs.gentoo.org/714590 Signed-off-by: John Helmert III gmail.com> Package-Manager: Portage-2.3.95, Repoman-2.3.21 Closes: https://github.com/gentoo/gentoo/pull/15096 Signed-off-by: Joonas Niilola gentoo.org> www-misc/buku/Manifest| 1 + www-misc/buku/buku-4.3.ebuild | 64 +++ www-misc/buku/metadata.xml| 4 +++ 3 files changed, 69 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 2b805aaa24e..fd580a993ab 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,3 +1,4 @@ DIST buku-3.5.tar.gz 93634 BLAKE2B 55c4b50b3bf8121c116554613768cd836080b363d702469eb2f76349c26d8d6246f73746248123030c5657006e09a9f72242354ce3af20d93b845f1870929bbc SHA512 b9f70665c83033ca030302e805ee051a524b2f0decae6c99ad54749b4a4bc91ae8261976018741361489525f359ea71c01ddb3e2d827ab9a052fb0acc98be8ed DIST buku-3.6.tar.gz 92012 BLAKE2B a92f45810acfb11493ca4c0ff75c57b81064627dea632bdf55ab5e33618e2721163ba0dcaa95d8cbec579605bc714d24ef894de10f4a10f3bf6ef5eb5aa42cc3 SHA512 77fabec93e85d6b6d5dbc0a3c4d095f26093f1d86aadb2a3c961a3947ac1c59acac69c94f732d30daec9943728e35d5e08bede1f0448c02d2db9136fe426186f DIST buku-3.7.tar.gz 98970 BLAKE2B 7227b5fb632d9ec92ef236d1889f2ba0872d67d2c3cfb302beab48b03e8d62a762d02e517014d5041a9f79deab74d0f5ceca12c315eb77922f73d359b58a48b5 SHA512 c515e11686aa231ffc8c1d6ec29d6143f1714eacdf640d8d3d3fa3fd469e111073762a3ba831dd673d63034afe3db181ec66501c18165e8ddd97cbc57c82 +DIST buku-4.3.tar.gz 264480 BLAKE2B 8bddf640512e5741f80bb5bc073208d843cac32d3c3ade0bdf36241e93d6c81d47238ad03c651e924226933efa572e65d9a4c86f861acda68935c9e96d6e6fb4 SHA512 eabf45b1cc1700b20f2a95baf14940f49e2a2ad51aef0f870c488e67cb07fb110916d93037830cd83572317c5d0a8b05c0a5732f105face2a14facf6af02b690 diff --git a/www-misc/buku/buku-4.3.ebuild b/www-misc/buku/buku-4.3.ebuild new file mode 100644 index 000..6dcf64f9dd5 --- /dev/null +++ b/www-misc/buku/buku-4.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/buku; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="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/flake8[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + >=dev-python/py-1.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-1.7.2[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pyyaml-4.2[${PYTHON_USEDEP}] + >=dev-python/vcrpy-4.0.2[${PYTHON_USEDEP}] + ) +" + +python_prepare() { + distutils-r1_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 +} + +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() { + # Explicitly enumerate tests to avoid tests that deal with bukuserver + py.test -v "tests/test_"{BukuCrypt,bukuDb,buku,ExtendedArgumentParser,import_firefox_json}".py" || die +} diff --git a/www-misc/buku/metadata.xml b/www-misc/buku/metadata.xml index e3171793d0f..dfaeb72ad86 100644 --- a/www-misc/buku/metadata.xml +++ b/www-misc/buku/metadata.xml @@ -5,6 +5,10 @@ davidroma...@gmail.com David Roman + + jchelmer...@gmail.com + John Helmert III + proxy-ma...@gentoo.org Proxy Maintainers
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: f111d467415a1cc36aeaaa5679131eb855a799bf Author: Michael Vetter iodoru org> AuthorDate: Wed Mar 28 10:58:31 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 5 12:20:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f111d467 www-misc/buku: Bump to 3.7 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7682 www-misc/buku/Manifest| 1 + www-misc/buku/buku-3.7.ebuild | 47 +++ 2 files changed, 48 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 07c7674eab1..2b805aaa24e 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1,2 +1,3 @@ DIST buku-3.5.tar.gz 93634 BLAKE2B 55c4b50b3bf8121c116554613768cd836080b363d702469eb2f76349c26d8d6246f73746248123030c5657006e09a9f72242354ce3af20d93b845f1870929bbc SHA512 b9f70665c83033ca030302e805ee051a524b2f0decae6c99ad54749b4a4bc91ae8261976018741361489525f359ea71c01ddb3e2d827ab9a052fb0acc98be8ed DIST buku-3.6.tar.gz 92012 BLAKE2B a92f45810acfb11493ca4c0ff75c57b81064627dea632bdf55ab5e33618e2721163ba0dcaa95d8cbec579605bc714d24ef894de10f4a10f3bf6ef5eb5aa42cc3 SHA512 77fabec93e85d6b6d5dbc0a3c4d095f26093f1d86aadb2a3c961a3947ac1c59acac69c94f732d30daec9943728e35d5e08bede1f0448c02d2db9136fe426186f +DIST buku-3.7.tar.gz 98970 BLAKE2B 7227b5fb632d9ec92ef236d1889f2ba0872d67d2c3cfb302beab48b03e8d62a762d02e517014d5041a9f79deab74d0f5ceca12c315eb77922f73d359b58a48b5 SHA512 c515e11686aa231ffc8c1d6ec29d6143f1714eacdf640d8d3d3fa3fd469e111073762a3ba831dd673d63034afe3db181ec66501c18165e8ddd97cbc57c82 diff --git a/www-misc/buku/buku-3.7.ebuild b/www-misc/buku/buku-3.7.ebuild new file mode 100644 index 000..ea918b0c806 --- /dev/null +++ b/www-misc/buku/buku-3.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/Buku; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.13.1[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +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() { + py.test -v tests/test_* || die +}
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: a2bad836c2bad61a5e8f264f077bc66bff6424d7 Author: David Roman gmail com> AuthorDate: Sun Feb 25 11:26:16 2018 + Commit: Patrice Clement gentoo org> CommitDate: Sun Feb 25 19:59:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bad836 www-misc/buku: version bump to 3.6. Closes: https://github.com/gentoo/gentoo/pull/7278 www-misc/buku/Manifest| 1 + www-misc/buku/buku-3.6.ebuild | 48 +++ 2 files changed, 49 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 1b2763a2fe9..07c7674eab1 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-3.5.tar.gz 93634 BLAKE2B 55c4b50b3bf8121c116554613768cd836080b363d702469eb2f76349c26d8d6246f73746248123030c5657006e09a9f72242354ce3af20d93b845f1870929bbc SHA512 b9f70665c83033ca030302e805ee051a524b2f0decae6c99ad54749b4a4bc91ae8261976018741361489525f359ea71c01ddb3e2d827ab9a052fb0acc98be8ed +DIST buku-3.6.tar.gz 92012 BLAKE2B a92f45810acfb11493ca4c0ff75c57b81064627dea632bdf55ab5e33618e2721163ba0dcaa95d8cbec579605bc714d24ef894de10f4a10f3bf6ef5eb5aa42cc3 SHA512 77fabec93e85d6b6d5dbc0a3c4d095f26093f1d86aadb2a3c961a3947ac1c59acac69c94f732d30daec9943728e35d5e08bede1f0448c02d2db9136fe426186f diff --git a/www-misc/buku/buku-3.6.ebuild b/www-misc/buku/buku-3.6.ebuild new file mode 100644 index 000..ec2ba66f777 --- /dev/null +++ b/www-misc/buku/buku-3.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/Buku; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.13.1[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-catchlog[${PYTHON_USEDEP}] + ) +" + +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() { + py.test -v tests/test_* || die +}
[gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
commit: 31543699451d57fe9c49222dea50cd734edfaf76 Author: David Roman gmail com> AuthorDate: Sun Dec 10 17:15:28 2017 + Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 22 20:30:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31543699 www-misc/buku: new package. Buku is a popular command-line bookmark manager. Closes: https://bugs.gentoo.org/640612 Closes: https://github.com/gentoo/gentoo/pull/6510 www-misc/buku/Manifest| 1 + www-misc/buku/buku-3.5.ebuild | 48 +++ www-misc/buku/metadata.xml| 15 ++ 3 files changed, 64 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest new file mode 100644 index 000..1b2763a2fe9 --- /dev/null +++ b/www-misc/buku/Manifest @@ -0,0 +1 @@ +DIST buku-3.5.tar.gz 93634 BLAKE2B 55c4b50b3bf8121c116554613768cd836080b363d702469eb2f76349c26d8d6246f73746248123030c5657006e09a9f72242354ce3af20d93b845f1870929bbc SHA512 b9f70665c83033ca030302e805ee051a524b2f0decae6c99ad54749b4a4bc91ae8261976018741361489525f359ea71c01ddb3e2d827ab9a052fb0acc98be8ed diff --git a/www-misc/buku/buku-3.5.ebuild b/www-misc/buku/buku-3.5.ebuild new file mode 100644 index 000..ec2ba66f777 --- /dev/null +++ b/www-misc/buku/buku-3.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Powerful command-line bookmark manager" +HOMEPAGE="https://github.com/jarun/Buku; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.13.1[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-catchlog[${PYTHON_USEDEP}] + ) +" + +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() { + py.test -v tests/test_* || die +} diff --git a/www-misc/buku/metadata.xml b/www-misc/buku/metadata.xml new file mode 100644 index 000..e3171793d0f --- /dev/null +++ b/www-misc/buku/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + davidroma...@gmail.com + David Roman + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + jarun/Buku + +