commit:     a382977a937f6cae4244bf04f412c5ba7046f04f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 02:38:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 02:38:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a382977a

app-crypt/sequoia-chameleon-gnupg: bump crates to fix build failure

Bump the nettle-sys crate to avoid nettle-sys failure with either new pkgconf
or >=nettle-3.9.0?

Closes: https://bugs.gentoo.org/913729
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/sequoia-chameleon-gnupg/Manifest         |   6 +
 ...sequoia-chameleon-gnupg-0.3.2-bump-crates.patch |  90 +++++
 .../sequoia-chameleon-gnupg-0.3.2-r2.ebuild        | 427 +++++++++++++++++++++
 3 files changed, 523 insertions(+)

diff --git a/app-crypt/sequoia-chameleon-gnupg/Manifest 
b/app-crypt/sequoia-chameleon-gnupg/Manifest
index e66c8cabdc63..7c8940760eca 100644
--- a/app-crypt/sequoia-chameleon-gnupg/Manifest
+++ b/app-crypt/sequoia-chameleon-gnupg/Manifest
@@ -13,6 +13,7 @@ DIST backtrace-0.3.67.crate 78564 BLAKE2B 
8c77d3d182c7e1ec3840fd6c7f4214322e473b
 DIST base64-0.13.1.crate 61002 BLAKE2B 
3b3a5b26e2ef18e9b4f1ede72b1bd160a1494751878e8441d463f8a514e6cb9ac859231536989e19fb1261fd864617fe31440df1b5855a0ec625521fc6fcef91
 SHA512 
1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b
 DIST base64-0.21.0.crate 72180 BLAKE2B 
c7aeaf671bdeac67703f9c4ee1be003eb8d6f46fbaa0adf61a4da304458742938db04291d5f626115e3fcc901eb3abb3f9baf8247f6344b4d49f60a200fc6fd2
 SHA512 
60bcc157c6449a2160e083611e6d53e07bbff7db8cd550d9056cb804e99e990d4a20092ba4347306a3c6b6c42474a06d92cb3895125c50cef9b74cd3cbd83a2f
 DIST bindgen-0.57.0.crate 199132 BLAKE2B 
ed5d73da72116acca0124770f6f8e162c161c3375980505a704d3fc73ad20fc8cd81ce59680deb4922def8737914027c1c1e2c9fb4b181ddf114a08522657b62
 SHA512 
a4bf376aa0f84e625f4c5eed7bdc9775549b0ab9e9edcee708d8b56df6cb49611b7093692e772ed7ad5adb1c3d8055d81b4ff19359a193a5bfb4b200ca8a26a8
+DIST bindgen-0.63.0.crate 201856 BLAKE2B 
a99470e5878c90d0ff4cdcba5d16177eb765822041203c7224f9baf1fda23f83d92c3b9cd83759ed9ca779f9d3961509b4d7e038b716b9d68bf6563743ca8141
 SHA512 
43ac3067b3635c968c3a4bf6d665d633b9b80ff4eec36aad353019fc16e25c2338ea3f00a7fb077ae0dc055d10ea3ed6c304055a18dcf0c31bf980c26b110796
 DIST bit-set-0.5.3.crate 14470 BLAKE2B 
f6525500a494236103df2b27e964bae0b2caf718156879f972b9972fa509794bcc663c2130e3d872ecadb7ead0982b415dfa4468ef12523ee248fb1bbec2559e
 SHA512 
c5ce7ef71559706d996505e138ce95d9f008ac3375928012a36339bfec48986ad935b384e2d21fa0d505d4cf98bd3e93be15955ecd9607d253b8a276351334c6
 DIST bit-vec-0.6.3.crate 19927 BLAKE2B 
f5bd3bb9c87fdf3b206739b74df20cab50a1a45af3a58b2642a5a061c26207884be58ef8369a3cd06dfd3615bff0ce15915fdd4b6b6f03facc4a0f86c0b7e910
 SHA512 
b4b4a82c80d0ff13527ae4fff449ac9c1c7bc519c013af6ea3428348e0e5b9306b725c0a13a42d7d9dcf0f895a9eee0c63695a2503eb7fd2200083c9ea3a9aa8
 DIST bitflags-1.3.2.crate 23021 BLAKE2B 
eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda
 SHA512 
3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
@@ -33,6 +34,7 @@ DIST capnp-futures-0.14.2.crate 11421 BLAKE2B 
ea74dd0511886b9f9a1a7a174f71ee81e9
 DIST capnp-rpc-0.14.1.crate 76196 BLAKE2B 
32775637354fac46e9f242a613d7a1f90c56858259222a0b08d5682265eea1484c15c928118634628e8364c419347dc4babcc9708c15f4bfdc54fb025589600a
 SHA512 
3cd6ef7283c540074cd125fd14bb204833e37ce734c6875795f6d63079207ad8edaf9a678a181171295a882c2547519cc723d45995bac7d7dab89569b44411ba
 DIST cc-1.0.78.crate 61375 BLAKE2B 
fd4765cf5ae0dc7018bc6b56298cd0fa9bf6fe23545e845670d98ce73baee55354e77c6d87cf047f10b074f3d742deca8b5631a250c69b347b4a1fc653965d43
 SHA512 
b85bec4c75cb1d1e252419052e9dd22b6892e54ea36195ff483a04f785b5b103e82b30b778459fd45324ffeb2463aa4f5696baeff2779c25ffe9f65eb99ae893
 DIST cexpr-0.4.0.crate 18023 BLAKE2B 
4a55c6c80f09c1d4ee86706d8af1f52219ceee99f19ecd0618825ce5bb27535184b64c0a49a540756b0c5e9cce6e39aac271545c504fbfb37c44052d04856cb2
 SHA512 
31592e38d80414cd07b25f7460775eafce1f91570abc1b94af7452961604574d1ca2374c0177875569b644f615a2b6fede273f37a6ee137f9adc9c0315c59b37
+DIST cexpr-0.6.0.crate 17966 BLAKE2B 
cb46f066eb1f4dbac00ec86dc3e562db7ee8ea5ff17d16a60004fa020405e455b8aeb3d001f669cb33d1b62525bfd04ec657ffca4ed44a83af4a5e75b2c820e3
 SHA512 
766bff7ca7f9bf0885aee6f014bcfc084e7fdfcd567a49443d5340acfe8f257db109de17b24588504fc35c53f2d4303e2d22da21f73669125cfca984950cf886
 DIST cfg-if-0.1.10.crate 7933 BLAKE2B 
063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8
 SHA512 
9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
 DIST cfg-if-1.0.0.crate 7934 BLAKE2B 
e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b
 SHA512 
0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
 DIST chrono-0.4.23.crate 187259 BLAKE2B 
b4a7cfb8d1921d396c9e2bf350e6c61d04480a78c170d153e525ff581e8298936583744b6c59769774fdb8ad433269d01ad792f967da96e6c19d33460de937f9
 SHA512 
697a78ee83eaf38d83011bdf2086b3149b830d3d270e8414828b98ed2426063df43ac6eb4324f2dd694662afb86e6e4f005dee6116dfdd97adaebedefffd43fa
@@ -173,15 +175,18 @@ DIST memchr-2.5.0.crate 65812 BLAKE2B 
57966413a1f933dcb2d2d4ccb29c247070f65a8329
 DIST memoffset-0.7.1.crate 8556 BLAKE2B 
1ef270f1c8dba32e66cf47a1835f10c342024762c0e56953f16e82d575250028154054d4c42b1324c60f955a40fad3bbb1c5fced147c11c9a4ad62f6f0e948c3
 SHA512 
40ca3c4b1fb929bec75bfcde0135037f81a6c5aa80181bc7dd7bbcd9c0946288eea8d23fca95e296567ccb02155ed0f66c7c23644b5cb3e6d3932be9f9742157
 DIST memsec-0.6.2.crate 5737 BLAKE2B 
f1270c63255736fef18a55658614b64049a1ba6d26765f6e8be00a9a66d0dd846dce7eadf234ecdc804fe32fc4d2ae2a4b0a1a366b622f281cc1a6c6cac72ada
 SHA512 
07588f961d1b8cdff8accfcf03a2dcc28246c8dbd902929a6f0a4def387a39d50d4b276e523e7fd669bd22296252a379d12fb63b22f5014e8ee69811fd355112
 DIST mime-0.3.16.crate 15206 BLAKE2B 
