commit:     24d5db5fc879bfe13a36e6ecbe1cc31a00f70921
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  6 06:47:03 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun  6 07:03:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d5db5f

dev-vcs/breezy: add 3.3.12

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

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

diff --git a/dev-vcs/breezy/Manifest b/dev-vcs/breezy/Manifest
index ac1194f4cb26..6b890d66ef55 100644
--- a/dev-vcs/breezy/Manifest
+++ b/dev-vcs/breezy/Manifest
@@ -1,4 +1,6 @@
+DIST breezy-3.3.12.gh.tar.gz 9384932 BLAKE2B 
2749c5e766b0cddbb34ad8513ba74e2ce5138d5b9ffaa27a75bb9a9af99723494512d31306539585695f8a462c2f0e40229455eeb72feca575fed98376d9acf7
 SHA512 
460cb3b7e0d2557644f5cc428ba24f769b42031716423cdfe43da04576b0a46642b01aa930ebb737b713bf627155c66e9693013a2d476b9703a9bc8a6ef694a6
 DIST breezy-3.3.7-crates.tar.xz 4038220 BLAKE2B 
47cc506d291ae70422283b405fc4cff006b3587e222f9ff99e4bc9768aca4cab72837d3d40d524a27c54ab8fd8353bb3031e97e936bbedcf5c82772072721ad7
 SHA512 
21473b953bfdfb90102b749d0089a8926e6ff1cf4cc366709232d6f272856784f4fc7f0d79fe330b85198c288cb587ce08f479d67fa7c5efbf7bcac2da8b663c
 DIST breezy-3.3.7.tar.gz 9477114 BLAKE2B 
98f2fc865d1b341c9458111c70b9b0f1be0b8cc8ddaf601ac29dd05911f69539f2fbdcbd2a9eab7fbd9b69ebe38f46bb4753af92ed3a5f2bfdd6382e970dce89
 SHA512 
4f4a775f1e866f39cce9c9766d4304d730ac386f8bab4ed1ee5d6c4052f2e5089ca75445656d9674f7cd26b42ac0a3b6434c7843862692f12159883691cf303b
 DIST breezy-3.3.9-crates.tar.xz 2180380 BLAKE2B 
e634b9821f77f54278e9b94fd8725533abe23d5fee79f4c342eadfa2aa077367e9b6ee5a4e7a1577fdf3ff6e2b03af59604dc1a6a37183610cfc13684d6389e3
 SHA512 
3bb4b33bb79c7d5bc22141e04ef21efa6eff9e7a75e46c8abd7201cc3f8650cfec1c65567b5bd26e4c63c720b26d5a444932c00b929de7f0d5be754f48d1d8d6
 DIST breezy-3.3.9.tar.gz 10398251 BLAKE2B 
9358cb7043a0512e67602f008135e7cc4da4fd6c32796fad75be79c3102e84091365ed52064dbdfb75e7165b07328859a4dc0757fa4ec8370f966d95693c0022
 SHA512 
e5db988c73d6f7626ecb8f688874c39d9b345dfb52897431c2207e744dd060407057548107dec04b71c00f1421370e7c544b6411fded0308cf2dab9a8cf748d3
+DIST breezy-brz-3.3.12-crates.tar.xz 2712948 BLAKE2B 
a0d903f3e450c61c319965d38ca2df915fbe95f86c3652b16a19a278486cce66a8f236af4488c458b1ee4bcba0744a9bf5f5071188c125911affc2a510778283
 SHA512 
b1faa8fbb3639ae2c26a40b0313b063a9d4a57a40e244f5f621d03c99ebce4654e9ae9649ad59ae7e6a401fb55d47987024e2f980ab008a4a7fe433c8d065a4a

diff --git a/dev-vcs/breezy/breezy-3.3.12.ebuild 
b/dev-vcs/breezy/breezy-3.3.12.ebuild
new file mode 100644
index 000000000000..1e65c30ad3a4
--- /dev/null
+++ b/dev-vcs/breezy/breezy-3.3.12.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..13} )
+
+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" "app-crypt/gpgme[python]"
+}

Reply via email to