public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/arti/
Date: Tue,  6 Sep 2022 15:48:26 +0000 (UTC)	[thread overview]
Message-ID: <1662479241.f97b7cf8a9cc9ab3ed7c3d5f6f55e4a9c557888d.ajak@gentoo> (raw)

commit:     f97b7cf8a9cc9ab3ed7c3d5f6f55e4a9c557888d
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 15:44:22 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 15:47:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97b7cf8

net-p2p/arti: add 9999

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 net-p2p/arti/arti-9999.ebuild | 66 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/net-p2p/arti/arti-9999.ebuild b/net-p2p/arti/arti-9999.ebuild
new file mode 100644
index 000000000000..8a8e33f3433e
--- /dev/null
+++ b/net-p2p/arti/arti-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+
+inherit cargo
+
+MY_P="${PN}-${PN}-v${PV}"
+
+DESCRIPTION="An implementation of Tor, in Rust."
+HOMEPAGE="https://gitlab.torproject.org/tpo/core/arti/"
+
+if [[ "${PV}" == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.torproject.org/tpo/core/arti"
+else
+	SRC_URI="https://gitlab.torproject.org/tpo/core/${PN}/-/archive/${PN}-v${PV}/${PN}-${PN}-v${PV}.tar.gz -> ${P}.tar.gz
+		$(cargo_crate_uris ${CRATES})"
+	KEYWORDS="~amd64"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="MIT Apache-2.0"
+SLOT="0"
+
+DEPEND="app-arch/xz-utils
+	dev-db/sqlite:3
+	dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/arti"
+
+src_unpack() {
+	if [[ "${PV}" == *9999 ]]; then
+		git-r3_src_unpack
+		cargo_live_src_unpack
+	else
+		cargo_src_unpack
+	fi
+}
+
+src_compile() {
+	pushd crates/arti || die
+	cargo_src_compile
+}
+
+src_test() {
+	for crate in crates/*; do
+		pushd "${crate}" >/dev/null || die
+		cargo_src_test
+		popd >/dev/null || die
+	done
+}
+
+src_install() {
+	pushd crates/arti >/dev/null || due
+
+	cargo_src_install
+	newdoc src/arti-example-config.toml arti.toml
+
+	popd >/dev/null || die
+
+	dodoc -r doc/*
+}


             reply	other threads:[~2022-09-06 15:48 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 15:48 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-02 20:32 [gentoo-commits] repo/gentoo:master commit in: net-p2p/arti/ John Helmert III
2025-01-20 23:56 John Helmert III
2025-01-20 23:56 John Helmert III
2024-12-15  4:57 John Helmert III
2024-12-02  0:47 John Helmert III
2024-12-02  0:47 John Helmert III
2024-09-21 18:19 John Helmert III
2024-08-17 19:37 John Helmert III
2024-08-17 19:37 John Helmert III
2024-06-27 19:23 John Helmert III
2024-06-27 19:23 John Helmert III
2024-06-19 18:19 John Helmert III
2024-06-19 18:19 John Helmert III
2024-05-25 20:25 John Helmert III
2024-05-25 20:25 John Helmert III
2024-05-11 17:23 John Helmert III
2024-05-11 17:23 John Helmert III
2024-04-21  0:08 John Helmert III
2024-03-31 21:20 John Helmert III
2024-03-06  3:37 Sam James
2024-02-17 18:27 John Helmert III
2024-02-17 18:27 John Helmert III
2024-02-17 18:27 John Helmert III
2024-01-14 22:27 John Helmert III
2024-01-14 22:27 John Helmert III
2023-12-16 18:41 John Helmert III
2023-11-21 17:35 John Helmert III
2023-10-08 19:48 John Helmert III
2023-10-08 19:48 John Helmert III
2023-10-08 19:48 John Helmert III
2023-09-10 18:04 John Helmert III
2023-07-19 15:49 John Helmert III
2023-06-11 19:00 John Helmert III
2023-06-03 18:21 John Helmert III
2023-06-03 18:21 John Helmert III
2023-05-28 18:13 John Helmert III
2023-05-28 18:13 John Helmert III
2023-05-07  4:53 John Helmert III
2023-05-07  4:53 John Helmert III
2023-05-07  4:44 John Helmert III
2023-05-07  4:42 John Helmert III
2023-02-19 16:46 John Helmert III
2023-02-19 16:46 John Helmert III
2022-12-01  3:23 John Helmert III
2022-10-21  6:04 John Helmert III
2022-10-06  2:28 John Helmert III
2022-09-06 15:48 John Helmert III
2022-08-06  4:00 John Helmert III
2022-08-06  4:00 John Helmert III
2022-07-05  3:55 John Helmert III
2022-05-30 22:20 John Helmert III
2022-05-30 22:20 John Helmert III
2022-05-11  3:46 John Helmert III
2022-04-12 14:48 John Helmert III
2022-03-14 16:35 John Helmert III
2022-03-13 19:45 John Helmert III

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=1662479241.f97b7cf8a9cc9ab3ed7c3d5f6f55e4a9c557888d.ajak@gentoo \
    --to=ajak@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