public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steffen Christgau" <mail@s14u.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/wsdd/
Date: Sun, 21 Nov 2021 09:42:27 +0000 (UTC)	[thread overview]
Message-ID: <1637486127.3e83d3ead4bc0ca74f5d6a9cfdff59331260191a.christgau@gentoo> (raw)

commit:     3e83d3ead4bc0ca74f5d6a9cfdff59331260191a
Author:     Steffen Christgau <mail <AT> s14u <DOT> de>
AuthorDate: Sun Nov 21 09:14:30 2021 +0000
Commit:     Steffen Christgau <mail <AT> s14u <DOT> de>
CommitDate: Sun Nov 21 09:15:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e83d3ea

net-misc/wsdd: version bump to 0.7.0, add Python 3.10 support

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Steffen Christgau <mail <AT> s14u.de>

 net-misc/wsdd/Manifest          |  1 +
 net-misc/wsdd/wsdd-0.7.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/net-misc/wsdd/Manifest b/net-misc/wsdd/Manifest
index 019019217..f45619817 100644
--- a/net-misc/wsdd/Manifest
+++ b/net-misc/wsdd/Manifest
@@ -1 +1,2 @@
 DIST wsdd-0.6.4.tar.gz 28574 BLAKE2B fbb98a3c14446f554f39d60fc42ebc268b9c055a08e8325e2fcdac1e3d45071c908caa97ca19404242a9479c0e6de452a46cddf47dc4513cdb53ab58dd9099e6 SHA512 facc13c9ebfc020d5d6dde9c1d3a5e0e20aebbd7942f25430c07706fe16140ca5618d525fcf1b45869cf1dd916a09939e4c5252bc9d07fb6bd7c618f5fc1500e
+DIST wsdd-0.7.0.tar.gz 30155 BLAKE2B 74eae9e8dbe4b357cf8931c07ca2131e541bbc57c066197debc6add7dfa99411c836cf4058d477ebbcf484682496110f533e6b8ecb79a8ea789fdc1fec5ebfce SHA512 06926872a63b16526c315dd97e0b7711475c7a4f348db3cb994694256dd01ab099b98b0f6881a7a4fae97b9a8c6784da4b0dc7ec30bb607aa77c824d0687ee76

diff --git a/net-misc/wsdd/wsdd-0.7.0.ebuild b/net-misc/wsdd/wsdd-0.7.0.ebuild
new file mode 100644
index 000000000..592da1725
--- /dev/null
+++ b/net-misc/wsdd/wsdd-0.7.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8,9,10} )
+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}"
+
+DEPEND=""
+# 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 )"
+BDEPEND=""
+
+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
+	fi
+
+	sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd
+
+	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
+	fi
+	systemd_dounit etc/systemd/wsdd.service
+
+	dodoc README.md
+	doman man/wsdd.1
+}


             reply	other threads:[~2021-11-21  9:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-21  9:42 Steffen Christgau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-05  8:21 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/wsdd/ Steffen Christgau
2024-04-05  8:21 Steffen Christgau
2023-03-04 17:01 Steffen Christgau
2023-03-04 12:03 Steffen Christgau
2023-03-04 12:03 Steffen Christgau
2021-12-01 22:05 Steffen Christgau
2021-05-16  7:37 Steffen Christgau
2021-05-16  7:37 Steffen Christgau
2021-02-12 20:47 Steffen Christgau
2021-02-06 23:05 Steffen Christgau
2020-10-19 15:38 Steffen Christgau
2020-07-18 15:18 Steffen Christgau
2020-06-06  9:32 Steffen Christgau
2020-03-21 10:38 Steffen Christgau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1637486127.3e83d3ead4bc0ca74f5d6a9cfdff59331260191a.christgau@gentoo \
    --to=mail@s14u.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox