net-misc/fedigroup: add 1.0.8

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-12-14 01:53:59 +05:00
parent dba6dcfd80
commit bd53b8843c
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fedigroup.py-1.0.6.tar.gz 17909 BLAKE2B d4a9003d0fd06f3bb74777966b71618cb5283aa017ecf91ac182f8fb460fc028469e13aace678b4319714e555ede2c6f4aa7f16b449efb272bf9a6d441be423f SHA512 0481bd1de94d3d4cf2f5c57c078244a079ac3541393555bcb6b36db88457ed10505d065eeee63da222280e62ec14fb5c492b727da6f6495f1d91936c7b9ea53c
DIST fedigroup.py-1.0.8.tar.gz 17918 BLAKE2B 998c3fdde7492746158994147000354015fdc17887202bf099c50eab267ada34b78601a119254551ce2a398d6c85e43927668ee2a03ec5306251e6bc8f84c866 SHA512 f81b666e743232f614f0a6e7be3516a87be17c755ae19ca405eeb9c4130d2d26b25c7b4b6c7764e913dd54a2547cb07328debd228d86178516bd9608a2ed07cf

View File

@@ -0,0 +1,41 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
MY_PN="${PN}.py"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Emulate group accounts on Mastodon/Pleroma"
HOMEPAGE="
https://pypi.org/project/fedigroup.py/
https://github.com/uanet-exception/fedigroup.py
"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-user/fedigroup
$(python_gen_cond_dep '
dev-python/mastodon-py[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
')
"
src_install() {
distutils-r1_src_install
newinitd "${FILESDIR}"/fedigroup.initd ${PN}
newconfd "${FILESDIR}"/fedigroup.confd ${PN}
diropts --owner fedigroup --group fedigroup
keepdir /var/lib/fedigroup
}