commit: 68ba92fc4ac9627ccf66f4f9eb31d550598c81b4
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed May 1 14:32:01 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri May 3 07:03:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68ba92fc
net-misc/gmcapsule: add 0.7.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
net-misc/gmcapsule/Manifest | 1 +
net-misc/gmcapsule/gmcapsule-0.7.0.ebuild | 39 +++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/net-misc/gmcapsule/Manifest b/net-misc/gmcapsule/Manifest
index 7c6adee140..1de6d9e8b5 100644
--- a/net-misc/gmcapsule/Manifest
+++ b/net-misc/gmcapsule/Manifest
@@ -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
diff --git a/net-misc/gmcapsule/gmcapsule-0.7.0.ebuild
b/net-misc/gmcapsule/gmcapsule-0.7.0.ebuild
new file mode 100644
index 0000000000..c151019468
--- /dev/null
+++ b/net-misc/gmcapsule/gmcapsule-0.7.0.ebuild
@@ -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
+}