From afdfa05c5ce824f49340d033a80cdee422ac264a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 8 Aug 2023 09:27:00 +0100 Subject: gentoo auto-resync : 08:08:2023 - 09:27:00 --- dev-vcs/Manifest.gz | Bin 11356 -> 11355 bytes dev-vcs/git-lfs/Manifest | 8 +-- dev-vcs/git-lfs/git-lfs-3.3.0.ebuild | 86 -------------------------------- dev-vcs/git-lfs/git-lfs-3.4.0.ebuild | 92 +++++++++++++++++++++++++++++++++++ dev-vcs/git-lfs/git-lfs-9999.ebuild | 12 +++-- 5 files changed, 105 insertions(+), 93 deletions(-) delete mode 100644 dev-vcs/git-lfs/git-lfs-3.3.0.ebuild create mode 100644 dev-vcs/git-lfs/git-lfs-3.4.0.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/Manifest.gz b/dev-vcs/Manifest.gz index 0b1f5f100462..d339681c1a66 100644 Binary files a/dev-vcs/Manifest.gz and b/dev-vcs/Manifest.gz differ diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest index 148308943a0d..cd4c68b112c5 100644 --- a/dev-vcs/git-lfs/Manifest +++ b/dev-vcs/git-lfs/Manifest @@ -1,7 +1,7 @@ DIST git-lfs-3.2.0.tar.gz 3270970 BLAKE2B fc235d48e44f8a0f446b05914cd110e6486481482b2884483dcf04198a3275a633cd8090e1591975f8b84ba678c258581e3510fc0d478d5fc72abf6aa98bd5c0 SHA512 c2ba8cecd5b3519a032f446b0c3043352f37f3c67ff3c2304a38beb176f0ae8efd1deaeb8bd54a35d7dd7dcd988da67249c896dffd83fc293b165a3e6bb02d66 -DIST git-lfs-3.3.0-deps.tar.xz 24664124 BLAKE2B d22a7c7943a917746d1cf22db30582a8bc15e21fd1afe3194aae07316ddb68072ef2d183eef5b909566c640aa435f62aac0658ccbcb8148efe9506c102795656 SHA512 801d278eb76236ce683797ca7a9520b8dfe1ebdb59ccc4ba0526878f5e794d30199604004949e906ae6cccb68ea3b8e3afdacbd6de5e8a79448dfa09744af66c -DIST git-lfs-3.3.0.tar.gz 656080 BLAKE2B 33cd41c3669f0eb5b94299ca192ede32337b521c812ceb3ecc1e07f2375b80037b62948b8d4e345cd86324d4e781024b691e809550f61302a60962b1c8400c4c SHA512 c339a61c23950d249ac135d75c9b9c4b871f491535d6d6a0accbf06efe36798566502ab310396f44acdc1d93aa7358a719a81428042fb2eda1ab237b08e4ba41 +DIST git-lfs-3.4.0-deps.tar.xz 19912396 BLAKE2B 0e2e50e7b7566fe93d87f86c4b3a3a3f5f0cefc734af83516a5d3122d101333df5ed65cf848e727a1b7593ffdffeee72108221951313f47775b265f4fbdcb1be SHA512 50f7eba5abd4a3ad83e1cd74d7d413e8f708b796b67d60d404af512823423532e1bbbfaa5385ee668cbdd6ec0bce89b862db571c76e5a3f0d0cee5097ccc73d2 +DIST git-lfs-3.4.0.tar.gz 674499 BLAKE2B 8232c7492a453fc5a8855b13cfbf95c64a9c614d740bebebefcc44f6a7e2daddaee0dee3f8d8ba653999b8516c47a491af6449b5daf5e3861f3530d372b213e4 SHA512 ff0d624bc48d9ab4332943af8212652d9959e8f9d6a356a3722047903e01bc1dcf04178b97d58a327d0a381569854034c4a1dc2baea9976a8f20d97d7e637f31 EBUILD git-lfs-3.2.0-r1.ebuild 1588 BLAKE2B fb151ac33a3e9e4446851d80acfea3251262e201d3da3a878098fad8359cd18251534c4c2d945df50f40ed18f454744d108dc281f470e64a46204f66413526c8 SHA512 823ee195a154ab795a19dc333c519dd3d1c5456eebaf43b5e3d1037fe5901fae9946936f960fb519c7ff3eb2e43f93d6fe498fea0ab14fe4223b5af0b3705878 -EBUILD git-lfs-3.3.0.ebuild 2013 BLAKE2B 2b8058ae82d1103141e7c5a2f4e326c00b7af3ac7bbdc0363ab6872e1030890936fc761fbc9718cdb12e920e89b0902325556cc1ac28df9e53dc1d1b72652b30 SHA512 701c68ffc160153f6c97826a01f11bb1e12ffa0efa905d50bdb1228372877362764a75f8b4f8359a7f1339656601f8aa310f40079c38cf5f955c35180cd8c9fa -EBUILD git-lfs-9999.ebuild 2013 BLAKE2B 2b8058ae82d1103141e7c5a2f4e326c00b7af3ac7bbdc0363ab6872e1030890936fc761fbc9718cdb12e920e89b0902325556cc1ac28df9e53dc1d1b72652b30 SHA512 701c68ffc160153f6c97826a01f11bb1e12ffa0efa905d50bdb1228372877362764a75f8b4f8359a7f1339656601f8aa310f40079c38cf5f955c35180cd8c9fa +EBUILD git-lfs-3.4.0.ebuild 2314 BLAKE2B 49ed8f3eadbf7fc9a88121cd31306177ee19451fedcf0e57f181b3113f5471073c0d205bba1e8fa12c07ed4c648ce5c524b14cd2f9716e0957c159ea588ed15d SHA512 0933bff8ec022e49a190555c0ee04688048198dce21649bf047c6c4746a65a06c8aed1dc0be14f7cac89f0d73c27d7b5ec2bdffd612c6a59fdf605a52c0f14d1 +EBUILD git-lfs-9999.ebuild 2314 BLAKE2B 49ed8f3eadbf7fc9a88121cd31306177ee19451fedcf0e57f181b3113f5471073c0d205bba1e8fa12c07ed4c648ce5c524b14cd2f9716e0957c159ea588ed15d SHA512 0933bff8ec022e49a190555c0ee04688048198dce21649bf047c6c4746a65a06c8aed1dc0be14f7cac89f0d73c27d7b5ec2bdffd612c6a59fdf605a52c0f14d1 MISC metadata.xml 477 BLAKE2B f26242dee1117690332342dbd12f3739eeff572ff6e64ffb979a18c6fe7fca5e305beb08c9aab02ceb4c9dd1cbab6401a3a31d326f5d25d1ee30fb62fd711673 SHA512 9ae6594f42265b3f33cb977eaceab2a5fbb45f3e6a7c64c7cd4cfb88b8d56da0cc6f9d7564beda45969bb525f537e7a3e7d3b764456f3210c3e4c16e9d7545bb diff --git a/dev-vcs/git-lfs/git-lfs-3.3.0.ebuild b/dev-vcs/git-lfs/git-lfs-3.3.0.ebuild deleted file mode 100644 index 7b98fd42b0f3..000000000000 --- a/dev-vcs/git-lfs/git-lfs-3.3.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2017-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -EGO_PN=github.com/git-lfs/git-lfs -# Update the ID as it's included in each build. -COMMIT_ID="77deabdf9a18f8a07ecfd3e0f4aa572ffbbab8d4" - -inherit go-module - -DESCRIPTION="Command line extension and specification for managing large files with git" -HOMEPAGE=" - https://git-lfs.com - https://github.com/git-lfs/git-lfs -" - -if [[ "${PV}" = 9999* ]]; then - EGIT_REPO_URI="https://${EGO_PN}" - inherit git-r3 -else - SRC_URI="https://${EGO_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - # Add the manually vendored tarball. - # Compress the tarball with: xz -9kT0 --memlimit-decompress=256M - SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT" -SLOT="0" -IUSE="doc test" - -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) -" -RDEPEND="dev-vcs/git" - -RESTRICT+=" !test? ( test )" - -DOCS=( - CHANGELOG.md - CODE-OF-CONDUCT.md - CONTRIBUTING.md - README.md - SECURITY.md -) - -src_compile() { - export CGO_ENABLED=0 - - # Flags -w, -s: Omit debugging information to reduce binary size, - # see https://golang.org/cmd/link/. - local mygobuildargs=( - -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID} -s -w" - -gcflags=" " - -trimpath - -v -work -x - ) - go build "${mygobuildargs[@]}" -o git-lfs git-lfs.go || die - - if use doc; then - for doc in docs/man/*adoc; - do asciidoctor -b manpage ${doc} || die "man building failed" - done - fi -} - -src_install() { - dobin git-lfs - einstalldocs - use doc && doman docs/man/*.1 -} - -src_test() { - local mygotestargs=( - -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID}" - ) - go test "${mygotestargs[@]}" ./... || die -} - -pkg_postinst () { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "" - elog "Run 'git lfs install' once for each user account manually." - elog "For more details see https://bugs.gentoo.org/show_bug.cgi?id=733372." - fi -} diff --git a/dev-vcs/git-lfs/git-lfs-3.4.0.ebuild b/dev-vcs/git-lfs/git-lfs-3.4.0.ebuild new file mode 100644 index 000000000000..10b83717c479 --- /dev/null +++ b/dev-vcs/git-lfs/git-lfs-3.4.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 2017-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +EGO_PN=github.com/git-lfs/git-lfs +# Update the ID as it's included in each build. +COMMIT_ID="d06d6e9efd78ff4f958b072146ce167d87f60285" + +inherit go-module + +DESCRIPTION="Command line extension and specification for managing large files with git" +HOMEPAGE=" + https://git-lfs.com + https://github.com/git-lfs/git-lfs +" + +if [[ "${PV}" = 9999* ]]; then + EGIT_REPO_URI="https://${EGO_PN}" + inherit git-r3 +else + SRC_URI="https://${EGO_PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + # Add the manually vendored tarball. + # 1) Create a tar archive optimized to reproduced by other users or devs. + # 2) Compress the archive using XZ limiting decompression memory for + # pretty constraint systems. + # Use something like: + # tar cf $P-deps.tar go-mod \ + # --mtime="1970-01-01" --sort=name --owner=portage --group=portage + # xz -k -9eT0 --memlimit-decompress=256M $P-deps.tar + SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT" +SLOT="0" +IUSE="doc test" + +BDEPEND=" + doc? ( dev-ruby/asciidoctor ) +" +RDEPEND="dev-vcs/git" + +RESTRICT+=" !test? ( test )" + +DOCS=( + CHANGELOG.md + CODE-OF-CONDUCT.md + CONTRIBUTING.md + README.md + SECURITY.md +) + +src_compile() { + export CGO_ENABLED=0 + + # Flags -w, -s: Omit debugging information to reduce binary size, + # see https://golang.org/cmd/link/. + local mygobuildargs=( + -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID} -s -w" + -gcflags=" " + -trimpath + -v -work -x + ) + go build "${mygobuildargs[@]}" -o git-lfs git-lfs.go || die + + if use doc; then + for doc in docs/man/*adoc; + do asciidoctor -b manpage ${doc} || die "man building failed" + done + fi +} + +src_install() { + dobin git-lfs + einstalldocs + use doc && doman docs/man/*.1 +} + +src_test() { + local mygotestargs=( + -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID}" + ) + go test "${mygotestargs[@]}" ./... || die +} + +pkg_postinst () { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "" + elog "Run 'git lfs install' once for each user account manually." + elog "For more details see https://bugs.gentoo.org/show_bug.cgi?id=733372." + fi +} diff --git a/dev-vcs/git-lfs/git-lfs-9999.ebuild b/dev-vcs/git-lfs/git-lfs-9999.ebuild index 7b98fd42b0f3..10b83717c479 100644 --- a/dev-vcs/git-lfs/git-lfs-9999.ebuild +++ b/dev-vcs/git-lfs/git-lfs-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 EGO_PN=github.com/git-lfs/git-lfs # Update the ID as it's included in each build. -COMMIT_ID="77deabdf9a18f8a07ecfd3e0f4aa572ffbbab8d4" +COMMIT_ID="d06d6e9efd78ff4f958b072146ce167d87f60285" inherit go-module @@ -18,9 +18,15 @@ if [[ "${PV}" = 9999* ]]; then EGIT_REPO_URI="https://${EGO_PN}" inherit git-r3 else - SRC_URI="https://${EGO_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://${EGO_PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" # Add the manually vendored tarball. - # Compress the tarball with: xz -9kT0 --memlimit-decompress=256M + # 1) Create a tar archive optimized to reproduced by other users or devs. + # 2) Compress the archive using XZ limiting decompression memory for + # pretty constraint systems. + # Use something like: + # tar cf $P-deps.tar go-mod \ + # --mtime="1970-01-01" --sort=name --owner=portage --group=portage + # xz -k -9eT0 --memlimit-decompress=256M $P-deps.tar SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" fi -- cgit v1.2.3