From 35e9b0dccffc1f657782a0f7b3a875bec8170848 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 5 Sep 2025 20:03:57 -0400 Subject: new ebuild pypaste-9999 and corresponding user/group --- acct-group/pypaste/pypaste-0.ebuild | 9 +++++++++ acct-user/pypaste/pypaste-0.ebuild | 16 +++++++++++++++ app-text/pypaste/pypaste-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 acct-group/pypaste/pypaste-0.ebuild create mode 100644 acct-user/pypaste/pypaste-0.ebuild create mode 100644 app-text/pypaste/pypaste-9999.ebuild diff --git a/acct-group/pypaste/pypaste-0.ebuild b/acct-group/pypaste/pypaste-0.ebuild new file mode 100644 index 0000000..6e2e8b6 --- /dev/null +++ b/acct-group/pypaste/pypaste-0.ebuild @@ -0,0 +1,9 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="Group for app-text/pypaste" +ACCT_GROUP_ID=-1 diff --git a/acct-user/pypaste/pypaste-0.ebuild b/acct-user/pypaste/pypaste-0.ebuild new file mode 100644 index 0000000..d484de0 --- /dev/null +++ b/acct-user/pypaste/pypaste-0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="User for app-text/pypaste" +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( ${PN} ) +# The systemd unit needs HOME to be set +# https://bugs.gentoo.org/521916 +ACCT_USER_HOME=/var/lib/pypaste +ACCT_USER_HOME_PERMS=0700 + +acct-user_add_deps diff --git a/app-text/pypaste/pypaste-9999.ebuild b/app-text/pypaste/pypaste-9999.ebuild new file mode 100644 index 0000000..4212d4c --- /dev/null +++ b/app-text/pypaste/pypaste-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +inherit 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" + +EGIT_SSH_KEYS=( + 'jturner.usa@gmail.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3D6QtWHDFV5agz2Ms/wPOAmRSuH3xGfsI/a8Nnex0c' +) + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" +acct-user/pypaste +acct-group/pypaste +" + +RDEPEND=" +dev-python/aiohttp +dev-python/aiosqlite +dev-python/zstandard +dev-python/bozo4 +" + +src_install() { + dobin ${S}/bin/pypaste + newconfd ${S}/pypaste-confd pypaste + newinitd ${S}/pypaste-initd pypaste + meson_install +} -- cgit v1.2.3