9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b
 SHA512 
cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
+DIST minimal-lexical-0.2.1.crate 94841 BLAKE2B 
e6b8919b80d938d0b98d60d4f5f29ce43d77ebfcf8b18bde08909141915c6ef4f0d07a543538d4f3ba8527a9f55926d4a8e83473248469d087e80b274d701d61
 SHA512 
385fab51884bdcc7b0f2728a219ab164d0dc8efe42160b918f2c09f79ecf853fb12bda006d11e649f097bae1499dcd41ddf2a8784ee7d178cf2c28059e46078c
 DIST miniz_oxide-0.6.2.crate 54536 BLAKE2B 
8127ebec5a2cee1c2101d9533da573e01ef1a0fcb169bb0fb1419973ddd2e6953d8dfe85f9509a5d1226643ad290f0ee1479fc68f1788ade7ddf9633d90bfe1e
 SHA512 
250782e214572acdd11df87c2788cd5f78e8388d9b285d0a850918219678e262e8b9905cc88728f5b70d13920ef9d19c43d243dad8fbcc18f8c8462662ce1419
 DIST mio-0.8.5.crate 93993 BLAKE2B 
6c20d66c3b5753234c0ab0461642b63e84383128db775c6e01d50bade5a69081f7da1626f87244c2c45c2451690e8cdca02e2d1ca20f279ba6f8401fb006c7cc
 SHA512 
e92bbc1d06ad8d4311d76f878d514d0c91e47de2c511c54bb53096ad689012c3d1ffeec18e2de05a5f66c03ad83150cd45d31edd203e9b9522ece13be00bcede
 DIST native-tls-0.2.11.crate 29008 BLAKE2B 
594511c364e639e309f32f37ae20ecfc5ddeeb39c3f7180c5f3f2cf304d8c323b977af933ffe70cce696a5a63e17c5fa7ddb119d46fc3db819a28e31a388640b
 SHA512 
7e77959932f2859757f1aeb37b78fdd459b7b6fd02424f4b7399525b94c21d1f499a718775503b8f3dfe3b4b740e1cfbee77052a2ebd0994468addb3fa665e6c
 DIST nettle-7.2.2.crate 575136 BLAKE2B 
d82c6675a304bd2c8dd2184f101dfa09bf72d5ca1293e17df38146807fd7cbb131c4858f24a251292723a5b916ccf43cb8b660e0ec5d5f2ea61f8be9921799f2
 SHA512 
d799680c0035cdf46be176fa4a4411a0a8e76aadd5e249b683edf85b8e0530ed36c1735352043e4764a64fc432d4e6669cea6fe5fa54e8c3c8d5c97f2932cfd4
 DIST nettle-sys-2.1.0.crate 27365 BLAKE2B 
d8adf0768efbab1b7bd5e12d5c7608e450d5f2090605598179b6bc5291a379c99b05b430e73d0d0cd8e301060928269652af3baaf5ce8ff513513715306c4ac5
 SHA512 
499f6f8d08ac4853816db3e3323695d065ee5d7e8588c3b7725e722f92875940a212945b0af71956e1846a1064c0afac74c54021fbf06d0c5f2d2704d32e9797
+DIST nettle-sys-2.2.0.crate 28559 BLAKE2B 
87da765ad2e88e595a6fbaad4f3d972e72c0a1fe4b5e16efd91e9c0f601c307c3891586f27e9f6096224775253479a4e63b37f2c73133e5ee9122b53ca863625
 SHA512 
db72ab5f0bfd79230489d1310ba6d91ff55ec8d7229f0c21cc309fcf50aba6c8db44fda946c01642b4b9d348c7d113d77d3c13f7cc395f7fde7e9c50cbb6e90f
 DIST new_debug_unreachable-1.0.4.crate 2561 BLAKE2B 
5c9831b04e2a44b2dd27816df0a331a8108991a84ebdfefe4e42f325ec3519ee50e89a99d490020a65a3d75acc371316c2253d2c6382453a0b15f4c3d5b96520
 SHA512 
