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 8C60615800F for ; Mon, 23 Jan 2023 23:53:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8960E07D1; Mon, 23 Jan 2023 23:53:30 +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 9C51CE07D1 for ; Mon, 23 Jan 2023 23:53:30 +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 63143340CD9 for ; Mon, 23 Jan 2023 23:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B74FD807 for ; Mon, 23 Jan 2023 23:53:27 +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: <1674517874.e4e6cae511bcf14fd78a107d4c0481ed73271c3c.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/servefile/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/servefile/Manifest www-servers/servefile/servefile-0.5.4.ebuild X-VCS-Directories: www-servers/servefile/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: e4e6cae511bcf14fd78a107d4c0481ed73271c3c X-VCS-Branch: master Date: Mon, 23 Jan 2023 23:53:27 +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: d6921350-a1d1-4d06-95ce-428185d9341e X-Archives-Hash: 427c6feae0544bb7eabf32f348dd2d01 commit: e4e6cae511bcf14fd78a107d4c0481ed73271c3c Author: Sebastian Pipping gentoo org> AuthorDate: Mon Jan 23 23:51:14 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Mon Jan 23 23:51:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e6cae5 www-servers/servefile: 0.5.4 + Python 3.11 Signed-off-by: Sebastian Pipping gentoo.org> www-servers/servefile/Manifest | 1 + www-servers/servefile/servefile-0.5.4.ebuild | 41 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/www-servers/servefile/Manifest b/www-servers/servefile/Manifest index b38dfa106158..6fad197cec69 100644 --- a/www-servers/servefile/Manifest +++ b/www-servers/servefile/Manifest @@ -1 +1,2 @@ DIST servefile-0.5.3.tar.gz 20761 BLAKE2B bc4bd25aca01e0ac7d00e684cc8b0f848b295df2f02fe441c05d634cd415f395b0e5e083b5771c1d0dcd45ad897ac00e75ca999a76a9d0d0719c82ddb558a029 SHA512 9e6dd5927808cbb66163f207bed28f2c044d996ef1f4e77163cbf257e3e66169f58e92dba252ae389660d11e01d307fc1d8c749e903e232853c70867ce44e219 +DIST servefile-0.5.4.tar.gz 21936 BLAKE2B 3356edbe20a76dc7750700cb1adb90625554065ecc904f7a32ea599523e897c0f2ce6c5d4fd4689ddd68572fa55a7fc2eb6d1e27c4bc6f44a737cdcc28eebad3 SHA512 114ca0c156c41002f1ec4d547f309fafe0d698560129c8365f1b6317547e46837c123d2659a17583deb78f9975ae31388a72a831e3a1f0f3e6ad2b21fe254884 diff --git a/www-servers/servefile/servefile-0.5.4.ebuild b/www-servers/servefile/servefile-0.5.4.ebuild new file mode 100644 index 000000000000..40849cf36aa8 --- /dev/null +++ b/www-servers/servefile/servefile-0.5.4.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..11} ) +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 +}