From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/amp/files/, app-editors/amp/
Date: Thu, 29 Aug 2024 14:49:40 +0000 (UTC) [thread overview]
Message-ID: <1724942663.aa02462dbfa44ef69b67fe95eab18563ce130996.pastalian46@gentoo> (raw)
commit: aa02462dbfa44ef69b67fe95eab18563ce130996
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Aug 29 13:27:26 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Aug 29 14:44:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa02462d
app-editors/amp: fix slot deps
- fix dev-libs/libgit2 slot
- fix build with rust-1.80
- use cargo_src_install instead of dobin
Closes: https://bugs.gentoo.org/932177
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
app-editors/amp/Manifest | 5 ++-
.../amp/{amp-0.7.0.ebuild => amp-0.7.0-r1.ebuild} | 14 +++++--
app-editors/amp/files/amp-0.7.0-rust-1.80.patch | 46 ++++++++++++++++++++++
3 files changed, 59 insertions(+), 6 deletions(-)
diff --git a/app-editors/amp/Manifest b/app-editors/amp/Manifest
index b56531d44..6ecbda8b1 100644
--- a/app-editors/amp/Manifest
+++ b/app-editors/amp/Manifest
@@ -95,6 +95,7 @@ DIST ndk-context-0.1.1.crate 2205 BLAKE2B 6c1013410459ee13357877654303a04c2ee674
DIST net2-0.2.39.crate 20696 BLAKE2B a2a5890b3c96adbe58ce31c399920da20402356391e6f8d77bb611cfb8b59d9a52420142e2f0e1c52c0c00d4009819988a908621e1934eaa1e13e46e81eb9281 SHA512 3e36acae8205a9cdbe4337fa487a61989e17de0e584b586f3826c10d0df96c886cce374ddb918dae6b00544780e28d8e0e9d40da07a7d97f05cb5dd3ba622187
DIST nix-0.24.3.crate 266843 BLAKE2B 1eb1667a60d07c4541a0cb0cf0bed2c7c5256411028becdb229febd0f6215e8e176d3bf691f3bad2fc64841209bf364ff8345a3e92afb2bf8d3705fd734c8ef5 SHA512 6ecda3a14ce00002265e46a066b443cd3c092a306e25d9206b74ae31b8468fd5105b597ff1e7097588bbb6ef5e52fa48ebad908303b61db53361b525f44c13ad
DIST nom-7.1.3.crate 117570 BLAKE2B 5643b67990b7305e101b16b8cd27c447e162a7adc6d0dfac00920b0cb50fea98c9d4edca63c34f6845cba05f8d0acb407cf3045cf64a4cb28e53c8b6bc9090cf SHA512 1ffce08dde299bc0e0367ad59c7b6a83e23decfa11115ee076ab91ec53cdd9ef37e4c2103c96eff23a7b6b8b5c3f67c83ce1917928c7d4c6462083bdfa0c9cad
+DIST num-conv-0.1.0.crate 7444 BLAKE2B 4f5c4695006aa3ae77aaf5c55999a07d8ddfab294584fe10d73eb6abbb3f551846646156581599f966a28c74d80d3ac4373c49d2099991f7ed9edb56d36feec4 SHA512 7884c0c6599c66e40b9a79435e1bbcec60aa7e68b59686922dfab19ccbcac6a6e54f208cfb3d5a8a12e86e4dd67e09977d60b69ef6940e308a28256733f36100
DIST num-traits-0.2.16.crate 50130 BLAKE2B 1101d28cb4dce477657684a068792b94c7008a965e655edbabfeff51cbe6f008450dc6d7e4fc5dc4fe9c3ee8623ed77a7bde83ce2f68e75d618295fe6cebe0a8 SHA512 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94
DIST num_cpus-1.16.0.crate 15713 BLAKE2B 11b432fc7c7496d48918f09ed0954e0f1d0845596301266321293b374392898853fb7c313a0b0fd9d22d9dbfe3ccc5cc1e38f38407c89b2e5906eb76caa6ad68 SHA512 a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d
DIST numtoa-0.1.0.crate 8999 BLAKE2B 6a8cbf17458227fa87bdd6a35404e09afc092a1ea45d68c6c035e08a9d344fdb356b1bc7b52239dd6354ed9094e9338ccac599542bd7f0caf167ab8d17ad5fa7 SHA512 41b5c774048592c5867fba217c85d4ece4540e0f3ab0eea7dd1a6af340ba46dae42bbca62ea7fe3afdb258660f39a3d3082264c99dea67d3d1ae178d00a01354
@@ -149,9 +150,9 @@ DIST tempfile-3.8.1.crate 32164 BLAKE2B abccff7939df8cd223a5a8ee61e5af7c35335f1c
DIST termion-2.0.1.crate 23405 BLAKE2B 457b7d939e8002cbccb8cf151bc33ad6189ac0a684f262909ba391cd6c54403edace919cc53dafb9514b108f0382b7c4e603b25f02e69d1d032d5597d09f9c82 SHA512 4e46fe6ad0e3e3047796253e5064f044f9feb34f9341d478a0548ef32e46a7a6c0fe86ec0ae2e8b700d5b3ac85d0ccb8aec63064ba40cadfcc8714a5a10225df
DIST thiserror-1.0.50.crate 19414 BLAKE2B a093f66ad191a8c4b15356f8d29578273b36f9f11b5843195eaa15b70bd4c8eaf6dffb631564386acf35a9ddf856e05055b419af52d4e008f582ae444f3dd5d2 SHA512 65605a9cfbc43447a50980739259a45d933f1eb315926dce909892f7162c79bd04bfcee7b38b5a9fa71b24fbe4416d050ae8e2443932577541513a23ebeeac46
DIST thiserror-impl-1.0.50.crate 15357 BLAKE2B 41309507014a2c628b7e91d250335070e4cca6c6c452c90ee7e6173bed049df83ca197b37c16537cf15415550919c248e0f6c798aead760e7bbcd25eab701d50 SHA512 8555e010f94390e93ba757bce9ef25d066ed542f23b843db431a66fbab722584ea0ce6c9d4b6f4d92cea3d91c190336abd567c4a0aa4a27893db25720c5b89c9
-DIST time-0.3.31.crate 121762 BLAKE2B af9097f5e44bf1a2d3bfd26e094e5c3bd17697b35ace2549167ce9f766e422d34f619b230fa81e5de6296f6d01de74a58923d7e69f7db04d6ad055d21f177bfa SHA512 e1cf8197f1eb9556e6320268eea35ca4e5ef33020fae94b181cc21d97b56c074b87ea783804cd7b7ff072736e498f0890b7af8e16c5492a12a4597a4cf33c4fa
+DIST time-0.3.36.crate 119805 BLAKE2B d4da96368ab8565373d034edce261e0d8867036f2ba87e84b5e4a506a70ed3b62b93ba10734aecb39847e258cf7008b6ae57f92df8d0e5229cd3fec488d14caf SHA512 83da6e27691d1f0ef37ed276528e927686a06dab4811b6e29d625ef7a0f7c30fbb86896d74a2b087726e7a24a951b0a83aa1f5f22d711ead54f447d36ac47133
DIST time-core-0.1.2.crate 7191 BLAKE2B c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9 SHA512 3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52
-DIST time-macros-0.2.16.crate 24356 BLAKE2B 807f56609924cf66dd57eba1d39b0b9302dbadff468562bd624c5413e5e9c36c416f670d558d519a89c0399b9b5aeaa41b2fa2bdbac9113e61bc830d7494a470 SHA512 19345f2bdf626cdc8c44bc11fbe9e13466cb7223cae89228c20ae83e7e9d71e8fe6a037b0461c289f9ceb6c8f08885458bc1db09adeeaddbbb0fbfb0dbfbf6c5
+DIST time-macros-0.2.18.crate 24361 BLAKE2B 09fa325be0b1a5b922285f035484b0de8e339306b49595c87f6374e46459d6777c6db4b12c1a0c6ea9795ae8c741188fbb81208d0499a651760b9f5089323fc7 SHA512 557786115add272290be8305ab79c44f5b4425b64eb698492fe300f15879d9e013c66933cae8aa8faad9c109e2917e7a0e43c8a5eed7f4b0f0fdad092089efe4
DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9
DIST tinyvec-1.6.0.crate 45991 BLAKE2B e9699d4d80a78978f0ebfd049f5b33d7f23d401cf4f4439ccb168e8c0e322473ad0ea7e2ff0ff69e9aac3e5c4c9ae5a7102185533bfbf96dbe77b3526e700bc9 SHA512 e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c
DIST tinyvec_macros-0.1.1.crate 5865 BLAKE2B 2bf4f68ca11dc19c72232951605a4c809b34ff38ee365ee4f592a3c41360e23c9330cfba961e2692a0ad568fef4aaaac51c40808d491178cf7a0c4b5a1c5d484 SHA512 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e
diff --git a/app-editors/amp/amp-0.7.0.ebuild b/app-editors/amp/amp-0.7.0-r1.ebuild
similarity index 96%
rename from app-editors/amp/amp-0.7.0.ebuild
rename to app-editors/amp/amp-0.7.0-r1.ebuild
index a0454e295..8f7931667 100644
--- a/app-editors/amp/amp-0.7.0.ebuild
+++ b/app-editors/amp/amp-0.7.0-r1.ebuild
@@ -102,6 +102,7 @@ CRATES="
net2@0.2.39
nix@0.24.3
nom@7.1.3
+ num-conv@0.1.0
num-traits@0.2.16
num_cpus@1.16.0
numtoa@0.1.0
@@ -157,8 +158,8 @@ CRATES="
thiserror-impl@1.0.50
thiserror@1.0.50
time-core@0.1.2
- time-macros@0.2.16
- time@0.3.31
+ time-macros@0.2.18
+ time@0.3.36
tinytemplate@1.2.1
tinyvec@1.6.0
tinyvec_macros@0.1.1
@@ -242,13 +243,18 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
-DEPEND="dev-libs/libgit2:="
+DEPEND="dev-libs/libgit2:0/1.7"
RDEPEND="${DEPEND}"
+PATCHES=(
+ # fix build with rust 1.80
+ "${FILESDIR}/${P}-rust-1.80.patch"
+)
+
QA_FLAGS_IGNORED="usr/bin/amp"
src_install() {
- dobin "target/$(usex debug debug release)/amp"
+ cargo_src_install
if use doc; then
dodoc README.md CHANGELOG.md
diff --git a/app-editors/amp/files/amp-0.7.0-rust-1.80.patch b/app-editors/amp/files/amp-0.7.0-rust-1.80.patch
new file mode 100644
index 000000000..12968ef04
--- /dev/null
+++ b/app-editors/amp/files/amp-0.7.0-rust-1.80.patch
@@ -0,0 +1,46 @@
+https://github.com/time-rs/time/issues/693
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -864,6 +864,12 @@ dependencies = [
+ "minimal-lexical",
+ ]
+
++[[package]]
++name = "num-conv"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
++
+ [[package]]
+ name = "num-traits"
+ version = "0.2.16"
+@@ -1372,12 +1378,13 @@ dependencies = [
+
+ [[package]]
+ name = "time"
+-version = "0.3.31"
++version = "0.3.36"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e"
++checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
+ dependencies = [
+ "deranged",
+ "itoa",
++ "num-conv",
+ "powerfmt",
+ "serde",
+ "time-core",
+@@ -1392,10 +1399,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+
+ [[package]]
+ name = "time-macros"
+-version = "0.2.16"
++version = "0.2.18"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f"
++checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
+ dependencies = [
++ "num-conv",
+ "time-core",
+ ]
+
next reply other threads:[~2024-08-29 14:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 14:49 Takuya Wakazono [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-24 14:16 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/amp/files/, app-editors/amp/ Takuya Wakazono
2024-11-24 14:16 Takuya Wakazono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1724942663.aa02462dbfa44ef69b67fe95eab18563ce130996.pastalian46@gentoo \
--to=pastalian46@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox