net-misc/wsdd: upgrade to Python 3.13, drop old versions

fixes #955418

Signed-off-by: Steffen Christgau <mail@s14u.de>
This commit is contained in:
Steffen Christgau
2025-05-10 15:16:33 +02:00
parent f954a8553f
commit 8a54a5a86d
4 changed files with 2 additions and 92 deletions

View File

@@ -1,3 +1 @@
DIST wsdd-0.7.0.tar.gz 30155 BLAKE2B 74eae9e8dbe4b357cf8931c07ca2131e541bbc57c066197debc6add7dfa99411c836cf4058d477ebbcf484682496110f533e6b8ecb79a8ea789fdc1fec5ebfce SHA512 06926872a63b16526c315dd97e0b7711475c7a4f348db3cb994694256dd01ab099b98b0f6881a7a4fae97b9a8c6784da4b0dc7ec30bb607aa77c824d0687ee76
DIST wsdd-0.7.1.tar.gz 35921 BLAKE2B ce43022c3bd9f7ff1fd7169ac0d5ab6b2ff78d35c221c05b2e20908a5772d563ab2aca571d4e6ae48a55d19d4adcb9cde60f720ae47af8ee950198224fcfdb26 SHA512 3d65fd5d5b4bd6ff37409e07301e082ffd2bb5df184cc12730e2cb2d36ebef030c6121b515af9c7eca59562e73414c7da6f7a6cd1b05c3bb27745e402cd7f684
DIST wsdd-0.8.tar.gz 40455 BLAKE2B e4b8e29073b6ea23b73d2f740f6dbabd8c90b615de32d9972c59e5a822daf6232fcdeafb180492a37c4a29ec266c733b160376abedce3b6a90feded2aed25aa2 SHA512 e3e5164f9ebe39c979456169bf1b0c6c4cd974792f08fa4dfab9c313fba88ae1208a8112db09c3655719b4e26bfc2616f844f17d2a245132c2f5b22e978e3c20

View File

@@ -1,44 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_REQ_USE="xml(+)"
inherit python-r1 systemd
DESCRIPTION="A Web Service Discovery host daemon."
HOMEPAGE="https://github.com/christgau/wsdd"
SRC_URI="https://github.com/christgau/wsdd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="samba"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Samba is technically not a requirement of wsdd, but depend on it if the use flags is set.
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN} samba? ( net-fs/samba )"
src_install() {
python_foreach_impl python_newscript src/wsdd.py wsdd
# remove dependency on samba from init.d script if samba is not in use flags
if ! use samba ; then
sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
fi
sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
doinitd etc/openrc/init.d/wsdd
doconfd etc/openrc/conf.d/wsdd
# install systemd unit file with dependency on samba service if use flag is set
if use samba; then
sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
fi
systemd_dounit etc/systemd/wsdd.service
dodoc README.md
doman man/wsdd.1
}

View File

@@ -1,44 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_REQ_USE="xml(+)"
inherit python-r1 systemd
DESCRIPTION="A Web Service Discovery host daemon."
HOMEPAGE="https://github.com/christgau/wsdd"
SRC_URI="https://github.com/christgau/wsdd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="samba"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Samba is technically not a requirement of wsdd, but depend on it if the use flags is set.
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN} samba? ( net-fs/samba )"
src_install() {
python_foreach_impl python_newscript src/wsdd.py wsdd
# remove dependency on samba from init.d script if samba is not in use flags
if ! use samba ; then
sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
fi
sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
doinitd etc/openrc/init.d/wsdd
doconfd etc/openrc/conf.d/wsdd
# install systemd unit file with dependency on samba service if use flag is set
if use samba; then
sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
fi
systemd_dounit etc/systemd/wsdd.service
dodoc README.md
doman man/wsdd.8
}

View File

@@ -1,8 +1,8 @@
# Copyright 2020-2024 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_REQ_USE="xml(+)"
inherit python-r1 systemd