diff --git a/dev-vcs/breezy/Manifest b/dev-vcs/breezy/Manifest index e841c7d6ee738..d96f2d0a55602 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.13.gh.tar.gz 9385396 BLAKE2B c6eca45b0ee066916ef75836f08819398f9c211b1c114358bce19f2de62b9a30d88c8f04d8c609239ea99d73b3a7d974efce9b345bd7a62a0227837bf92ba97a SHA512 2c28fb6caa6a01da55a777c81628f2aa3c84d2d67c31732a28545529cff179841f92f037f3f432405c3a9841df938bcd712524c9a6c5c33b03baa4e8a4e71535 +DIST breezy-3.3.15.gh.tar.gz 9385188 BLAKE2B 4b167bb750742e51d11f5f4c4894e6d651731048e392f9f432a5134fbcb73e905f3af38ae329277e48bc1a17c6c7157579b742bd370c28c7519ad8269a9be00b SHA512 410608fee6f9f5c876cee4ef0b0501886cf002be3efdc10a6bf7f70c25218f25247b354b38fc7aca8b1739d9be296066c6eeb2c3a9e281abdc38ffa69ca314f9 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.15-crates.tar.xz 2723312 BLAKE2B 1a14660e31f2a7fc770a2e7d300210612b91e5f2f7eaee9f4a1377c835fd5b0528f6a7e30c1ef3ce345865affa60b327f274bec9829677bf0a7efbe7a5e549d3 SHA512 73b686e53826f9983c373bdf12343a9ebb68d0588bcd631a6d7dcbbf7d6cc2b40eb09f6bbdb2c5741d9557b2384d4d5e9b8ae7acd8e377a41c65fafef6c09d6e diff --git a/dev-vcs/breezy/breezy-3.3.15.ebuild b/dev-vcs/breezy/breezy-3.3.15.ebuild new file mode 100644 index 0000000000000..8a0b94660dad8 --- /dev/null +++ b/dev-vcs/breezy/breezy-3.3.15.ebuild @@ -0,0 +1,75 @@ +# 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" "dev-python/gpgmepy" +}