diff options
author | John Turner <jturner.usa+gentoo@gmail.com> | 2025-09-05 20:03:57 -0400 |
---|---|---|
committer | John Turner <jturner.usa+gentoo@gmail.com> | 2025-09-05 21:53:04 -0400 |
commit | 35e9b0dccffc1f657782a0f7b3a875bec8170848 (patch) | |
tree | 8a2839e994fcbe8f6f9713d2687396a4d3a9f85d | |
parent | ba6d54a794abcaa2ef74090540fe04235d5541b4 (diff) | |
download | ebuilds-35e9b0dccffc1f657782a0f7b3a875bec8170848.tar.gz |
new ebuild pypaste-9999 and corresponding user/group
-rw-r--r-- | acct-group/pypaste/pypaste-0.ebuild | 9 | ||||
-rw-r--r-- | acct-user/pypaste/pypaste-0.ebuild | 16 | ||||
-rw-r--r-- | app-text/pypaste/pypaste-9999.ebuild | 39 |
3 files changed, 64 insertions, 0 deletions
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 +} |