summaryrefslogtreecommitdiff
path: root/app-text/pypaste/pypaste-9999.ebuild
blob: 38ca0e8f4499d6dd74478f42fc3840fdba389901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )

VERIFY_SIG_METHOD="git"

inherit verify-sig git-r3 meson python-single-r1

DESCRIPTION="A simple paste service that stores data in S3, and provides syntax highlighting with pygments."
HOMEPAGE="https://jturnerusa.dev/cgit/pypaste"
EGIT_REPO_URI="https://jturnerusa.dev/cgit/pypaste"

VERIFY_SIG_KEY_PATHS=(/usr/share/ssh-keys/jturnerusa.asc)

LICENSE="GPL-3"
SLOT="0"

IUSE="client server"

DEPEND="
acct-user/pypaste
acct-group/pypaste
"

RDEPEND="
dev-python/aiohttp
dev-python/aiosqlite
dev-python/zstandard
dev-python/bozo4
dev-python/pygments
"

src_configure() {
	local emesonargs=($(meson_feature client) $(meson_feature server))
	meson_src_configure
}

src_install() {
	dobin ${S}/bin/pypaste
	newconfd ${S}/pypaste-confd pypaste
	newinitd ${S}/pypaste-initd pypaste
	meson_install
	python_optimize
}