commit:     95b8e30698eaf60cdd7ddf239c97d988cfc45ab0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 23 08:14:55 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 23 08:14:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b8e306

dev-vcs/breezy: add 3.3.20

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-vcs/breezy/Manifest             |  2 +
 dev-vcs/breezy/breezy-3.3.20.ebuild | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-vcs/breezy/Manifest b/dev-vcs/breezy/Manifest
index 23cab677844a..c225166f11bf 100644
--- a/dev-vcs/breezy/Manifest
+++ b/dev-vcs/breezy/Manifest
@@ -1,6 +1,8 @@
 DIST breezy-3.3.12.gh.tar.gz 9384932 BLAKE2B 
2749c5e766b0cddbb34ad8513ba74e2ce5138d5b9ffaa27a75bb9a9af99723494512d31306539585695f8a462c2f0e40229455eeb72feca575fed98376d9acf7
 SHA512 
460cb3b7e0d2557644f5cc428ba24f769b42031716423cdfe43da04576b0a46642b01aa930ebb737b713bf627155c66e9693013a2d476b9703a9bc8a6ef694a6
 DIST breezy-3.3.13.gh.tar.gz 9385396 BLAKE2B 
c6eca45b0ee066916ef75836f08819398f9c211b1c114358bce19f2de62b9a30d88c8f04d8c609239ea99d73b3a7d974efce9b345bd7a62a0227837bf92ba97a
 SHA512 
2c28fb6caa6a01da55a777c81628f2aa3c84d2d67c31732a28545529cff179841f92f037f3f432405c3a9841df938bcd712524c9a6c5c33b03baa4e8a4e71535
 DIST breezy-3.3.17.gh.tar.gz 9385277 BLAKE2B 
2dcf18a23a84b59fe5084161e83e075db6de4dad29187f57f729bb31923dd211bef6756601d414cf1eb9cf31e5469bb2c8257b71458cb0b6428b9c50346df034
 SHA512 
4bb4538abefd9f29a214f380dcd563c9890727479694084cd5527f217dcadd19a6fdf6fdd311361bf3b6b726410baae49fef1f1d07e93607ef48bf4429c51d4b
+DIST breezy-3.3.20.gh.tar.gz 9388771 BLAKE2B 
ef7260258bdc92e9af4c2d52994b970e52db5a1b87954a5e0cba0bd637b9452e76895ea8efc68da1f96130eb36f2a8532eccf0efdf0dd358c78789648dcbcd4f
 SHA512 
f59218448105f7a248c753ad1ce1c143de6ca144e3b4524c23d17688568166abdf06d2deb122bdb3ff0cf5789cfe0adbf3f8ed123dc55141dd4cabecb8eb9f73
 DIST breezy-brz-3.3.12-crates.tar.xz 2712948 BLAKE2B 
a0d903f3e450c61c319965d38ca2df915fbe95f86c3652b16a19a278486cce66a8f236af4488c458b1ee4bcba0744a9bf5f5071188c125911affc2a510778283
 SHA512 
b1faa8fbb3639ae2c26a40b0313b063a9d4a57a40e244f5f621d03c99ebce4654e9ae9649ad59ae7e6a401fb55d47987024e2f980ab008a4a7fe433c8d065a4a
 DIST breezy-brz-3.3.13-crates.tar.xz 2656960 BLAKE2B 
e1b995e7f7b6009899d377e85321f97ac43aa42abab320d4deb6a80756fa7ed4e1f62cae6015766a70d8ee68829286ddafd418a26930eb95f5f07d2e594ee356
 SHA512 
165e4ae0abc1aa8b6e6ed56c3dcc4301aedde3c78beb80c1f6331b51344b7d56fd01495287c85488740e5b4ca61ab56676a23b53dc5dbe4fc73f32ef6f8dc992
 DIST breezy-brz-3.3.17-crates.tar.xz 2737792 BLAKE2B 
d5e417469c376d0bf0c0ac5fc2c54cf2a248c21f03828fe0ada7bca42de9f6fdc7a08720d55c68c2898131ed7384f6ebc90a62990ec46be82da80a7398ab1fb0
 SHA512 
e6d363271ff100199705d4076a29c485e5f0cd0745e1c554d81dab903187c87229b52817728fe0db1c65948c8dda73c5c6b8279fcd84bb31e0f33afb0c8ef0a4
+DIST breezy-brz-3.3.20-crates.tar.xz 2741024 BLAKE2B 
ab8088a6d3fce78388119601a588f592d5d92f140be2b64fb286d5a3c0679713d3122ca43fb6789e1a41a231682b5b551cd581c79ae12d2fa7729cf52689c5e9
 SHA512 
c4ca991279aa5e311fcbb38c343623378515bda8e0443a824eff0f46bd10827131abd1b567c7d9ffc969cfd52af30a684f4ef12175b204af8a487f09bf9dbb34

diff --git a/dev-vcs/breezy/breezy-3.3.20.ebuild 
b/dev-vcs/breezy/breezy-3.3.20.ebuild
new file mode 100644
index 000000000000..30f91cc423d3
--- /dev/null
+++ b/dev-vcs/breezy/breezy-3.3.20.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit cargo distutils-r1 optfeature
+
+DESCRIPTION="Distributed Version Control System with a Friendly UI"
+HOMEPAGE="https://www.breezy-vcs.org/ https://github.com/breezy-team/breezy";
+SRC_URI="https://github.com/breezy-team/breezy/archive/brz-${PV}.tar.gz -> 
${P}.gh.tar.gz"
+SRC_URI+=" 
https://github.com/gentoo-crate-dist/${PN}/releases/download/brz-${PV}/${PN}-brz-${PV}-crates.tar.xz";
+S=${WORKDIR}/${PN}-brz-${PV}
+
+LICENSE="GPL-2+"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# I've got tired of all the test failures. It definitely mostly works.
+# We have ~29000 tests successfully passing from ~30000 tests.
+RESTRICT="test"
+
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/configobj[${PYTHON_USEDEP}]
+               dev-python/fastbencode[${PYTHON_USEDEP}]
+               dev-python/patiencediff[${PYTHON_USEDEP}]
+               dev-python/merge3[${PYTHON_USEDEP}]
+               dev-python/dulwich[${PYTHON_USEDEP}]
+               dev-python/urllib3[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/tzlocal[${PYTHON_USEDEP}]
+       ')
+       !dev-vcs/bzr
+"
+BDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/cython[${PYTHON_USEDEP}]
+               dev-python/setuptools-gettext[${PYTHON_USEDEP}]
+               dev-python/setuptools-rust[${PYTHON_USEDEP}]
+       ')
+"
+
+QA_FLAGS_IGNORED="
+       usr/lib.*/py.*/site-packages/breezy/.*.so
+       usr/bin/brz
+"
+
+src_prepare() {
+       sed -e 's@man/man1@share/&@' \
+               -e 's@, strip=Strip\.All@@' \
+               -i setup.py || die
+
+       distutils-r1_src_prepare
+}
+
+src_install() {
+       distutils-r1_src_install
+
+       # Symlink original bzr's bin names to new names
+       dosym brz /usr/bin/bzr
+}
+
+pkg_postinst() {
+       optfeature "access branches over sftp" "dev-python/pycryptodome 
dev-python/paramiko"
+       optfeature "PGP sign and verify commits" "dev-python/gpgmepy"
+}

Reply via email to