net-im/mastoposter - 0.2 (guru)

Search

Install

Install this version:

emerge -a =net-im/mastoposter-0.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-im/mastoposter-0.2

Or alternatively:

emerge --autounmask-write -a =net-im/mastoposter-0.2

Package Information

Description:
Configurable reposter from Mastodon-compatible Fediverse servers
Homepage:
https://pypi.org/project/mastoposter/ https://github.com/hatkidchan/mastoposter
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
0.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_12 )
DISTUTILS_USE_PEP517=flit
inherit distutils-r1 pypi systemd

DESCRIPTION="Configurable reposter from Mastodon-compatible Fediverse servers"
HOMEPAGE="
	https://pypi.org/project/mastoposter/
	https://github.com/hatkidchan/mastoposter
"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	acct-user/mastoposter
	dev-python/beautifulsoup4[${PYTHON_USEDEP}]
	dev-python/emoji[${PYTHON_USEDEP}]
	dev-python/httpx[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/websockets[${PYTHON_USEDEP}]
"

distutils_enable_tests pytest

src_install() {
	distutils-r1_src_install

	systemd_dounit "${FILESDIR}"/mastoposter.service
	newinitd "${FILESDIR}"/mastoposter.initd mastoposter
	newconfd "${FILESDIR}"/mastoposter.confd mastoposter

	insinto /etc/mastoposter
	insopts --mode=600 --owner=${PN} --group=${PN}
	doins config.ini
}

Inherited Eclasses

Dependencies

RDEPEND

	acct-user/mastoposter
	dev-python/beautifulsoup4[]
	dev-python/emoji[]
	dev-python/httpx[]
	dev-python/jinja2[]
	dev-python/lxml[]
	dev-python/websockets[]