Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/purritobin/
Date: Tue, 09 Feb 2021 14:46:16
Message-Id: 1612719636.503afd5186e5ead2186f388d0e9f5538d341918d.andrewammerlaan@gentoo
1 commit: 503afd5186e5ead2186f388d0e9f5538d341918d
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sun Feb 7 17:39:52 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun Feb 7 17:40:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=503afd51
7
8 net-misc/purritobin: version bump to 0.4.1
9
10 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
11
12 net-misc/purritobin/Manifest | 1 +
13 net-misc/purritobin/purritobin-0.4.1.ebuild | 51 +++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
17 index f604b984..3636af0a 100644
18 --- a/net-misc/purritobin/Manifest
19 +++ b/net-misc/purritobin/Manifest
20 @@ -1 +1,2 @@
21 DIST purritobin-0.4.0.tar.gz 13895 BLAKE2B 4827e31bc731400c7ffd83ca12f82bd8f9e4c959f059a2b692435d91ecf717cbafb6b66cd7653c98f05ce2b8959f5a039986243ea87ea2fe194fc01bee81c349 SHA512 006b4c2d741c25dc5766d0d7dafcb910f35799721fab7bf59930be8550ac896dfe6f2ae783fe7b28c8d2e786d886777bbff9ee4a33877a8e044e9b1ffbebaeba
22 +DIST purritobin-0.4.1.tar.gz 14363 BLAKE2B 96bcfe76556f430db52ea99bb991acd66c92926faf3c3259b56db16c0195b1a5c70e311e51054a7c1d7d78d687de2e162c214933f9ba6f16dbf3189536e98f06 SHA512 83b448e9599ab87d324d8ff988f339cafe38f8681c92ab986cea0042862db8fe8ce51d979edffedd0a819baa4d25ebffa26fa5362e5e96ab76b8a982a8cb0877
23
24 diff --git a/net-misc/purritobin/purritobin-0.4.1.ebuild b/net-misc/purritobin/purritobin-0.4.1.ebuild
25 new file mode 100644
26 index 00000000..3866d837
27 --- /dev/null
28 +++ b/net-misc/purritobin/purritobin-0.4.1.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 2019-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="minimalistic commandline pastebin"
36 +HOMEPAGE="https://bsd.ac"
37 +
38 +inherit systemd toolchain-funcs
39 +
40 +if [[ ${PV} == 9999 ]]; then
41 + inherit git-r3
42 + EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git"
43 +else
44 + SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 + KEYWORDS="~amd64 ~arm64 ~x86"
46 + S="${WORKDIR}/PurritoBin-${PV}"
47 +fi
48 +
49 +LICENSE="ISC"
50 +SLOT="0"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="
55 + net-libs/usockets[ssl]
56 + acct-user/purritobin
57 + acct-group/purritobin
58 +"
59 +DEPEND="${RDEPEND}
60 + www-apps/uwebsockets
61 +"
62 +
63 +src_configure() {
64 + default
65 + tc-export CXX
66 +}
67 +
68 +src_test() {
69 + emake check
70 +}
71 +
72 +src_install() {
73 + emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
74 + insinto /var/www/purritobin
75 + doins frontend/paste.html
76 + fowners purritobin:purritobin /var/www/purritobin
77 + newinitd "${FILESDIR}"/purritobin.initd purritobin
78 + systemd_dounit "${FILESDIR}"/purritobin.service
79 + einstalldocs
80 +}