public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steffen Winter" <stffn.mobil@freenet.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/jj/
Date: Mon, 10 Jun 2024 18:35:05 +0000 (UTC)	[thread overview]
Message-ID: <1718043935.c89b19b77677008771b524be9be4d6ee967d4203.stffn.mobil@gentoo> (raw)

commit:     c89b19b77677008771b524be9be4d6ee967d4203
Author:     Steffen Winter <steffen.winter <AT> proton <DOT> me>
AuthorDate: Mon Jun 10 18:10:48 2024 +0000
Commit:     Steffen Winter <stffn.mobil <AT> freenet <DOT> de>
CommitDate: Mon Jun 10 18:25:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c89b19b7

dev-vcs/jj: add 9999

Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>

 dev-vcs/jj/jj-9999.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/dev-vcs/jj/jj-9999.ebuild b/dev-vcs/jj/jj-9999.ebuild
new file mode 100644
index 000000000..4895d0b65
--- /dev/null
+++ b/dev-vcs/jj/jj-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo
+
+DESCRIPTION="Jujutsu - an experimental version control system"
+HOMEPAGE="https://github.com/martinvonz/jj"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/martinvonz/jj.git"
+else
+	SRC_URI="
+		https://github.com/martinvonz/jj/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+		${CARGO_CRATE_URIS}
+	"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD MIT MPL-2.0 Unicode-DFS-2016"
+SLOT="0"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+	>=app-arch/zstd-1.5.5:=
+	>=dev-libs/libgit2-1.7.2:=
+	dev-libs/openssl
+	net-libs/libssh2:=
+	sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+pkg_setup() {
+	export LIBGIT2_NO_VENDOR=1
+	export LIBSSH2_SYS_USE_PKG_CONFIG=1
+	export OPENSSL_NO_VENDOR=1
+	export PKG_CONFIG_ALLOW_CROSS=1
+	export ZSTD_SYS_USE_PKG_CONFIG=1
+}
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+		cargo_live_src_unpack
+	else
+		cargo_src_unpack
+	fi
+}
+
+src_install() {
+	cargo_src_install --path cli
+}


             reply	other threads:[~2024-06-10 18:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-10 18:35 Steffen Winter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12  8:49 [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/jj/ Steffen Winter
2024-09-12  8:45 Steffen Winter
2024-09-07 11:29 Steffen Winter
2024-09-07 11:29 Steffen Winter
2024-08-23 17:27 Steffen Winter
2024-08-23 17:27 Steffen Winter
2024-08-23 17:27 Steffen Winter
2024-07-06 11:02 Steffen Winter
2024-06-10 18:35 Steffen Winter
2024-05-22 12:15 Steffen Winter
2024-05-22 12:15 Steffen Winter
2024-05-22 12:00 Steffen Winter
2024-05-07 17:19 Steffen Winter
2024-05-01 17:52 Steffen Winter
2024-04-08 16:49 Steffen Winter
2024-04-08 16:49 Steffen Winter
2024-04-07  9:49 Steffen Winter
2024-03-26 11:21 Steffen Winter
2024-03-26 11:20 Steffen Winter

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=1718043935.c89b19b77677008771b524be9be4d6ee967d4203.stffn.mobil@gentoo \
    --to=stffn.mobil@freenet.de \
    --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