1 |
commit: 9a745b7f8e7614faaa6f123f681a03c50a0d3e3f |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 00:44:01 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 00:46:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a745b7f |
7 |
|
8 |
www-servers/servefile: 0.5.1 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.0, Repoman-2.3.23 |
12 |
|
13 |
www-servers/servefile/Manifest | 1 + |
14 |
www-servers/servefile/servefile-0.5.1.ebuild | 41 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/www-servers/servefile/Manifest b/www-servers/servefile/Manifest |
18 |
index 4c297b9143e..dee762e92f0 100644 |
19 |
--- a/www-servers/servefile/Manifest |
20 |
+++ b/www-servers/servefile/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST servefile-0.4.4_p20200211.tar.gz 18304 BLAKE2B 2bbd6534d7fb787a0b85d594bd0a2bc235c859f80618be24dea144ef2adaa6188a29efdffc2e9109229301b9d3ee09df6a9d746a15ae6b01fed44a21307df78e SHA512 ef4edb4c92d9f804970087fc1c3d59775740642516a06704258de6d972cb807123f309991a5e22469b7619aff2304e265d5749485a4f74e75f2c80c279a23c33 |
23 |
+DIST servefile-0.5.1.tar.gz 19390 BLAKE2B 4443471870650f03564d6f574b633630fac4e1f9f6e6a9807b1baa4d3aaa6284f803fa9dc0c7c07f53cc343f89687db5f6b5a4ebf09e9fd327369e2b3aecddc5 SHA512 2502f3072522a8f460d3711dccbaa3fa57e34915313aaad475e5831962adc92c0728c2598f9f78ee99e60731cdc2d3026488ce8050369ab0c967246cd9372f44 |
24 |
|
25 |
diff --git a/www-servers/servefile/servefile-0.5.1.ebuild b/www-servers/servefile/servefile-0.5.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7d34a67b34d |
28 |
--- /dev/null |
29 |
+++ b/www-servers/servefile/servefile-0.5.1.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Serve a single file via HTTP" |
41 |
+HOMEPAGE="https://github.com/sebageek/servefile" |
42 |
+SRC_URI="https://github.com/sebageek/servefile/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="ssl test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) |
51 |
+ sys-apps/grep |
52 |
+ sys-apps/iproute2 |
53 |
+ sys-apps/net-tools |
54 |
+ sys-apps/sed" |
55 |
+DEPEND="test? ( |
56 |
+ ${RDEPEND} |
57 |
+ dev-python/requests[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+S="${WORKDIR}"/${P} |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/${PN}-0.4.4_p20200211-ipv6-absent-tests.patch |
64 |
+) |
65 |
+ |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+src_install() { |
69 |
+ distutils-r1_src_install |
70 |
+ doman ${PN}.1 |
71 |
+} |