Diff eggdrop-1.9.5 with a eggdrop-1.10.1

/usr/portage/net-irc/eggdrop/eggdrop-1.10.1.ebuild 2026-01-27 11:18:04.655094138 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit readme.gentoo-r1
6
PYTHON_COMPAT=( python3_{13..14} )
7

  
8
inherit readme.gentoo-r1 python-single-r1
7 9

  
8 10
MY_P="${PN}-${PV/_rc/rc}"
9 11
DESCRIPTION="An IRC bot extensible with C or TCL"
10 12
HOMEPAGE="https://www.eggheads.org/"
11
SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz"
13
SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/$(ver_cut 1-2)/${MY_P}.tar.gz"
12 14
S="${WORKDIR}/${MY_P}"
13 15

  
14
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ~riscv ~sparc x86"
15 16
LICENSE="GPL-2+"
16 17
SLOT="0"
17
IUSE="debug doc ssl static"
18
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~riscv ~sparc ~x86"
19
IUSE="debug doc python ssl static"
20

  
21
REQUIRED_USE="
22
	python? ( ${PYTHON_REQUIRED_USE} )
23
"
18 24

  
19 25
DEPEND="
20 26
	dev-lang/tcl:0=
27
	virtual/zlib:=
28
	python? ( ${PYTHON_DEPS} )
21 29
	ssl? ( dev-libs/openssl:0= )
22 30
"
23 31
RDEPEND="
......
27 35

  
28 36
DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
29 37

  
38
PATCHES=(
39
	"${FILESDIR}"/${P}-lto.patch
40
)
41

  
30 42
src_configure() {
43
	if ! use python; then
44
		export egg_enable_python=no
45
	fi
46

  
31 47
	econf --enable-ipv6 \
32 48
		$(use_enable ssl tls)
33 49

  
......
49 65
}
50 66

  
51 67
src_install() {
52
	emake DEST="${D}"/opt/eggdrop install
68
	emake DEST="${ED}"/opt/eggdrop install
53 69

  
54 70
	use doc && HTML_DOCS=( doc/html/. )
55
	rm -r "${D}"/opt/eggdrop/doc/html || die
71
	rm -r "${ED}"/opt/eggdrop/doc/html || die
56 72
	DOC_CONTENTS="
57 73
		Additional documentation can be found
58 74
		in ${EPREFIX}/opt/eggdrop/doc
Thank you!