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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D97E315800D for ; Sat, 8 Jul 2023 08:05:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C26E07E1; Sat, 8 Jul 2023 08:05:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1BE2E07E1 for ; Sat, 8 Jul 2023 08:05:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3B3A33FEFB for ; Sat, 8 Jul 2023 08:05:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA4F0AD2 for ; Sat, 8 Jul 2023 08:05:06 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1688803502.21c34493ac2d95f44b79dd1afe8f07f10255faf0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme-tiny/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/acme-tiny/acme-tiny-5.0.1-r1.ebuild X-VCS-Directories: app-crypt/acme-tiny/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 21c34493ac2d95f44b79dd1afe8f07f10255faf0 X-VCS-Branch: master Date: Sat, 8 Jul 2023 08:05:06 +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: 3947dffd-8df6-43b0-8ee0-a51d752ddbb7 X-Archives-Hash: 647cbed61113a793bd28411747eeb4cc commit: 21c34493ac2d95f44b79dd1afe8f07f10255faf0 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jul 8 08:04:06 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jul 8 08:05:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21c34493 app-crypt/acme-tiny: EAPI 7 -> 8, PEP517 Closes: https://bugs.gentoo.org/909867 Signed-off-by: Hans de Graaff gentoo.org> app-crypt/acme-tiny/acme-tiny-5.0.1-r1.ebuild | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/app-crypt/acme-tiny/acme-tiny-5.0.1-r1.ebuild b/app-crypt/acme-tiny/acme-tiny-5.0.1-r1.ebuild new file mode 100644 index 000000000000..41eb33d55d23 --- /dev/null +++ b/app-crypt/acme-tiny/acme-tiny-5.0.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python{3_9,3_10,3_11} ) + +DISTUTILS_USE_PEP517="setuptools" + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/diafygi/${PN}.git" +else + SRC_URI="https://github.com/diafygi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +DESCRIPTION="A tiny, auditable script for Let's Encrypt's ACME Protocol" +HOMEPAGE="https://github.com/diafygi/acme-tiny" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" +RDEPEND="dev-libs/openssl:0" + +# Tests require a local ACME server to be set up. +RESTRICT="test" + +pkg_setup() { + if [[ ${PV} != 9999 ]]; then + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" + fi +} + +src_prepare() { + sed -i 's|#!/usr/bin/sh|#!/bin/sh|g' README.md || die + + distutils-r1_src_prepare +} + +pkg_postinst() { + for v in ${REPLACING_VERSIONS}; do + if ver_test "$v" "-lt" "4.0.3" || ver_test "$v" "-ge" "9999"; then + einfo "The --account-email flag has been changed to --contact and" + einfo "has different syntax." + einfo "Please update your scripts accordingly" + fi + done +}