From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgcruft/
Date: Tue, 6 Feb 2024 00:36:54 +0000 (UTC) [thread overview]
Message-ID: <1707179749.3f0cedf7a3ff1c977b3fe84c83b54f9588e96db3.sam@gentoo> (raw)
commit: 3f0cedf7a3ff1c977b3fe84c83b54f9588e96db3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 6 00:35:49 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 6 00:35:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0cedf7
dev-util/pkgcruft: new package, add 0.0.1, 9999
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/pkgcruft/Manifest | 1 +
dev-util/pkgcruft/metadata.xml | 11 +++++++
dev-util/pkgcruft/pkgcruft-0.0.1.ebuild | 55 +++++++++++++++++++++++++++++++++
dev-util/pkgcruft/pkgcruft-9999.ebuild | 55 +++++++++++++++++++++++++++++++++
4 files changed, 122 insertions(+)
diff --git a/dev-util/pkgcruft/Manifest b/dev-util/pkgcruft/Manifest
new file mode 100644
index 000000000000..020c38f15e1f
--- /dev/null
+++ b/dev-util/pkgcruft/Manifest
@@ -0,0 +1 @@
+DIST pkgcruft-0.0.1.tar.xz 30144864 BLAKE2B af309ac7199640e1ee058ba9206c09ce7a054016f515d99763c40399ed8487807c908f5a5fbabc187ee88f2690cbdaa91c8b374732949b1e03334418140de65b SHA512 d02c91b7683f930eff99fa0cca01f7008c6a8808c25439a880928dc1a680f99a72f76a571bf3ec48f17a1ab337007679384993325b53a9efad1ff4ce59b382cd
diff --git a/dev-util/pkgcruft/metadata.xml b/dev-util/pkgcruft/metadata.xml
new file mode 100644
index 000000000000..33c1ad3bdca7
--- /dev/null
+++ b/dev-util/pkgcruft/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/dev-util/pkgcruft/pkgcruft-0.0.1.ebuild b/dev-util/pkgcruft/pkgcruft-0.0.1.ebuild
new file mode 100644
index 000000000000..c3b4af5141dd
--- /dev/null
+++ b/dev-util/pkgcruft/pkgcruft-0.0.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit cargo toolchain-funcs
+
+DESCRIPTION="QA library and tools based on 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/${PN}
+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 MPL-2.0 Unicode-DFS-2016
+"
+SLOT="0"
+# "error[E0432]: unresolved import `pkgcruft::test`"
+# TODO: speak to radhermit
+RESTRICT="test"
+
+# clang needed for bindgen
+BDEPEND+="
+ sys-devel/clang
+ >=virtual/rust-1.71
+"
+
+QA_FLAGS_IGNORED="usr/bin/pkgcruft"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_compile() {
+ # For scallop building bash
+ tc-export AR CC
+
+ cargo_src_compile
+}
diff --git a/dev-util/pkgcruft/pkgcruft-9999.ebuild b/dev-util/pkgcruft/pkgcruft-9999.ebuild
new file mode 100644
index 000000000000..c3b4af5141dd
--- /dev/null
+++ b/dev-util/pkgcruft/pkgcruft-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit cargo toolchain-funcs
+
+DESCRIPTION="QA library and tools based on 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/${PN}
+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 MPL-2.0 Unicode-DFS-2016
+"
+SLOT="0"
+# "error[E0432]: unresolved import `pkgcruft::test`"
+# TODO: speak to radhermit
+RESTRICT="test"
+
+# clang needed for bindgen
+BDEPEND+="
+ sys-devel/clang
+ >=virtual/rust-1.71
+"
+
+QA_FLAGS_IGNORED="usr/bin/pkgcruft"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_compile() {
+ # For scallop building bash
+ tc-export AR CC
+
+ cargo_src_compile
+}
next reply other threads:[~2024-02-06 0:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 0:36 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-06 1:09 [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgcruft/ Sam James
2024-02-16 1:26 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-09 9:33 Florian Schmaus
2024-12-31 22:31 Sam James
2025-01-06 4:23 Sam James
2025-01-14 4:53 Sam James
2025-01-14 4:53 Sam James
2025-01-15 12:50 Florian Schmaus
2025-01-28 12:15 Sam James
2025-03-03 17:19 Sam James
2025-03-03 17:19 Sam James
2025-03-03 17:21 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=1707179749.3f0cedf7a3ff1c977b3fe84c83b54f9588e96db3.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