diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-02-08 19:48:34 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-02-08 19:52:37 +0200 |
commit | 66a9490d60a264e7d7bcff47354b7145935f4baa (patch) | |
tree | 42f5545b840dc61f570b961db7723d3177c134c7 /dev-vcs | |
parent | app-emulation/vice: force bash during src_compile (diff) | |
download | gentoo-66a9490d60a264e7d7bcff47354b7145935f4baa.tar.gz gentoo-66a9490d60a264e7d7bcff47354b7145935f4baa.tar.bz2 gentoo-66a9490d60a264e7d7bcff47354b7145935f4baa.zip |
dev-vcs/breezy: add 3.3.5
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/breezy/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/breezy/breezy-3.3.5.ebuild | 77 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/breezy/Manifest b/dev-vcs/breezy/Manifest index a1ab6ca3aacf..2dde30d18045 100644 --- a/dev-vcs/breezy/Manifest +++ b/dev-vcs/breezy/Manifest @@ -2,6 +2,8 @@ DIST aho-corasick-1.0.5.crate 172064 BLAKE2B bab7767070b959e8e4c054bf505b9423d7f DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST breezy-3.3.4.tar.gz 9446061 BLAKE2B 242963a42e5ca03db6b5765d73ea6888bf33dfed777a27d8d629bf70411bc43b83de09c6fc21c9f96a8ca1bf442077ea7c2f8a7fefbb1d8dd348d824d8b17f34 SHA512 7619c31acbfdf8cd8193db4a87851ac41376bff3e4a9eb130d7d940fb458a6d064a0fb089888368ddd654e4b965772dd657553cdda20a91e32ab43760b0897b4 +DIST breezy-3.3.5-crates.tar.xz 3894068 BLAKE2B 4ea9de19a602d5e5040d3bd4a0196156b7185a371dbf36cfd99e069efc3ee2a9b3d4d308afbdf715132601ba5a6a2fe2863cc852236bc17f5543bd2d6b35c9a6 SHA512 af6819ada768beac65c23599638d291510a474f56fd46f1f16540f9fe8b0c509371740c38b61b0d3d4a60d5b8552fd2f2b8fc42c6cf9d1a7e39ab69614cdc8a1 +DIST breezy-3.3.5.tar.gz 10393262 BLAKE2B 32563b74fb639888265b1a6af7650f73a2e11750be7d7cb62861aafae1c08998bffc666727fcd4ee31dcc741232b4aeb518ef2023bcf1d8138563724b63672f8 SHA512 daff16f4df9b2f89fd6bef335af0b30d2567c8f1e4fa9b02ba2a528f0c56daedc58c83af92297148001fb9eb177115875d02a2969b9847387058edcae0db104b DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 diff --git a/dev-vcs/breezy/breezy-3.3.5.ebuild b/dev-vcs/breezy/breezy-3.3.5.ebuild new file mode 100644 index 000000000000..215f1f5ffa2c --- /dev/null +++ b/dev-vcs/breezy/breezy-3.3.5.ebuild @@ -0,0 +1,77 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{10..12} ) + +CRATES=" +" + +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://launchpad.net/brz/$(ver_cut 1-2)/${PV}/+download/${P}.tar.gz + ${CARGO_CRATE_URIS}" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+="https://dev.gentoo.org/~arthurzam/distfiles/dev-vcs/${PN}/${P}-crates.tar.xz" +fi + +LICENSE="GPL-2+" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +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-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]" +} |