* [gentoo-commits] repo/gentoo:master commit in: app-arch/gxz/
@ 2024-04-05 5:11 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-04-05 5:11 UTC (permalink / raw
To: gentoo-commits
commit: 6823bf88c865d03bb8eaf10eabbb8f9a10dd5eed
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 5 05:10:40 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 5 05:10:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6823bf88
app-arch/gxz: new package, add 0.5.12
An alt xz implementation written in pure Go (with no deps too!).
Not abandoning the king xz-utils, but need this to do some comparison work.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-arch/gxz/Manifest | 1 +
app-arch/gxz/gxz-0.5.12.ebuild | 23 +++++++++++++++++++++++
app-arch/gxz/metadata.xml | 11 +++++++++++
3 files changed, 35 insertions(+)
diff --git a/app-arch/gxz/Manifest b/app-arch/gxz/Manifest
new file mode 100644
index 000000000000..3fac29d8d583
--- /dev/null
+++ b/app-arch/gxz/Manifest
@@ -0,0 +1 @@
+DIST gxz-0.5.12.tar.gz 4176087 BLAKE2B 0bf4795ec1d008ef956d42d9d78b3f3f65bb9555436c64869a82aa6c058ac3aa5e8912a8e451cdafccaeaf4d9bb30404e2cd60a00f620baf01e6b6d892d59a3f SHA512 13928dfbd8514eb7c778a84405ba2342159da8f59783f82b5774643190b12d5fc1aed927b67946d5ef246d5cc61b3be23eaa08695c61aea70229617b1ce757ff
diff --git a/app-arch/gxz/gxz-0.5.12.ebuild b/app-arch/gxz/gxz-0.5.12.ebuild
new file mode 100644
index 000000000000..d8b591f20950
--- /dev/null
+++ b/app-arch/gxz/gxz-0.5.12.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Pure golang package for reading and writing xz-compressed files"
+HOMEPAGE="https://github.com/ulikunitz/xz"
+SRC_URI="https://github.com/ulikunitz/xz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/xz-${PV}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build ./cmd/gxz
+}
+
+src_install() {
+ dobin gxz
+}
diff --git a/app-arch/gxz/metadata.xml b/app-arch/gxz/metadata.xml
new file mode 100644
index 000000000000..dbf55dc84298
--- /dev/null
+++ b/app-arch/gxz/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ulikunitz/xz</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-arch/gxz/
@ 2024-04-05 6:00 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-04-05 6:00 UTC (permalink / raw
To: gentoo-commits
commit: 47f1f50de00823816e3170764940529ddba2210d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 5 06:00:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 5 06:00:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47f1f50d
app-arch/gxz: partly wire up tests / add TODO
Meant to do this before but forgot.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-arch/gxz/gxz-0.5.12.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-arch/gxz/gxz-0.5.12.ebuild b/app-arch/gxz/gxz-0.5.12.ebuild
index d8b591f20950..5413b88e41b4 100644
--- a/app-arch/gxz/gxz-0.5.12.ebuild
+++ b/app-arch/gxz/gxz-0.5.12.ebuild
@@ -18,6 +18,11 @@ src_compile() {
ego build ./cmd/gxz
}
+src_test() {
+ # TODO: Need to give it test data?
+ ego test ./cmd/gxz
+}
+
src_install() {
dobin gxz
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-05 6:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-05 5:11 [gentoo-commits] repo/gentoo:master commit in: app-arch/gxz/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-04-05 6:00 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox