net-misc/gmcapsule - 0.10.0 (guru)

Search

Install

Install this version:

emerge -a =net-misc/gmcapsule-0.10.0

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

autounmask =net-misc/gmcapsule-0.10.0

Or alternatively:

emerge --autounmask-write -a =net-misc/gmcapsule-0.10.0

Package Information

Description:
Extensible Gemini/Titan server
Homepage:
https://pypi.org/project/gmcapsule/ https://git.skyjake.fi/gemini/gmcapsule
License:
BSD-2

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{12..14} pypy3_11 )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi systemd

DESCRIPTION="Extensible Gemini/Titan server"
HOMEPAGE="
	https://pypi.org/project/gmcapsule/
	https://git.skyjake.fi/gemini/gmcapsule
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	acct-user/gemini
	>=dev-python/pyopenssl-21
"

distutils_enable_tests import-check

python_install() {
	rm "${BUILD_DIR}/install$(python_get_sitedir)"/*.ini || die
	distutils-r1_python_install
}

src_install() {
	distutils-r1_src_install

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

	insinto /etc/gmcapsule
	newins example.ini config.example.ini
}

Inherited Eclasses

Dependencies

RDEPEND

	acct-user/gemini
	>=dev-python/pyopenssl-21