diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-04 07:55:32 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-04 07:57:40 +0300 |
commit | 8f518e7c6e15eb03489c221a831e5ed9e9df7289 (patch) | |
tree | 87a345316d06572e34d70b233911c89345080570 | |
parent | app-arch/createrepo_c: drop 1.0.3 (diff) | |
download | gentoo-8f518e7c6e15eb03489c221a831e5ed9e9df7289.tar.gz gentoo-8f518e7c6e15eb03489c221a831e5ed9e9df7289.tar.bz2 gentoo-8f518e7c6e15eb03489c221a831e5ed9e9df7289.zip |
dev-vcs/breezy: add 3.3.7
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | dev-vcs/breezy/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/breezy/breezy-3.3.7.ebuild | 77 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/breezy/Manifest b/dev-vcs/breezy/Manifest index 2dde30d18045..331c17732800 100644 --- a/dev-vcs/breezy/Manifest +++ b/dev-vcs/breezy/Manifest @@ -4,6 +4,8 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de 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 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 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.7.ebuild b/dev-vcs/breezy/breezy-3.3.7.ebuild new file mode 100644 index 000000000000..215f1f5ffa2c --- /dev/null +++ b/dev-vcs/breezy/breezy-3.3.7.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]" +} |