parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

commit 98ebcb7254b7f866b2fe7e4f5dae91518f0edb23
parent dc913d4dd9462c5294d01eb110d10ce5697724f3
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 17 May 2022 11:18:16 +0200

net-p2p/electrum-personal-server: Update upstream.

Diffstat:
Mnet-p2p/electrum-personal-server/electrum-personal-server-9999.ebuild | 10++++------
Dnet-p2p/electrum-personal-server/files/electrum-personal-server.confd | 9---------
Dnet-p2p/electrum-personal-server/files/electrum-personal-server.initd | 24------------------------
3 files changed, 4 insertions(+), 39 deletions(-)

diff --git a/net-p2p/electrum-personal-server/electrum-personal-server-9999.ebuild b/net-p2p/electrum-personal-server/electrum-personal-server-9999.ebuild @@ -3,14 +3,12 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 git-r3 DESCRIPTION="Maximally lightweight electrum server for a single user" HOMEPAGE="https://github.com/chris-belcher/electrum-personal-server/" -# Enable when patches are upstreamed -#EGIT_REPO_URI="https://github.com/chris-belcher/electrum-personal-server" -EGIT_REPO_URI="https://git.parazyd.org/electrum-personal-server" +EGIT_REPO_URI="https://github.com/chris-belcher/electrum-personal-server" LICENSE="MIT" SLOT="0" @@ -28,8 +26,8 @@ src_prepare() { src_install() { default distutils-r1_src_install - newconfd "${FILESDIR}/${PN}.confd" "electrum-personal-server" - newinitd "${FILESDIR}/${PN}.initd" "electrum-personal-server" + newconfd "contrib/electrumpersonalserver.confd" "electrum-personal-server" + newinitd "contrib/electrumpersonalserver.initd" "electrum-personal-server" } pkg_postinst() { diff --git a/net-p2p/electrum-personal-server/files/electrum-personal-server.confd b/net-p2p/electrum-personal-server/files/electrum-personal-server.confd @@ -1,9 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -eps_user="bitcoin" -eps_group="bitcoin" - -eps_config="/etc/electrum-personal-server.ini" - -eps_args="${eps_config}" diff --git a/net-p2p/electrum-personal-server/files/electrum-personal-server.initd b/net-p2p/electrum-personal-server/files/electrum-personal-server.initd @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/var/run/electrum-personal-server.pid" -command="/usr/bin/electrum-personal-server" -command_args="${eps_args}" -start_stop_daemon_args="-u ${eps_user} -b -m -p ${pidfile}" - -name="Electrum Personal Server" -description="Connects to the bitcoind RPC" - -depend() { - need bitcoind -} - -start_pre() { - if ! [ -e "${eps_config}" ]; then - eerror "" - eerror "Please create a configuration in ${eps_config}" - eerror "" - return 1 - fi -}