net-im/pantalaimon: drop 0.10.2

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2022-10-08 00:18:07 +03:00 committed by Parona
parent 35bd282703
commit 3227afec21
4 changed files with 0 additions and 119 deletions

View File

@ -1,2 +1 @@
DIST pantalaimon-0.10.2.tar.gz 2494924 BLAKE2B fecb33571c159d71d62477f662bf146651f496f6d28aa13a197e9b2076acc4ec2b9c89586c6bbc8fee586cd31b74086fb8dd14bf417853b35c4d3941a01f2d40 SHA512 27d887959a74469967174140f1a511a152ebe2813186cd3e8136fcc91d0726a4c0fdf46427d5bcee8401567ff88468143139b0bdc1f27a389b6fb85cf28b317b
DIST pantalaimon-0.10.4.tar.gz 2495386 BLAKE2B edb8c38412448b8a37c9554efe577ca7519262d030f320a090c3d4ca23c197eabccb0253c9d5154776ce263a053f7a585ffed773b53e2a8555a588e1ce4b6483 SHA512 59b3fd27d653a5dedebb9354245e7cb1864792b523cf45696035a327a5946d6ce43a5c97bef301093897265f390dca05e9b68927d8c816de494a83301b05e9bd

View File

@ -1,33 +0,0 @@
Do not install panctl
---
MANIFEST.in | 1 -
setup.py | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/MANIFEST.in b/MANIFEST.in
index 86e8433..ee8bc73 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,3 @@
include contrib/pantalaimon.service
include doc/man/pantalaimon.8
include doc/man/pantalaimon.5
-include doc/man/panctl.1
diff --git a/setup.py b/setup.py
index b13317a..e06de1a 100644
--- a/setup.py
+++ b/setup.py
@@ -40,8 +40,7 @@ setup(
]
},
entry_points={
- "console_scripts": ["pantalaimon=pantalaimon.main:main",
- "panctl=pantalaimon.panctl:main"],
+ "console_scripts": ["pantalaimon=pantalaimon.main:main"],
},
zip_safe=False
)
--
2.31.1

View File

@ -7,11 +7,6 @@
</maintainer>
<longdescription>Pantalaimon is an end-to-end encryption aware Matrix reverse proxy daemon that handles the encryption. Messages are transparently encrypted and decrypted for clients inside of pantalaimon.
</longdescription>
<use>
<flag name="dbus">Support additional features that require dbus</flag>
<flag name="panctl">Install a CLI utility to control pantalaimon</flag>
<flag name="systemd">Install systemd .service script</flag>
</use>
<upstream>
<remote-id type="github">matrix-org/pantalaimon</remote-id>
</upstream>

View File

@ -1,80 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_9 )
inherit distutils-r1
DESCRIPTION="A Matrix proxy daemon that adds E2E encryption capabilities"
HOMEPAGE="https://github.com/matrix-org/pantalaimon"
SRC_URI="https://github.com/matrix-org/pantalaimon/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dbus panctl systemd"
RESTRICT="mirror"
DOCS=( "README.md" "docs/man/pantalaimon.5.md" "docs/man/pantalaimon.8.md" )
REQUIRED_USE="panctl? ( dbus )"
BDEPEND=""
RDEPEND="
>=dev-python/attrs-19.3.0
>=dev-python/aiohttp-3.6
>=dev-python/appdirs-1.4.4
>=dev-python/click-7.1.2
>=dev-python/keyring-21.2.1
>=dev-python/logbook-1.5.3
>=dev-python/peewee-3.13.1
>=dev-python/cachetools-3.0.0
>dev-python/prompt_toolkit-2
>=dev-python/janus-0.5
>=dev-python/matrix-nio-0.18[e2e]
dbus? (
>=dev-python/dbus-python-1.2
>=dev-python/pygobject-3.36
>=dev-python/pydbus-0.6
>=dev-python/notify2-0.3
)
"
src_prepare() {
# I don't think we should install something a priori non-functioning
if ! use panctl ; then
rm docs/man/panctl.1
rm docs/man/panctl.md
rm pantalaimon/panctl.py
eapply "${FILESDIR}/${PN}"-0.10.2-no-panctl.patch
fi
default
}
# todo: Why exactly is compilation disabled by upstream?
src_install() {
# Remove some warnings
ln -s docs doc
# This should probably be addressed by upstream
distutils-r1_src_install
doman docs/man/pantalaimon.{5,8}
if use panctl ; then
doman docs/man/panctl.1
dodoc docs/man/panctl.md
fi
# issue: contrib config could be much better
sed -i -e 's/^/# /' contrib/pantalaimon.conf
insinto /etc
doins contrib/pantalaimon.conf
if use systemd; then
insinto /usr/lib/systemd/user
doins contrib/pantalaimon.service
fi
}