From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B19091581FD for ; Sat, 06 Sep 2025 15:31:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9E494340AB3 for ; Sat, 06 Sep 2025 15:31:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C059F110575; Sat, 06 Sep 2025 15:31:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B5968110575 for ; Sat, 06 Sep 2025 15:31:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D79333BF41 for ; Sat, 06 Sep 2025 15:31:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7CCF38D0 for ; Sat, 06 Sep 2025 15:31:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757172594.96d72066778fc1d8743b108d6bf7f06f5b5e7d0f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/buku/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-misc/buku/Manifest www-misc/buku/buku-5.0.ebuild X-VCS-Directories: www-misc/buku/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 96d72066778fc1d8743b108d6bf7f06f5b5e7d0f X-VCS-Branch: master Date: Sat, 06 Sep 2025 15:31:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6512ce0c-8647-4461-a9be-bcc50c16e4ef X-Archives-Hash: e0c8c83eca1fda1845540947aa460745 commit: 96d72066778fc1d8743b108d6bf7f06f5b5e7d0f Author: David Roman ifae es> AuthorDate: Tue Jun 3 09:39:38 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 6 15:29:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d72066 www-misc/buku: add 5.0 Signed-off-by: David Roman ifae.es> Part-of: https://github.com/gentoo/gentoo/pull/42420 Closes: https://github.com/gentoo/gentoo/pull/42420 Signed-off-by: Sam James gentoo.org> www-misc/buku/Manifest | 1 + www-misc/buku/buku-5.0.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/www-misc/buku/Manifest b/www-misc/buku/Manifest index 3783191f5ade..b143bc5c2c9a 100644 --- a/www-misc/buku/Manifest +++ b/www-misc/buku/Manifest @@ -1 +1,2 @@ DIST buku-4.9.tar.gz 615794 BLAKE2B 79e0b7980d1df2b063be5b115c6d55fce63b9e9a58bae5c1ae4d81d77b644c90df2698e20a1743daf5468f4b08ab7b2125af073906385693419249b989686f3f SHA512 3804ea759c3b0172ab07b266123b27683f4785f1fb10859b4fd5b41e267b93e6ad0901b2456a27e434aef216f2063c5881d2755ec45789b3f2d42fe608b32eb2 +DIST buku-5.0.tar.gz 662828 BLAKE2B 8226a38480b7beb4619285833f01b72fd0f6301df0ff298e2484a171aa7b43ae403140ecd0651d6e24080edcea2d3337233eecbfbb15bd7e3362d409ba221744 SHA512 4f067f646da709c0ec0021eb50440ec0f5a1119fc52233941a1a5d6f6c4650656858f17ce95f84a63f40ffad10ca8bb0f7e1e5a194f59eef33ab165951b5ac7c diff --git a/www-misc/buku/buku-5.0.ebuild b/www-misc/buku/buku-5.0.ebuild new file mode 100644 index 000000000000..d041b16add66 --- /dev/null +++ b/www-misc/buku/buku-5.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 shell-completion + +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 + + newbashcomp auto-completion/bash/buku-completion.bash "${PN}" + newzshcomp auto-completion/zsh/_buku _buku + newfishcomp auto-completion/fish/buku.fish buku.fish + + doman buku.1 +}