summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-03-09 00:52:04 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2015-03-09 00:52:04 +0000
commit52d687ecb09f47989277f29e2a7f35dd3d133735 (patch)
treeae2ff05b52d8655ec7db7a5aced3814923c5965f /dev-vcs
parentbup (diff)
downloadhistorical-52d687ecb09f47989277f29e2a7f35dd3d133735.tar.gz
historical-52d687ecb09f47989277f29e2a7f35dd3d133735.tar.bz2
historical-52d687ecb09f47989277f29e2a7f35dd3d133735.zip
Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>.
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/notify-webhook/ChangeLog10
-rw-r--r--dev-vcs/notify-webhook/Manifest7
-rw-r--r--dev-vcs/notify-webhook/metadata.xml14
-rw-r--r--dev-vcs/notify-webhook/notify-webhook-20140805.ebuild27
-rw-r--r--dev-vcs/notify-webhook/notify-webhook-20150308.ebuild57
5 files changed, 115 insertions, 0 deletions
diff --git a/dev-vcs/notify-webhook/ChangeLog b/dev-vcs/notify-webhook/ChangeLog
new file mode 100644
index 000000000000..636ddc590810
--- /dev/null
+++ b/dev-vcs/notify-webhook/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-vcs/notify-webhook
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/notify-webhook/ChangeLog,v 1.1 2015/03/09 00:51:59 robbat2 Exp $
+
+*notify-webhook-20150308 (09 Mar 2015)
+*notify-webhook-20140805 (09 Mar 2015)
+
+ 09 Mar 2015; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +notify-webhook-20140805.ebuild, +notify-webhook-20150308.ebuild:
+ Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>.
diff --git a/dev-vcs/notify-webhook/Manifest b/dev-vcs/notify-webhook/Manifest
new file mode 100644
index 000000000000..5509b6ac613b
--- /dev/null
+++ b/dev-vcs/notify-webhook/Manifest
@@ -0,0 +1,7 @@
+DIST notify-webhook-20140805.tar.gz 15078 SHA256 479d71c7ab9ba772a0b621638e80a14cbe6f34e8fbe851d8db93b118d4567e3f SHA512 8e10994ad26d6de86e7930a2299a8701bed0f04299f2ca14b070f00543368015628b89fd4cbf351f3e42e85cf98e7465dd94517243d1beb71b645d91a637e6d2 WHIRLPOOL 533e2118941edc2f9db4412477a76332fe27475ebc882eb8f567d39a846bf04c95cc693230ae32bc1c10bf24301117b7d6e04c08e45e0fe7cf181fe454504a4b
+DIST notify-webhook-20150308-1ff3985...BCLibCoop:ee038b5.patch 8581 SHA256 c6167fd81e88fcb8de6c37bb2c5259f1c09e6e3a7f0b61d6b58f5f5e478e585c SHA512 c72b03cbea34884c089968e67b61e654a9d365e6b2a338363b6405ab1950aaa5a1c4f8ece73181003571a88f1983458c2e9194d6b26aa103c95c1ceed8e0dd4c WHIRLPOOL 3f4be9d58f5d1a4dff2a7978d067afb0e8fb739b6836709964dec17cc386890eb1d97b0652323acaefc7ca5bc5ae25c46f1f222323d471529e92a5640541bcae
+DIST notify-webhook-20150308.tar.gz 16347 SHA256 cb9d2687eea5ab4f32f6fbc9bdb05a24c8b7755193b312a574172f6aaaca857e SHA512 7a82418d16e6cfd58b9bccaf1700c5a9258601a45a823f1b8307ee3b3c6e90ad52424421836468e34b400b07100a291fd514450a2e1b3c2d1c8dff99ee409557 WHIRLPOOL 523578237483d74d2bd4fa9f4f87277b9103c67c415fbb383629211ea91403fc11debfed70fa94069e9bd8e87a1c9e799929aa1c376244e1a2dde656609a10d8
+EBUILD notify-webhook-20140805.ebuild 745 SHA256 9a31fdb518ec89965597b04219a5035f4df6a2951ff2e2d272cd2d9917c905d2 SHA512 245997b5ff8f35056029bbf2ba8009ec5ada1f3f55cb6163843092bfeba530f2cca9ef898772bd15cf90935d4c8203996f79b05cf92f4839508892a872307024 WHIRLPOOL f57baba074a36d4453d83e6733cab47c5914bf7e28b67c54f600b374e578a8217b0d8ca15a2eb729d72a6e34d49b9658ffeb6adf6fafe2b18f5814467bc58ab0
+EBUILD notify-webhook-20150308.ebuild 1677 SHA256 88520f60cc18a04f2d4919f28b2b2221a555b01cc220d22e588ef2ac60794889 SHA512 6f755b4710a563ba778d375d98f28d72029d6130509dcb9ac504b6f529967e411cf40cb093e84ccffb4978274fad16f6f8176c04f017ec51fd9bdfad2da93635 WHIRLPOOL ee340dad80f33575e69e828e0e6205960944ffccc51beaef10d33d70699b0a10d663b25e35913f9d4c7a8f4ecb8bd6713de7971ac4af19edfcc902f98bbc48c7
+MISC ChangeLog 500 SHA256 62272f798271d19441d948d8eaaebf1258c0591bbb158de58140e794c6e1ba56 SHA512 b68361f9618bfa4018c88e4f8381dea44ae90f998dda2cb396878d6458ed6c6661793e18ff64bf0d82a282756c2efafd6c1d89d084e95ce9182a848723f69e10 WHIRLPOOL f503ca443cb9e2e563cb12a7ae91733575659e328322f6808493ced58a23838156a21f1f1eae9f1035e89592d4bc4a25ce573dd38530d4bc2da07fdd58529c4a
+MISC metadata.xml 490 SHA256 04a6d07d3cb2a88198e5376b019adabb1ed96ab22d87725bf1f5018c066e0953 SHA512 20a466ef0dd02c9b4bb51d58939c2dd9dffdc1603c65e92688430152ef8cdea8c65b13a3208ca13fd506b8a74b4614e83b5c41f7efb7398ab978b236b1084ee8 WHIRLPOOL e60f571e4d3ca4519a04a63658e0e45462cef14393fc4d8b664e2b944b63e12884677dabea26bab0cc797b88ffb1d89a7473d168f975bcb36919b0ddd1f70bfc
diff --git a/dev-vcs/notify-webhook/metadata.xml b/dev-vcs/notify-webhook/metadata.xml
new file mode 100644
index 000000000000..be611320454c
--- /dev/null
+++ b/dev-vcs/notify-webhook/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+ notify-webhook is a git post-receive hook script that posts JSON data to a
+ webhook capable server.
+
+ This implements the GitHub Web hooks API as closely as possible. It allows
+ arbitrary git repositories to use webhook capable services.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-vcs/notify-webhook/notify-webhook-20140805.ebuild b/dev-vcs/notify-webhook/notify-webhook-20140805.ebuild
new file mode 100644
index 000000000000..7fc26e1edaa2
--- /dev/null
+++ b/dev-vcs/notify-webhook/notify-webhook-20140805.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/notify-webhook/notify-webhook-20140805.ebuild,v 1.1 2015/03/09 00:51:59 robbat2 Exp $
+
+EAPI=5
+
+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/${COMMIT}.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
+}
diff --git a/dev-vcs/notify-webhook/notify-webhook-20150308.ebuild b/dev-vcs/notify-webhook/notify-webhook-20150308.ebuild
new file mode 100644
index 000000000000..6cb5c261267b
--- /dev/null
+++ b/dev-vcs/notify-webhook/notify-webhook-20150308.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/notify-webhook/notify-webhook-20150308.ebuild,v 1.1 2015/03/09 00:51:59 robbat2 Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Git post-receive web hook notifier in Python."
+HOMEPAGE="https://github.com/metajack/notify-webhook"
+COMMIT='1ff39853e59bb0ee37c4783da8dcf3ea14cef53f'
+PATCH_COMMIT='BCLibCoop:ee038b53a48e70d9e69c86386c39b7f24736d07e'
+PATCH_DELTA="${COMMIT:0:7}...${PATCH_COMMIT:0:17}"
+PATCH_NAME="${P}-${PATCH_DELTA}.patch"
+SRC_URI="https://github.com/metajack/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/metajack/notify-webhook/compare/${PATCH_DELTA}.patch -> ${PATCH_NAME}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/simplejson"
+DEPEND="${RDEPEND}
+ dev-util/patchutils"
+
+MY_P="${PN}-${COMMIT}"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
+# Yes, this is some creative patch mangling, to avoid a manually created
+# distfile. epatch's dryrun fails on a sequence of changes that depend on each
+# other, so we can clean up the patch to actually pass that check.
+src_prepare() {
+ cd "${T}"
+ cp "${DISTDIR}/${PATCH_NAME}" diff
+ p="newdiff"
+ >$p # Make an empty file to work in
+ splitdiff -a -p 1 diff # split out the patches
+ # combine them to a single patch
+ for f in diff.part*.patch ; do
+ combinediff -p 1 $p $f >$p.new && mv $p.new $p
+ done
+
+ # Now apply it, and dry-run will pass too!
+ cd "${S}"
+ EPATCH_OPTS="-p1" epatch "${T}"/newdiff
+}
+
+src_install() {
+ dodoc *markdown
+ exeinto /usr/libexec/githook/$PN/
+ doexe notify-webhook.py
+}