app-misc/gomatrix: Drop app-misc/gomatrix

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2022-07-23 19:55:08 +02:00
parent 7dd8dd818b
commit 3a1501dda7
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
4 changed files with 0 additions and 79 deletions

View File

@ -1,2 +0,0 @@
DIST gomatrix-0.0.1_p20200420-r2-deps.tar.xz 12516804 BLAKE2B 9a4a9c695a1185e3b84c300383ca313994ba206a1e1a12856f9616070508d2fb49d09fa2487aec23aa4ca6716fce1a00bc3c415b19e9d84369c5329df6270da8 SHA512 8f8f28770758fe5364f343951f2b09808c8e996b32238f3b634891520c6d9cbb534cc5ae3582ef664d677912b511a155c2d49797520adb29d9ef7b1895ef2dcc
DIST gomatrix-0.0.1_p20200420.tar.gz 7000 BLAKE2B ba58f3c4840dd4ac6e8d8fc2d89d4308e87efcfb9efa6583f90284d04319ad29a73a27abfc6d62d29393918d4d64732087f033412836f47aff6f9fdf085d83f5 SHA512 5bf7fa9484802172ea2df1e7679350faf83697cb47b78d2f4f1b8b49fbfae6d1c05d780bc8c0b3356587914e6db1e723722039bd15e5888e5a893d46d1b97810

View File

@ -1,61 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit go-module
DESCRIPTION="Connect to The Matrix and display it's data streams in your terminal"
HOMEPAGE="https://github.com/GeertJohan/gomatrix"
EGO_PN="github.com/GeertJohan/gomatrix"
COMMIT_ID="b3aff13d5fde12c75cdc506215b9db9f4c7ee7dc"
if [[ ${PV} == *_p* ]]; then
SRC_URI="
https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz
https://files.holgersson.xyz/gentoo/distfiles/${P}-r2-deps.tar.xz
"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
else
SRC_URI="
https://${EGO_PN}/archive/v${PV}.tar.gz
https://files.holgersson.xyz/gentoo/distfiles/${P}-r2-deps.tar.xz
"
fi
KEYWORDS="~amd64"
LICENSE="0BSD Apache-2.0 BSD BSD-2 MIT"
# in detail:
# github.com/GeertJohan/gomatrix: BSD-2
# github.com/DATA-DOG/go-sqlmock: BSD
# github.com/davecgh/go-spew: 0BSD
# github.com/gdamore/encoding: Apache-2.0
# github.com/gdamore/tcell: Apache-2.0
# github.com/jessevdk/go-flags: BSD
# github.com/lucasb-eyer/go-colorful: MIT
# github.com/mattn/go-runewidth: MIT
# golang.org/x/sys: BSD
# golang.org/x/text: BSD
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
# Flags -w, -s: Omit debugging information to reduce binary size,
# see https://golang.org/cmd/link/.
local mygobuildargs=(
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
-mod mod -v -work -x
)
go build "${mygobuildargs[@]}" . || die "go build failed"
}
src_install() {
dobin ${PN}
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">GeertJohan/gomatrix</remote-id>
</upstream>
</pkgmetadata>

View File

@ -4,8 +4,3 @@
# author <email address> (LANG=C date -u +"%Y-%m-%d)
# reason
#
# Nils Freydank <holgersson@posteo.de>
# Upstream seems inactive and I have no time to track their dependencies
# for possible vulnerabilities and updating them by myself.
# Removal after 2022-07-06.
app-misc/gomatrix