6f964bb322aa8f2ff92078381dd720527600c6449e237b703278cbcf47b39a2581fddfc2f34ebb7cf31229e33d58de48bb5050e083fec6dad9aefddc1d771c85
 DIST nibble_vec-0.1.0.crate 11796 BLAKE2B 
2e80648e4e18d17fdd41671acc1e166a8337fe1ec1765e5a7f08c19fbcb23ce43b11d1cb396b867b9a2c0ae58e30225d9b13fa337793d8c32abf99969e7c11af
 SHA512 
21bc50bfa5f11f50b19a20691346f098db083ceb6891faed72fb91d2e911cee060ad4d19ee1c98792c5809cb6ab2bd65061bc051a1dea75d9096060b87497f67
 DIST nix-0.18.0.crate 209962 BLAKE2B 
3ff822e3d49a6c477d5da3702fc88bbe270202acb4f7c449a78969ada9b8fc8855a90ee194bd2943dd27c28286b88e1b22a6003e08260e19f7c8ed6036bc2891
 SHA512 
b86660bfa2533fdfb945a3ef840c692b5d96108e3e73b76d6489b65039cde87ae04935d2f10878cab1ea38f039083aebf4ec9b2bb6ba66ee204be700e3e96581
 DIST nom-5.1.2.crate 136174 BLAKE2B 
32387d6ded0fbcdee8a1a0d0a08cd36bf92c38906cd199b574b6b9b24f6c245f2287e04374f7d84e2867d2785aa16d8c01ae3bd3bc811829770232681e2d33a5
 SHA512 
53b8ddab62475588efae46c78b5fd086a14c0fa505c84e625fbedd6dc74d4ac047e9fbed7312b797f126e9ca1f056458d8ffe0ab13f0117de685ef8b43f86aca
+DIST nom-7.1.3.crate 117570 BLAKE2B 
5643b67990b7305e101b16b8cd27c447e162a7adc6d0dfac00920b0cb50fea98c9d4edca63c34f6845cba05f8d0acb407cf3045cf64a4cb28e53c8b6bc9090cf
 SHA512 
1ffce08dde299bc0e0367ad59c7b6a83e23decfa11115ee076ab91ec53cdd9ef37e4c2103c96eff23a7b6b8b5c3f67c83ce1917928c7d4c6462083bdfa0c9cad
 DIST ntest-0.9.0.crate 5212 BLAKE2B 
e252d146109a93bbc4591605534e8c994b8c5345d6efbd9fbd47ac196619eedaf3c2abc615581176f27a9f4e2632be8ae779f5c3a44d07b089b6115a5f233ee3
 SHA512 
266b3d81addea3c6e8bbff0cb3c1411d4709e2f6f978e34743a7fea0f3f5b241209f8569c09f604331beb1338060a5f5c901b27e3e68d2741333aff63e059846
 DIST ntest_test_cases-0.9.0.crate 5336 BLAKE2B 
8a67d43fd0e224acfd4b3abafd412ad2951a012bee97227b7d86dd25fda0d5426bf737ff37b215ad6eec36ffd95f0fe694a245d317af5f28d1f51e3413274afa
 SHA512 
09bb4d14137204237c099a6ba5461915ed538d6c3389833d1c611940e74cd6506d161a996c4fbb75fdbc3a9690d5d0409649d7d50574ef798194351fa83e8825
 DIST ntest_timeout-0.9.0.crate 2972 BLAKE2B 
49611ccee56913cc16f1d76d17a9c92544956e974a9059bf160dccf555fd885328b5369d1efd7611f85b8aeecd8bbf1db8ee4760424117c31e52906e0243e5df
 SHA512 
fe7db5f555cac1e5d04759466f63d5cafb58d715d99b18d5611d2f7e0f1ab82cd52e607a70147bc8ccf91475de5be4e1f3306df842e59afb5e464a27dbfd2248
@@ -267,6 +272,7 @@ DIST serde_with_macros-3.0.0.crate 28221 BLAKE2B 
e0a202135e93ee6347f50a3a2f7967b
 DIST sha1collisiondetection-0.2.7.crate 821703 BLAKE2B 
6a51a0547e4f6760d49a2216f9e00c680e74425b8ce032defc0aca3c08e3b24efa1f4c6ec165603db7b8ea1aef3a022ed9b01f0ea90bf6f4a609220dc1267800
 SHA512 
7b7edc81dd4ed8994eaa2686c8922dc3e6c83497f5715c4aaafd30f509dd324f9c09ccc0bad5fe54c2ab501b6988386aac6b9493f2276fba856a87a7eccc7977
 DIST sha2-0.9.9.crate 22247 BLAKE2B 
4ac2c92325ad92881f41e777010516870fd001617c2dc1d20495318219167e2622309831ecb9509d7a4b87f936c9e5b2d335bfc1842876a8b2aecedada367421
 SHA512 
bc267467089ed546edc1caaa7a00f3f769fd1d5deeb655c1968985d284bd32e4fcee4e721cf89c30e8c3cadd2f88ac557b91f90183cab112702c587f753e5877
 DIST shlex-0.1.1.crate 5687 BLAKE2B 
8e2942051c783369a8161b667f8f5b73b2081f766db26d685b4d3060f8faeecf78e8763ab927149d4cb08a29af756105f7ec3c3408ad6be2e7618053329fbed2
 SHA512 
a4d202897861ca7955a3561dc1b0fd0307d77948c9b97aa0f8b9caff2b9721d2836a08760d308675973b0e9c7bae92e4d5fbd2a2497cba9e5aeefbe31075e069
+DIST shlex-1.2.0.crate 6584 BLAKE2B 
ac07c648d9affe62512edab307fe07436dce69b428570ba6455aaf21c178145b1026e35704f920fc177b334cf190f57e393e4dd9e522dd26d133f80fb2c15f47
 SHA512 
cf48c0c47aac44654a48047fed3568c30f53f19cd131615cabbc247dbdf1eb1b7540b0d188f341251b4876dd0d5fcc13792800f0160f7907e8d8fe9a5e75083f
 DIST signature-1.6.4.crate 16012 BLAKE2B 
5c003942d28fed88cc0bf1ec6c69011cc514de935004f6d24d1bbb7da1cd5c9c719cccb63013f71c1bb5ccd47351585b1422fec423d43dfcf56ff1b371191e8a
 SHA512 
7409b4c26c6f569d486ceeb4648af2bfb9854cd9f35fde11ef0e17ae31cecc4293418e2d86e8101c79737a6d5cf9a8098bfbd64477ff4d2f537aed98eb3424bf
 DIST siphasher-0.3.10.crate 9889 BLAKE2B 
e5dd6d265340b4c9e4266ab1ff3a20f1fb87fd493b2d7b5fba32d26421cc858b38929e4ab96941d0c055375b8acebbd04236d994cadca324500ed05064b9bfc9
 SHA512 
f90425a2cccc9575d377bb92a765d34653ddef1ac12b7c63dc6d700aaa74b525787e11609061c2d3e44ea56fe0e4b8f93f7b13f0279b5de2e0f710c5caffd4ce
 DIST slab-0.4.7.crate 16647 BLAKE2B 
f567cc822e7b84f64a0b0372c22a0463d260871455a33df025808a0476dcbbd4e051a117d8896d96d6d3d0655b7c296cd691ca22edc54486440f4e2e0f5d1e1b
 SHA512 
659a9ca3323fc2cd236f6cb9eb6feeae8a1f5fa046fa239a34cd7a5ab8a7eadb9e5977e8d5cc41e9138900dd7c75ebc0601480771c5fdd2e084ee76619b82521

diff --git 
a/app-crypt/sequoia-chameleon-gnupg/files/sequoia-chameleon-gnupg-0.3.2-bump-crates.patch
 
