~bratishkaerik/bratishkaerik-overlay

7751bc34a007e1965c81dcc8949463c87d9cd20b — Eric Joldasov 7 months ago b016e71
dev-zig/*: treeclean

Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
7 files changed, 0 insertions(+), 128 deletions(-)

D dev-zig/gyro/gyro-9999.ebuild
D dev-zig/metadata.xml
D dev-zig/zigmod/zigmod-9999.ebuild
D dev-zig/zigup/zigup-9999.ebuild
D profiles/categories
M profiles/package.mask
M profiles/updates/4Q-2022
D dev-zig/gyro/gyro-9999.ebuild => dev-zig/gyro/gyro-9999.ebuild +0 -35
@@ 1,35 0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

EGIT_REPO_URI="https://github.com/mattnite/gyro"

HOMEPAGE="https://astrolabe.pm/ https://github.com/mattnite/gyro"
DESCRIPTION="A Zig package manager with an index, build runner, and build dependencies"
IUSE="+zsh-completion"

LICENSE="MIT"
SLOT="0"

BDEPEND="|| ( ~dev-lang/zig-0.10.0 ~dev-lang/zig-bin-0.10.0 )"
RDEPEND="${BDEPEND}"

QA_FLAGS_IGNORED='usr/bin/gyro'

src_compile() {
	zig build -Drelease-safe --verbose || die
}

src_test() {
	zig build test --verbose || die
}

src_install() {
	dobin zig-out/bin/gyro
	dodoc README.md
	insinto /usr/share/zsh/site-functions
	use zsh-completion && doins completions/_gyro
}

D dev-zig/metadata.xml => dev-zig/metadata.xml +0 -12
@@ 1,12 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<catmetadata>
	<longdescription lang="en">
		The dev-zig category contains libraries, utilities
		or bindings for Zig programming language.
	</longdescription>
	<longdescription lang="ru">
		Категория dev-zig содержит библиотеки, утилиты для разработки
		или обвязки для языка программирования Zig.
	</longdescription>
</catmetadata>

D dev-zig/zigmod/zigmod-9999.ebuild => dev-zig/zigmod/zigmod-9999.ebuild +0 -30
@@ 1,30 0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

EGIT_REPO_URI="https://github.com/nektro/zigmod"

HOMEPAGE="https://aquila.red/ https://github.com/nektro/zigmod"
DESCRIPTION="A package manager for the Zig programming language"
LICENSE="MIT"
SLOT="0"

BDEPEND="~dev-lang/zig-9999"
RDEPEND="${BDEPEND}"

QA_FLAGS_IGNORED='usr/bin/zigmod'

src_unpack() {
	git-r3_src_unpack
	cd "${S}"
	zig build -Drelease -Duse-full-name --verbose || die
}

src_install() {
	DESTDIR="${D}" zig build install -Drelease -Duse-full-name --prefix "${EPREFIX}"/usr --verbose || die
	dodoc -r docs/
	dodoc README.md
}

D dev-zig/zigup/zigup-9999.ebuild => dev-zig/zigup/zigup-9999.ebuild +0 -37
@@ 1,37 0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

EGIT_REPO_URI="https://github.com/marler8997/zigup"

HOMEPAGE="https://github.com/marler8997/zigup"
DESCRIPTION="Download and manage zig compilers"

LICENSE="public-domain"
SLOT="0"

BDEPEND="~dev-lang/zig-9999"

QA_FLAGS_IGNORED='usr/bin/zigup'

src_unpack() {
	git-r3_src_unpack
	cd "${S}" || die
	zig build -Dfetch || die
}

src_compile() {
	zig build -Drelease-safe --verbose || die
}

src_test() {
	zig build test -Drelease-safe --verbose || die
}

src_install() {
	DESTDIR="${D}" zig build install --prefix "${EPREFIX}"/usr -Drelease-safe --verbose || die
	dodoc README.md
}

D profiles/categories => profiles/categories +0 -1
@@ 1,1 0,0 @@
dev-zig

M profiles/package.mask => profiles/package.mask +0 -10
@@ 1,12 1,2 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Eric Joldasov <bratishkaerik@getgoogleoff.me>
# Requires dev-lang/zig-9999, which recently incorporated own (still WI{P) package manager
# and made some changes in std.Build API.
# These packages either no longer required (as they tried to eventually
# help in development of official one) or no longer builds
# Removal on 2023-02-14
dev-zig/gyro
dev-zig/zigmod
dev-zig/zigup

M profiles/updates/4Q-2022 => profiles/updates/4Q-2022 +0 -3
@@ 1,3 0,0 @@
move dev-util/gyro dev-zig/gyro
move dev-util/zigmod dev-zig/zigmod
move dev-util/zigup dev-zig/zigup