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 A11B3158020 for ; Tue, 29 Nov 2022 01:44:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA778E0855; Tue, 29 Nov 2022 01:44:56 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D99AE0855 for ; Tue, 29 Nov 2022 01:44:56 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72A48341088 for ; Tue, 29 Nov 2022 01:44:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B76A1756 for ; Tue, 29 Nov 2022 01:44:53 +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: <1669685942.747d429da917940abe21d0cd9df6f46da539712d.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/servefile/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/servefile/metadata.xml www-servers/servefile/servefile-0.5.3-r1.ebuild X-VCS-Directories: www-servers/servefile/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 747d429da917940abe21d0cd9df6f46da539712d X-VCS-Branch: master Date: Tue, 29 Nov 2022 01:44:53 +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: 77b58fdf-1fca-4a92-8eca-bb542a120e60 X-Archives-Hash: 13170577655acd391f88579d7bcb4d39 commit: 747d429da917940abe21d0cd9df6f46da539712d Author: Sebastian Pipping gentoo org> AuthorDate: Tue Nov 29 01:39:02 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Nov 29 01:39:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=747d429d www-servers/servefile: EAPI 8 + DistutilsNonPEP517Build + MissingRemoteId Signed-off-by: Sebastian Pipping gentoo.org> www-servers/servefile/metadata.xml | 3 ++ www-servers/servefile/servefile-0.5.3-r1.ebuild | 41 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/www-servers/servefile/metadata.xml b/www-servers/servefile/metadata.xml index 6a22e9e318bb..a6a556a89e95 100644 --- a/www-servers/servefile/metadata.xml +++ b/www-servers/servefile/metadata.xml @@ -5,4 +5,7 @@ sping@gentoo.org Sebastian Pipping + + sebageek/servefile + diff --git a/www-servers/servefile/servefile-0.5.3-r1.ebuild b/www-servers/servefile/servefile-0.5.3-r1.ebuild new file mode 100644 index 000000000000..623f1977123b --- /dev/null +++ b/www-servers/servefile/servefile-0.5.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) +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 +}