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 CD7B3158089 for ; Sun, 5 Nov 2023 21:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6C8B2BC02B; Sun, 5 Nov 2023 21:47:26 +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 CA9D82BC02B for ; Sun, 5 Nov 2023 21:47:26 +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 DA857335D16 for ; Sun, 5 Nov 2023 21:47:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E7FF12B7 for ; Sun, 5 Nov 2023 21:47:24 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1699220810.be4cfa6db6cb9fc000d00a920e0e9b91c25ac7d2.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/servefile/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/servefile/servefile-0.5.4-r1.ebuild X-VCS-Directories: www-servers/servefile/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: be4cfa6db6cb9fc000d00a920e0e9b91c25ac7d2 X-VCS-Branch: master Date: Sun, 5 Nov 2023 21:47:24 +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: 652ba186-7175-447b-ba73-154caabb060d X-Archives-Hash: ab72b105a3ab1ac013c5e247b961928e commit: be4cfa6db6cb9fc000d00a920e0e9b91c25ac7d2 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Nov 5 21:46:50 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Nov 5 21:46:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4cfa6d www-servers/servefile: Python 3.12 Signed-off-by: Sebastian Pipping gentoo.org> www-servers/servefile/servefile-0.5.4-r1.ebuild | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/www-servers/servefile/servefile-0.5.4-r1.ebuild b/www-servers/servefile/servefile-0.5.4-r1.ebuild new file mode 100644 index 000000000000..c14c387e18b7 --- /dev/null +++ b/www-servers/servefile/servefile-0.5.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Serve a single file via HTTP" +HOMEPAGE="https://github.com/sebageek/servefile" +SRC_URI="https://github.com/sebageek/servefile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ssl test" + +RDEPEND=" + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) + sys-apps/grep + sys-apps/iproute2 + sys-apps/net-tools + sys-apps/sed" +DEPEND="test? ( + ${RDEPEND} + dev-python/requests[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}"/${P} + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.2-ipv6-absent-tests.patch +) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + doman ${PN}.1 +}