You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20220...

42 lines
1.0 KiB

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vcs-snapshot
MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}"
DESCRIPTION="A collection of plugins for the Limnoria IRC bot"
HOMEPAGE="https://github.com/jlu5/SupyPlugins"
SRC_URI="https://github.com/jlu5/SupyPlugins/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD GPL-2+"
KEYWORDS="~amd64 ~riscv ~x86"
SLOT=0
RDEPEND="
net-irc/limnoria
dev-python/beautifulsoup4
"
DOCS=(
"README.md"
"requirements.txt"
)
src_install() {
default
insinto /usr/share/limnoria-extra-plugins/jlu5
doins -r *
}
pkg_postinst() {
elog "Before these plugins can be used, your bot will need to be told where to"
elog "load them from. To do this, add /usr/share/limnoria-extra-plugins/jlu5 when"
elog "prompted during the bot creation wizard, or add it to a running bots config"
elog "with the command"
elog
elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/jlu5"
}