Merge pull request #218970 from marsam/update-breezy

python310Packages.breezy: 3.2.2 -> 3.3.2

authored by

Mario Rodas and committed by
GitHub
4f16b8f4 70d296eb

+429 -16
+1 -1
pkgs/build-support/fetchbzr/builder.sh
··· 5 5 6 6 # Perform a lightweight checkout so that we don't end up importing 7 7 # all the repository's history. 8 - BZR_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url" 8 + XDG_CACHE_HOME="$TMPDIR" BRZ_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
+311
pkgs/development/python-modules/breezy/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "aho-corasick" 7 + version = "0.7.20" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" 10 + dependencies = [ 11 + "memchr", 12 + ] 13 + 14 + [[package]] 15 + name = "autocfg" 16 + version = "1.1.0" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 19 + 20 + [[package]] 21 + name = "bitflags" 22 + version = "1.3.2" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 25 + 26 + [[package]] 27 + name = "breezy" 28 + version = "3.3.2" 29 + dependencies = [ 30 + "pyo3", 31 + ] 32 + 33 + [[package]] 34 + name = "cfg-if" 35 + version = "1.0.0" 36 + source = "registry+https://github.com/rust-lang/crates.io-index" 37 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 38 + 39 + [[package]] 40 + name = "indoc" 41 + version = "0.3.6" 42 + source = "registry+https://github.com/rust-lang/crates.io-index" 43 + checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" 44 + dependencies = [ 45 + "indoc-impl", 46 + "proc-macro-hack", 47 + ] 48 + 49 + [[package]] 50 + name = "indoc-impl" 51 + version = "0.3.6" 52 + source = "registry+https://github.com/rust-lang/crates.io-index" 53 + checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0" 54 + dependencies = [ 55 + "proc-macro-hack", 56 + "proc-macro2", 57 + "quote", 58 + "syn", 59 + "unindent", 60 + ] 61 + 62 + [[package]] 63 + name = "instant" 64 + version = "0.1.12" 65 + source = "registry+https://github.com/rust-lang/crates.io-index" 66 + checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 67 + dependencies = [ 68 + "cfg-if", 69 + ] 70 + 71 + [[package]] 72 + name = "lazy_static" 73 + version = "1.4.0" 74 + source = "registry+https://github.com/rust-lang/crates.io-index" 75 + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 76 + 77 + [[package]] 78 + name = "libc" 79 + version = "0.2.139" 80 + source = "registry+https://github.com/rust-lang/crates.io-index" 81 + checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" 82 + 83 + [[package]] 84 + name = "lock_api" 85 + version = "0.4.9" 86 + source = "registry+https://github.com/rust-lang/crates.io-index" 87 + checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" 88 + dependencies = [ 89 + "autocfg", 90 + "scopeguard", 91 + ] 92 + 93 + [[package]] 94 + name = "memchr" 95 + version = "2.5.0" 96 + source = "registry+https://github.com/rust-lang/crates.io-index" 97 + checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 98 + 99 + [[package]] 100 + name = "once_cell" 101 + version = "1.17.1" 102 + source = "registry+https://github.com/rust-lang/crates.io-index" 103 + checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" 104 + 105 + [[package]] 106 + name = "parking_lot" 107 + version = "0.11.2" 108 + source = "registry+https://github.com/rust-lang/crates.io-index" 109 + checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" 110 + dependencies = [ 111 + "instant", 112 + "lock_api", 113 + "parking_lot_core", 114 + ] 115 + 116 + [[package]] 117 + name = "parking_lot_core" 118 + version = "0.8.6" 119 + source = "registry+https://github.com/rust-lang/crates.io-index" 120 + checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" 121 + dependencies = [ 122 + "cfg-if", 123 + "instant", 124 + "libc", 125 + "redox_syscall", 126 + "smallvec", 127 + "winapi", 128 + ] 129 + 130 + [[package]] 131 + name = "paste" 132 + version = "0.1.18" 133 + source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" 135 + dependencies = [ 136 + "paste-impl", 137 + "proc-macro-hack", 138 + ] 139 + 140 + [[package]] 141 + name = "paste-impl" 142 + version = "0.1.18" 143 + source = "registry+https://github.com/rust-lang/crates.io-index" 144 + checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" 145 + dependencies = [ 146 + "proc-macro-hack", 147 + ] 148 + 149 + [[package]] 150 + name = "proc-macro-hack" 151 + version = "0.5.20+deprecated" 152 + source = "registry+https://github.com/rust-lang/crates.io-index" 153 + checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" 154 + 155 + [[package]] 156 + name = "proc-macro2" 157 + version = "1.0.51" 158 + source = "registry+https://github.com/rust-lang/crates.io-index" 159 + checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" 160 + dependencies = [ 161 + "unicode-ident", 162 + ] 163 + 164 + [[package]] 165 + name = "pyo3" 166 + version = "0.15.2" 167 + source = "registry+https://github.com/rust-lang/crates.io-index" 168 + checksum = "d41d50a7271e08c7c8a54cd24af5d62f73ee3a6f6a314215281ebdec421d5752" 169 + dependencies = [ 170 + "cfg-if", 171 + "indoc", 172 + "libc", 173 + "parking_lot", 174 + "paste", 175 + "pyo3-build-config", 176 + "pyo3-macros", 177 + "unindent", 178 + ] 179 + 180 + [[package]] 181 + name = "pyo3-build-config" 182 + version = "0.15.2" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "779239fc40b8e18bc8416d3a37d280ca9b9fb04bda54b98037bb6748595c2410" 185 + dependencies = [ 186 + "once_cell", 187 + ] 188 + 189 + [[package]] 190 + name = "pyo3-macros" 191 + version = "0.15.2" 192 + source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "00b247e8c664be87998d8628e86f282c25066165f1f8dda66100c48202fdb93a" 194 + dependencies = [ 195 + "pyo3-macros-backend", 196 + "quote", 197 + "syn", 198 + ] 199 + 200 + [[package]] 201 + name = "pyo3-macros-backend" 202 + version = "0.15.2" 203 + source = "registry+https://github.com/rust-lang/crates.io-index" 204 + checksum = "5a8c2812c412e00e641d99eeb79dd478317d981d938aa60325dfa7157b607095" 205 + dependencies = [ 206 + "proc-macro2", 207 + "pyo3-build-config", 208 + "quote", 209 + "syn", 210 + ] 211 + 212 + [[package]] 213 + name = "quote" 214 + version = "1.0.23" 215 + source = "registry+https://github.com/rust-lang/crates.io-index" 216 + checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" 217 + dependencies = [ 218 + "proc-macro2", 219 + ] 220 + 221 + [[package]] 222 + name = "redox_syscall" 223 + version = "0.2.16" 224 + source = "registry+https://github.com/rust-lang/crates.io-index" 225 + checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 226 + dependencies = [ 227 + "bitflags", 228 + ] 229 + 230 + [[package]] 231 + name = "regex" 232 + version = "1.7.1" 233 + source = "registry+https://github.com/rust-lang/crates.io-index" 234 + checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" 235 + dependencies = [ 236 + "aho-corasick", 237 + "memchr", 238 + "regex-syntax", 239 + ] 240 + 241 + [[package]] 242 + name = "regex-syntax" 243 + version = "0.6.28" 244 + source = "registry+https://github.com/rust-lang/crates.io-index" 245 + checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" 246 + 247 + [[package]] 248 + name = "rio-py" 249 + version = "3.3.2" 250 + dependencies = [ 251 + "lazy_static", 252 + "pyo3", 253 + "regex", 254 + ] 255 + 256 + [[package]] 257 + name = "scopeguard" 258 + version = "1.1.0" 259 + source = "registry+https://github.com/rust-lang/crates.io-index" 260 + checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 261 + 262 + [[package]] 263 + name = "smallvec" 264 + version = "1.10.0" 265 + source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 267 + 268 + [[package]] 269 + name = "syn" 270 + version = "1.0.109" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 273 + dependencies = [ 274 + "proc-macro2", 275 + "quote", 276 + "unicode-ident", 277 + ] 278 + 279 + [[package]] 280 + name = "unicode-ident" 281 + version = "1.0.6" 282 + source = "registry+https://github.com/rust-lang/crates.io-index" 283 + checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" 284 + 285 + [[package]] 286 + name = "unindent" 287 + version = "0.1.11" 288 + source = "registry+https://github.com/rust-lang/crates.io-index" 289 + checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c" 290 + 291 + [[package]] 292 + name = "winapi" 293 + version = "0.3.9" 294 + source = "registry+https://github.com/rust-lang/crates.io-index" 295 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 296 + dependencies = [ 297 + "winapi-i686-pc-windows-gnu", 298 + "winapi-x86_64-pc-windows-gnu", 299 + ] 300 + 301 + [[package]] 302 + name = "winapi-i686-pc-windows-gnu" 303 + version = "0.4.0" 304 + source = "registry+https://github.com/rust-lang/crates.io-index" 305 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 306 + 307 + [[package]] 308 + name = "winapi-x86_64-pc-windows-gnu" 309 + version = "0.4.0" 310 + source = "registry+https://github.com/rust-lang/crates.io-index" 311 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+78 -13
pkgs/development/python-modules/breezy/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , configobj 5 - , patiencediff 6 + , cython 7 + , dulwich 6 8 , fastbencode 7 9 , fastimport 8 - , dulwich 10 + , libiconv 11 + , merge3 12 + , patiencediff 13 + , pyyaml 14 + , urllib3 15 + , breezy 9 16 , launchpadlib 10 17 , testtools 11 18 , pythonOlder 12 19 , installShellFiles 20 + , rustPlatform 21 + , setuptools-gettext 22 + , setuptools-rust 23 + , testers 13 24 }: 14 25 15 26 buildPythonPackage rec { 16 27 pname = "breezy"; 17 - version = "3.2.2"; 28 + version = "3.3.2"; 29 + format = "pyproject"; 18 30 19 31 disabled = pythonOlder "3.5"; 20 32 21 33 src = fetchPypi { 22 34 inherit pname version; 23 - sha256 = "sha256-GHpuRSCN0F2BdQc2cgyDcQz0gJT1R+xAgcVxJZVZpNU="; 35 + sha256 = "sha256-TqaUn8uwdrl4VFsJn6xoq6011voYmd7vT2uCo9uiV8E="; 24 36 }; 25 37 26 - nativeBuildInputs = [ installShellFiles ]; 38 + cargoDeps = rustPlatform.importCargoLock { 39 + lockFile = ./Cargo.lock; 40 + }; 41 + 42 + postPatch = '' 43 + ln -s ${./Cargo.lock} Cargo.lock 44 + ''; 45 + 46 + cargoHash = "sha256-xYZh/evNp036/wRlNWWUYeD2EkleM+OeY4qbYMCE00I="; 47 + 48 + nativeBuildInputs = [ 49 + cython 50 + installShellFiles 51 + rustPlatform.cargoSetupHook 52 + rustPlatform.rust.cargo 53 + rustPlatform.rust.rustc 54 + setuptools-gettext 55 + setuptools-rust 56 + ]; 57 + 58 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 27 59 28 60 propagatedBuildInputs = [ 29 61 configobj 62 + dulwich 30 63 fastbencode 64 + merge3 31 65 patiencediff 32 - fastimport 33 - dulwich 34 - launchpadlib 66 + pyyaml 67 + urllib3 68 + ] ++ passthru.optional-dependencies.launchpad 69 + ++ passthru.optional-dependencies.fastimport; 70 + 71 + nativeCheckInputs = [ 72 + testtools 35 73 ]; 36 74 37 - nativeCheckInputs = [ testtools ]; 75 + # multiple failures on sandbox 76 + doCheck = false; 77 + 78 + checkPhase = '' 79 + runHook preCheck 38 80 39 - # There is a conflict with their `lazy_import` and plugin tests 40 - doCheck = false; 81 + HOME=$TMPDIR $out/bin/brz --no-plugins selftest 82 + 83 + runHook postCheck 84 + ''; 41 85 42 - # symlink for bazaar compatibility 43 86 postInstall = '' 87 + wrapProgram $out/bin/brz --prefix PYTHONPATH : "$PYTHONPATH" 88 + 89 + # symlink for bazaar compatibility 44 90 ln -s "$out/bin/brz" "$out/bin/bzr" 45 91 46 92 installShellCompletion --cmd brz --bash contrib/bash/brz 47 93 ''; 48 94 49 - pythonImportsCheck = [ "breezy" ]; 95 + pythonImportsCheck = [ 96 + "breezy" 97 + "breezy.bzr.rio" 98 + ]; 99 + 100 + passthru = { 101 + tests.version = testers.testVersion { 102 + package = breezy; 103 + command = "HOME=$TMPDIR brz --version"; 104 + }; 105 + optional-dependencies = { 106 + launchpad = [ 107 + launchpadlib 108 + ]; 109 + fastimport = [ 110 + fastimport 111 + ]; 112 + }; 113 + }; 50 114 51 115 meta = with lib; { 52 116 description = "Friendly distributed version control system"; 53 117 homepage = "https://www.breezy-vcs.org/"; 54 118 license = licenses.gpl2Only; 55 119 maintainers = [ maintainers.marsam ]; 120 + mainProgram = "brz"; 56 121 }; 57 122 }
+35
pkgs/development/python-modules/merge3/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchPypi 5 + , setuptools 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "merge3"; 10 + version = "0.0.13"; 11 + 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "8abda1d2d49776323d23d09bfdd80d943a57d43d28d6152ffd2c87956a9b6b54"; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + setuptools 23 + ]; 24 + 25 + pythonImportsCheck = [ 26 + "merge3" 27 + ]; 28 + 29 + meta = with lib; { 30 + description = "Python implementation of 3-way merge"; 31 + homepage = "https://github.com/breezy-team/merge3"; 32 + license = licenses.gpl2Plus; 33 + maintainers = with maintainers; [ marsam ]; 34 + }; 35 + }
+2 -2
pkgs/development/python-modules/setuptools-gettext/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "setuptools-gettext"; 10 - version = "0.1.1"; 10 + version = "0.1.3"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 16 16 owner = "breezy-team"; 17 17 repo = "setuptools-gettext"; 18 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-MifsEuWNTEDJa9RfIbM/EDMJg0cmHXX6oJxNskKEbY4="; 19 + hash = "sha256-pTjYdezNBFeLCh6cbC+YtHxQB4zrZAFTCjjNQffbHhc="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2
pkgs/top-level/python-packages.nix
··· 5870 5870 python3Packages = self; 5871 5871 }); 5872 5872 5873 + merge3 = callPackage ../development/python-modules/merge3 { }; 5874 + 5873 5875 mergedb = callPackage ../development/python-modules/mergedb { }; 5874 5876 5875 5877 mergedeep = callPackage ../development/python-modules/mergedeep { };