Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/pshs/
Date: Sat, 26 Sep 2020 11:37:31
Message-Id: 1601120214.1d61eee5afb638efa5a49e535bebac1007e7213d.mgorny@gentoo
1 commit: 1d61eee5afb638efa5a49e535bebac1007e7213d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 11:30:07 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 11:36:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d61eee5
7
8 www-servers/pshs: Bump to 0.4.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 www-servers/pshs/Manifest | 1 +
13 www-servers/pshs/pshs-0.4.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest
17 index 36125932ed1..39271b1ded9 100644
18 --- a/www-servers/pshs/Manifest
19 +++ b/www-servers/pshs/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pshs-0.3.4.tar.bz2 81435 BLAKE2B e5a72c02efbaa95f0069d2533ce4434da88a5eaf33b7025b5d83bd0679631d6ee0b1faf31a5f3b0ed3bf2e23d4500bf6f473d997cabf99d8b769f4a2c662d32f SHA512 d264b46ad54286d5c4fac601e3353c1029af75ad59f28fea5a2970dc7e9b00327a08dfdd82141c76656f07047cfce1fa35b485b2f69f0728bcf74c835def917d
22 DIST pshs-0.3.5.tar.bz2 79871 BLAKE2B 07322ce82d80ecc0db166672d1694902a3ae743fd5d43d79261fab66a2f08e58f990d3c5a47dd39c9d041f195cacf31d5db3546336ccc3d961709d17712adf53 SHA512 5cb0cd8950f708f0c4d7b9281e2863440c579557c285fdfda1082eebf849bfb7cd25965de05c7f7b96527eed94b95c635f8cd2d397ebfd4af12195f70b3c5648
23 +DIST pshs-0.4.1.tar.gz 11758 BLAKE2B b3f9422c8ebd47d3de9993b93ea0438232f3ba037d7433b08875a131f449fab880a205bb62616a057328b7d6fe9c00277fbb2e886a1494d2234ab684b0a1e90f SHA512 7ecd0e5019e9778b5f2eff31b8e2f481972cf6da66e4493cff850aa1ec13a4df46e46782799ab25cecd1cc36122f797c6ae0ac2863ea604477784a79191a62d6
24
25 diff --git a/www-servers/pshs/pshs-0.4.1.ebuild b/www-servers/pshs/pshs-0.4.1.ebuild
26 new file mode 100644
27 index 00000000000..e20baa15b0c
28 --- /dev/null
29 +++ b/www-servers/pshs/pshs-0.4.1.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit meson
37 +
38 +DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
39 +HOMEPAGE="https://github.com/mgorny/pshs/"
40 +SRC_URI="
41 + https://github.com/mgorny/pshs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="libressl +magic qrcode ssl upnp"
47 +
48 +RDEPEND=">=dev-libs/libevent-2:0=
49 + magic? ( sys-apps/file:0= )
50 + qrcode? ( media-gfx/qrencode:0= )
51 + ssl? ( >=dev-libs/libevent-2.1:0=[ssl]
52 + !libressl? ( dev-libs/openssl:0= )
53 + libressl? ( dev-libs/libressl:= )
54 + )
55 + upnp? ( net-libs/miniupnpc:0= )"
56 +DEPEND="${RDEPEND}"
57 +
58 +src_configure() {
59 + local emesonargs=(
60 + $(meson_feature magic libmagic)
61 + $(meson_feature qrcode qrencode)
62 + $(meson_feature ssl)
63 + $(meson_feature upnp)
64 + )
65 +
66 + meson_src_configure
67 +}