b/app-crypt/sequoia-chameleon-gnupg/files/sequoia-chameleon-gnupg-0.3.2-bump-crates.patch
new file mode 100644
index 000000000000..f6bbeecdfbd5
--- /dev/null
+++ 
b/app-crypt/sequoia-chameleon-gnupg/files/sequoia-chameleon-gnupg-0.3.2-bump-crates.patch
@@ -0,0 +1,90 @@
+Avoid nettle-sys failure with either new pkgconf or >=nettle-3.9.0?
+
+https://bugs.gentoo.org/913729
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -131,9 +131,9 @@ checksum = 
"a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
+ 
+ [[package]]
+ name = "bindgen"
+-version = "0.57.0"
++version = "0.63.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "fd4865004a46a0aafb2a0a5eb19d3c9fc46ee5f063a6cfc605c69ac9ecf5263d"
++checksum = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885"
+ dependencies = [
+  "bitflags 1.3.2",
+  "cexpr",
+@@ -146,6 +146,7 @@ dependencies = [
+  "regex",
+  "rustc-hash",
+  "shlex",
++ "syn 1.0.105",
+ ]
+ 
+ [[package]]
+@@ -303,9 +304,9 @@ checksum = 
"a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"
+ 
+ [[package]]
+ name = "cexpr"
+-version = "0.4.0"
++version = "0.6.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27"
++checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
+ dependencies = [
+  "nom",
+ ]
+@@ -1642,6 +1643,12 @@ version = "0.3.16"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
+ 
++[[package]]
++name = "minimal-lexical"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index";
++checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
++
+ [[package]]
+ name = "miniz_oxide"
+ version = "0.6.2"
+@@ -1695,9 +1702,9 @@ dependencies = [
+ 
+ [[package]]
+ name = "nettle-sys"
+-version = "2.1.0"
++version = "2.2.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "b13b685c7883e3a32196ccf3ce594947ec37ace43d74e157de7ca03d3fe62d17"
++checksum = "b5e81c347b9002da0b6b0c4060993c280e99eb14b42ecf65a2fefcd6eb3d8a73"
+ dependencies = [
+  "bindgen",
+  "cc",
+@@ -1736,12 +1743,12 @@ dependencies = [
+ 
+ [[package]]
+ name = "nom"
+-version = "5.1.2"
++version = "7.1.3"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
++checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
+ dependencies = [
+  "memchr",
+- "version_check",
++ "minimal-lexical",
+ ]
+ 
+ [[package]]
+@@ -2697,9 +2704,9 @@ dependencies = [
+ 
+ [[package]]
+ name = "shlex"
+-version = "0.1.1"
++version = "1.2.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
++checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
+ 
+ [[package]]
+ name = "signature"

diff --git 
a/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.3.2-r2.ebuild 
b/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.3.2-r2.ebuild
new file mode 100644
index 000000000000..1a5ab1081d66
--- /dev/null
+++ b/app-crypt/sequoia-chameleon-gnupg/sequoia-chameleon-gnupg-0.3.2-r2.ebuild
@@ -0,0 +1,427 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.6.2
+
+EAPI=8
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+1.0.8
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]+wasi-snapshot-preview1
+       [email protected]+wasi-snapshot-preview1
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+LLVM_MAX_SLOT=15
+inherit cargo llvm xdg-utils
+
+DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
+HOMEPAGE="https://sequoia-pgp.org/";
+SRC_URI="
+       
https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/archive/v${PV}/${P}-v${PV}.tar.bz2
+       ${CARGO_CRATE_URIS}
+"
+S="${WORKDIR}"/${PN}-v${PV}-0052b89698af9ef6e1915ce12db119f399f3cea9
+
+LICENSE="GPL-3+"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ LGPL-3+ MIT MPL-2.0
+       Unicode-DFS-2016
+       || ( GPL-2 GPL-3 LGPL-3 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+# See e.g. https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/issues/8
+# Even though that's fixed as of >0.2.0, tests still completely fail inside
+# Portage. Not yet sure why/how. They do better outside, although some fail
+# still then.
+RESTRICT="test"
+
+DEPEND="
+       dev-db/sqlite:3
+       dev-libs/gmp:=
+       dev-libs/nettle:=
+       dev-libs/openssl:=
+"
+RDEPEND="${DEPEND}"
+# Needed for bindgen
+BDEPEND="<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))"
+
+QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.3.2-bump-crates.patch
+)
+
+llvm_check_deps() {
+       has_version -b "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_test() {
+       export GNUPGHOME="${T}"/.gnupg
+       export REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
+       export REAL_GPGV_BIN="${BROOT}"/usr/bin/gpgv
+
+       mkdir "${GNUPGHOME}" || die
+       chmod 700 "${GNUPGHOME}" || die
+
+       xdg_environment_reset
+       RUST_BACKTRACE=full cargo_src_test -vv
+}

Reply via email to