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 09708138359 for ; Wed, 30 Sep 2020 00:47:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51C93E0BA0; Wed, 30 Sep 2020 00:47:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34341E0B9E for ; Wed, 30 Sep 2020 00:47:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0B6233BF53 for ; Wed, 30 Sep 2020 00:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A06E339 for ; Wed, 30 Sep 2020 00:47:37 +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: <1601426795.9a745b7f8e7614faaa6f123f681a03c50a0d3e3f.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.1.ebuild X-VCS-Directories: www-servers/servefile/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 9a745b7f8e7614faaa6f123f681a03c50a0d3e3f X-VCS-Branch: master Date: Wed, 30 Sep 2020 00:47:37 +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: 47501dd5-f718-4736-ae1b-9e158bf0a015 X-Archives-Hash: d6851cc93f3a4b1e620715efc2eb8585 commit: 9a745b7f8e7614faaa6f123f681a03c50a0d3e3f Author: Sebastian Pipping gentoo org> AuthorDate: Wed Sep 30 00:44:01 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Sep 30 00:46:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a745b7f www-servers/servefile: 0.5.1 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 www-servers/servefile/Manifest | 1 + www-servers/servefile/servefile-0.5.1.ebuild | 41 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/www-servers/servefile/Manifest b/www-servers/servefile/Manifest index 4c297b9143e..dee762e92f0 100644 --- a/www-servers/servefile/Manifest +++ b/www-servers/servefile/Manifest @@ -1 +1,2 @@ DIST servefile-0.4.4_p20200211.tar.gz 18304 BLAKE2B 2bbd6534d7fb787a0b85d594bd0a2bc235c859f80618be24dea144ef2adaa6188a29efdffc2e9109229301b9d3ee09df6a9d746a15ae6b01fed44a21307df78e SHA512 ef4edb4c92d9f804970087fc1c3d59775740642516a06704258de6d972cb807123f309991a5e22469b7619aff2304e265d5749485a4f74e75f2c80c279a23c33 +DIST servefile-0.5.1.tar.gz 19390 BLAKE2B 4443471870650f03564d6f574b633630fac4e1f9f6e6a9807b1baa4d3aaa6284f803fa9dc0c7c07f53cc343f89687db5f6b5a4ebf09e9fd327369e2b3aecddc5 SHA512 2502f3072522a8f460d3711dccbaa3fa57e34915313aaad475e5831962adc92c0728c2598f9f78ee99e60731cdc2d3026488ce8050369ab0c967246cd9372f44 diff --git a/www-servers/servefile/servefile-0.5.1.ebuild b/www-servers/servefile/servefile-0.5.1.ebuild new file mode 100644 index 00000000000..7d34a67b34d --- /dev/null +++ b/www-servers/servefile/servefile-0.5.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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.4.4_p20200211-ipv6-absent-tests.patch +) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + doman ${PN}.1 +}