mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-editors/teamtype: new package, add 0.9.1
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
2
app-editors/teamtype/Manifest
Normal file
2
app-editors/teamtype/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST teamtype-0.9.1-crates.tar.xz 45111748 BLAKE2B 38927fee7c6b3b6e5a81d55f4a2944ba4ac1ba2968859b18f03c55769b1646bb7f0ce1430551f6e341b831aa7a0760c24e1d92b327c3abca0b5bc80d413c8754 SHA512 606e3ac624fecee0246ab7a14ac1fe0474a670e0b31623cc590b354255da4a0a451f57f51fb58b9420463c8789b0366b30534052dec495e788396639a1081f40
|
||||
DIST teamtype-0.9.1.tar.gz 297646 BLAKE2B 3b988ec5677b447527d1808b0fce69aee5b1f01874ee2c6deeb28070fb55c242867a2b00bca3e588490df6f97a2f38ca83ca2e6972b50ec4d99c3b15e4aecaab SHA512 8caeeb57f74095671dff946860be252cc392452f80c414ebfcf06a63e2b63e45e6c3ff0bd92a7ab095cdc882b39c141b375314a74f1851006a07f4afe26c20a9
|
||||
11
app-editors/teamtype/metadata.xml
Normal file
11
app-editors/teamtype/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>nicolas.parlant@parhuet.fr</email>
|
||||
<name>Nicolas PARLANT</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">teamtype/teamtype</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
51
app-editors/teamtype/teamtype-0.9.1.ebuild
Normal file
51
app-editors/teamtype/teamtype-0.9.1.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
|
||||
RUST_MIN_VER="1.85.0"
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="Real-time co-editing of local text files."
|
||||
HOMEPAGE="https://teamtype.github.io/teamtype/"
|
||||
SRC_URI="https://github.com/teamtype/teamtype/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${P}/${P}-crates.tar.xz"
|
||||
S="${WORKDIR}/${P}/daemon"
|
||||
|
||||
LICENSE="AGPL-3+"
|
||||
# ring licenses
|
||||
LICENSE+=" openssl"
|
||||
# Autogenerated by pycargoebuild
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 EUPL-1.2 GPL-3 ISC MIT
|
||||
MPL-2.0 Unicode-3.0 Unlicense ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/teamtype"
|
||||
|
||||
DEPEND="dev-libs/libgit2:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/^lto =/d' -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to sed Cargo.toml"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
local DOCS=( "${WORKDIR}"/${P}/{CHANGELOG,README}.md )
|
||||
einstalldocs
|
||||
|
||||
doman target/manpages/*.1
|
||||
|
||||
dobashcomp target/completions/${PN}.bash
|
||||
dofishcomp target/completions/${PN}.fish
|
||||
dozshcomp target/completions/_${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user