public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcraft-tools/
Date: Sat, 10 Jun 2023 13:18:17 +0000 (UTC)	[thread overview]
Message-ID: <1686403056.fa5d0db3f137d8dc16c724d8a02a28877e75a0a8.sam@gentoo> (raw)

commit:     fa5d0db3f137d8dc16c724d8a02a28877e75a0a8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 13:11:48 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 13:17:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa5d0db3

sys-apps/pkgcraft-tools: new package, add 9999, add 0.0.7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/pkgcraft-tools/Manifest                   |  1 +
 sys-apps/pkgcraft-tools/metadata.xml               | 11 +++++++
 .../pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild     | 37 ++++++++++++++++++++++
 sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild | 37 ++++++++++++++++++++++
 4 files changed, 86 insertions(+)

diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest
new file mode 100644
index 000000000000..da92b06a67a0
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/Manifest
@@ -0,0 +1 @@
+DIST pkgcraft-tools-0.0.7.tar.xz 18854348 BLAKE2B 1a7c22df87b994c3c58ae00d964e422ff1d9d5eb479b183178e33e517e5c0c1ff802c4c43ef4e49437c699eeeb81c1db8aa4825736fdef2d0548f92ea15c3f13 SHA512 a97da4a477f399238f0257c1dc1e93cdcaa14bf1c39014e42d39220566fc582a4c24a6cbaf23b8635cf1bc74d24ff1cdc6aa04619437788f2d2ef73e5f833cc8

diff --git a/sys-apps/pkgcraft-tools/metadata.xml b/sys-apps/pkgcraft-tools/metadata.xml
new file mode 100644
index 000000000000..33c1ad3bdca7
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/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">pkgcraft/pkgcraft</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild
new file mode 100644
index 000000000000..e2f8f6a8f4bf
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit cargo
+
+DESCRIPTION="C library for pkgcraft"
+HOMEPAGE="https://pkgcraft.github.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft"
+	inherit git-r3
+
+	S="${WORKDIR}"/${P}/crates/pkgcraft-tools
+else
+	SRC_URI="https://github.com/pkgcraft/pkgcraft/releases/download/${P}/${P}.tar.xz"
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT Unicode-DFS-2016"
+SLOT="0"
+
+QA_FLAGS_IGNORED="usr/bin/pk"
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+		cargo_live_src_unpack
+	else
+		cargo_src_unpack
+	fi
+}

diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
new file mode 100644
index 000000000000..e2f8f6a8f4bf
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit cargo
+
+DESCRIPTION="C library for pkgcraft"
+HOMEPAGE="https://pkgcraft.github.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft"
+	inherit git-r3
+
+	S="${WORKDIR}"/${P}/crates/pkgcraft-tools
+else
+	SRC_URI="https://github.com/pkgcraft/pkgcraft/releases/download/${P}/${P}.tar.xz"
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT Unicode-DFS-2016"
+SLOT="0"
+
+QA_FLAGS_IGNORED="usr/bin/pk"
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+		cargo_live_src_unpack
+	else
+		cargo_src_unpack
+	fi
+}


             reply	other threads:[~2023-06-10 13:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-10 13:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-10 13:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcraft-tools/ Sam James
2023-06-10 17:27 Sam James
2023-06-10 17:51 Sam James
2023-06-11 15:46 Sam James
2023-06-17 22:47 Sam James
2023-06-23 20:28 Sam James
2023-06-23 20:28 Sam James
2023-09-06 19:43 Sam James
2023-09-25  4:05 Sam James
2023-09-29  9:12 Sam James
2023-09-30  0:44 Sam James
2023-11-12  4:24 Sam James
2024-02-02  4:33 Sam James
2024-02-16  1:26 Sam James
2024-03-02  1:29 Sam James
2024-06-23  1:13 Sam James
2024-08-14 20:07 Sam James
2024-11-21 18:19 Sam James
2024-12-07  2:12 Sam James
2024-12-07  2:15 Sam James
2024-12-31 22:31 Sam James
2025-01-14  4:53 Sam James
2025-01-28 12:15 Sam James
2025-01-28 12:21 Sam James
2025-03-03 17:19 Sam James
2025-03-03 17:19 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686403056.fa5d0db3f137d8dc16c724d8a02a28877e75a0a8.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox