net-misc/gmcapsule: add 0.7.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova 2024-05-01 19:32:01 +05:00
parent 289361e32f
commit 68ba92fc4a
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 40 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST gmcapsule-0.6.1.tar.gz 28755 BLAKE2B f20e5763fa4dfb3e3fd25f29367b415d5c1adfb54e49af243a27d6dc9b4ec84229b8cda1f6cd99a72945c25c4b2d13c238169c8708d6a6dcec527b6c810ee6d9 SHA512 ae8a3ff4ade7458c8c78eeedb60f2c5912e4366bcbe9bab3db546e9f18f3b4c8f7e59ee6ad9b7f5d25a58e98d707995757bdd343fa8723f1a3e269f37456ebb8
DIST gmcapsule-0.7.0.tar.gz 29510 BLAKE2B 15bf36eced7cdc0cc82ab6cab7d22c287799ecd2b1cfc3eba5edfd8526261ce03c8f926357d1e2481608a1564b61981a078648e52f5a2f1419a25081c79278b7 SHA512 c03acd8500dc43bac7884705dfbb050b1d4024729b7167d325f9a45c3fb7ff93e8d873841a66be3bac0efd83025f67bd8f5215bc46d0aa200a40c0a7f997926d

View File

@ -0,0 +1,39 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
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
"
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
}