From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CFB4158086 for ; Fri, 15 Oct 2021 15:17:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EBACE0825; Fri, 15 Oct 2021 15:17:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FC14E0839 for ; Fri, 15 Oct 2021 15:17:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F200934364E for ; Fri, 15 Oct 2021 15:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32468EA for ; Fri, 15 Oct 2021 15:17:29 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1634311044.bde4c9a48f2da15c9880bf02bf2568f578fedbd9.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/onionrouter/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/onionrouter/Manifest net-mail/onionrouter/onionrouter-0.6.2.ebuild X-VCS-Directories: net-mail/onionrouter/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: bde4c9a48f2da15c9880bf02bf2568f578fedbd9 X-VCS-Branch: master Date: Fri, 15 Oct 2021 15:17:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87220327-11f1-4e67-994a-d5add9250910 X-Archives-Hash: 90db760ebad5344b87ca3e1dee5f7866 commit: bde4c9a48f2da15c9880bf02bf2568f578fedbd9 Author: Craig Andrews gentoo org> AuthorDate: Fri Oct 15 15:15:45 2021 +0000 Commit: Craig Andrews gentoo org> CommitDate: Fri Oct 15 15:17:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde4c9a4 net-mail/onionrouter: 0.6.2 version bump Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Craig Andrews gentoo.org> net-mail/onionrouter/Manifest | 1 + net-mail/onionrouter/onionrouter-0.6.2.ebuild | 50 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-mail/onionrouter/Manifest b/net-mail/onionrouter/Manifest index 5e359ce3fad..ac1a8da0f39 100644 --- a/net-mail/onionrouter/Manifest +++ b/net-mail/onionrouter/Manifest @@ -1 +1,2 @@ DIST onionrouter-0.6.1.tar.gz 26584 BLAKE2B e1d722ba4e7ec617e39fda54299cd71d9d47bbd34fd44a19ffef8f2349f9b238251b47d01c369223393a9d7f2e0a05c5d8b7dc9f991c7d386ba800086b8cc226 SHA512 5d08e7a7310e69e29eaba2098a62cef4b5044c207f4a78b4cfebfd2a9d18bd812b485793ff7395186d4949ad9604b4e82dc0e9b1200abf03108466bf531a6d15 +DIST onionrouter-0.6.2.tar.gz 27920 BLAKE2B e9158fe7e066968d9569fb84085a85300774f6b2a2f070216755a3444c6a0352da847a7a383bed4cd792083c1fc8d71039c2c7b3e4c0c21aeca6bcb0c440de44 SHA512 4d5db2f856d6a52dfd43b7d3fea4317a1238ba6410c1da953e1cb59519ef8c18e3b73f676beff9612a853030762570f386dca24a7d7be4add23493e0b344535e diff --git a/net-mail/onionrouter/onionrouter-0.6.2.ebuild b/net-mail/onionrouter/onionrouter-0.6.2.ebuild new file mode 100644 index 00000000000..396599972a7 --- /dev/null +++ b/net-mail/onionrouter/onionrouter-0.6.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 systemd + +DESCRIPTION=".onion discovery via SRV DNS lookups for use with postfix" +HOMEPAGE="https://pypi.org/project/onionrouter/ https://github.com/ehloonion/onionrouter/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/ehloonion/onionrouter.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://pypi.io/packages/source/${PN::1}/${PN}/${P}.tar.gz" +fi +IUSE="test" +RESTRICT="!test? ( test )" + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +')" +BDEPEND="$(python_gen_cond_dep ' + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +')" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + systemd_dounit "${FILESDIR}/${PN}.service" + insinto /etc/onionrouter + doins "${S}/onionrouter/configs/onionrouter.ini" +}