Files
gentoo/dev-vcs/notify-webhook/notify-webhook-0.1.0.ebuild
T
Sam James 343f03805d dev-vcs/notify-webhook: fix variable references
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
2021-04-03 16:43:11 +01:00

29 lines
640 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( pypy3 )
DESCRIPTION="Git post-receive web hook notifier in Python."
HOMEPAGE="https://github.com/metajack/notify-webhook"
#COMMIT='c571160f155122446e97bb01c1150b4d14ea69d6'
SRC_URI="https://github.com/metajack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/simplejson"
RDEPEND="${DEPEND}"
#MY_P="${PN}-${COMMIT}"
#S="${WORKDIR}/${MY_P}"
src_install() {
dodoc *markdown
exeinto /usr/libexec/githook/${PN}/
doexe notify-webhook.py
}