mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/fq: new package, add 0.1.0
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
2
dev-util/fq/Manifest
Normal file
2
dev-util/fq/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST fq-0.1.0-deps.tar.xz 23497408 BLAKE2B 2ea9edad64f5d077026db99b6d981a443a7c5f5501b4525311512100fb68674bfd9f884908af845a007579d45b5e199bbaf8139a5ed0cee764167459bc62072f SHA512 0b028de7c909077253309d6f16d7bb036b67fb9db6716327d6fe403e7e491f1a56547f91159302e19a8bb578ffdcd74bcb1eab80f1ed65be9f11b4c35fbaf0d9
|
||||
DIST fq-0.1.0.tar.gz 8549022 BLAKE2B e4a7d8240f6f9adadab95d66b79747417290d24b53dc1b07c9f2cd526ef86f93f932ba15072cef050d9e3da2f1212ee76da5265345d665796c109bb4b104f0f7 SHA512 3cc81962c9a31343109743f9de7b73939df9165d4d5dd4beff3790e85e435c0344fa44f59a66153d9235ed156e9bee0f93e63b36c492d337547c6cf1712132ed
|
||||
37
dev-util/fq/fq-0.1.0.ebuild
Normal file
37
dev-util/fq/fq-0.1.0.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Tool for working with binary data (jq for binary formats)"
|
||||
HOMEPAGE="https://github.com/wader/fq"
|
||||
SRC_URI="https://github.com/wader/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( dev-tcltk/expect )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/wader/fq/issues/494
|
||||
sed -i -e '/test_repl.exp/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoid -s being set in Makefile (stripping)
|
||||
export GO_BUILD_LDFLAGS="-w"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fq
|
||||
}
|
||||
11
dev-util/fq/metadata.xml
Normal file
11
dev-util/fq/metadata.xml
Normal file
@@ -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">wader/fq</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user