summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-17 19:28:28 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-17 19:36:40 +0100
commit268125f0a44b86c3c275ae1ba67ca5c090b40b45 (patch)
tree80be6787acd7c3b0eecfe5c3fb46d244a8df4f5d /dev-util
parentkde-frameworks/kservice: remove broken revision (diff)
downloadgentoo-268125f0a44b86c3c275ae1ba67ca5c090b40b45.tar.gz
gentoo-268125f0a44b86c3c275ae1ba67ca5c090b40b45.tar.bz2
gentoo-268125f0a44b86c3c275ae1ba67ca5c090b40b45.zip
dev-util/xdelta: Bump to 3.1.0
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/xdelta/Manifest1
-rw-r--r--dev-util/xdelta/xdelta-3.1.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/xdelta/Manifest b/dev-util/xdelta/Manifest
index d666be5eae05..6a24f6429795 100644
--- a/dev-util/xdelta/Manifest
+++ b/dev-util/xdelta/Manifest
@@ -2,3 +2,4 @@ DIST xdelta-1.1.4.tar.gz 423529 SHA256 345503b60432812840991ea1d79cb10db5f34bfab
DIST xdelta3-3.0.10.tar.gz 674324 SHA256 e22577af8515f91b3d766dffa2a97740558267792a458997828f039b79abc107 SHA512 97ffabdb8fee49efda0c6a79fee667e2339d8f0aede526396735bcf64a41d5a892cf81b0de4e832465bad2e501731b59f43032a06fabc81313a5c1357d6c614b WHIRLPOOL 58e7c66ac77853d1ebf332078a6162c710b113b775d1d23659887627795c9f5182e3f5bc685002a8a592cebb083201f0edc6dc088e6959d26901ee0825ca8c0f
DIST xdelta3-3.0.11.tar.gz 683605 SHA256 0ccc9751ceaa4d90d6b06938a4deddb481816f5d9284bd07d2e728609cb300aa SHA512 41c48e28f92ad50a737cf0acac150fe17d1132e9a652c482d751c8c4e745c6922d576a183eeabae343a1a238ed8c53353e537977628c86eb599ab3d1c01e7c52 WHIRLPOOL 212950d31369e8fbbeb65ae2f6b489f15b259cbbf42242653eace6e3f59b8d592e31ba4994475ba3c79e8c0f7d62ef09b1437548f13c9e7f5b439274eee07e82
DIST xdelta3-3.0.6.tar.gz 495860 SHA256 b9a439c27c26e8397dd1b438a2fac710b561e0961fe75682230e6c8f69340da5 SHA512 1b8afc4492129d45e2fecf7bd24616d684eb0ea9b7d5e383a15b6b343459490512697c947561fc854b9454b2c2b831d4396bbc95267813df71211bc0e5f9c0f1 WHIRLPOOL 9d06cfad22490dcebd869ca118d18d84a86770e542ad8e827f642a9a64f199bfb7ea8cd67d36b18c2775f3bce41a1b6179876bf6b5980cdebe94e072842b5ed1
+DIST xdelta3-3.1.0.tar.gz 727607 SHA256 114543336ab6cee3764e3c03202701ef79d7e5e8e4863fe64811e4d9e61884dc SHA512 848c90a28018ec3c541ec43be59ea90328142c4705d3b59907fd89e8f6ac2758e288b1a1112fea601884c50ef7f6cf2c1634f539a76bea65a2741d3bb0e9b990 WHIRLPOOL 3183e51fb1d2b2bf5a3e8e4392cd36a7fa4c756b38a4701f9bf46cda47ede87607fc1fda11876f724c8aa4ba9adee800540ca55f014a6b44d547352792d2b02c
diff --git a/dev-util/xdelta/xdelta-3.1.0.ebuild b/dev-util/xdelta/xdelta-3.1.0.ebuild
new file mode 100644
index 000000000000..13de48d80352
--- /dev/null
+++ b/dev-util/xdelta/xdelta-3.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+WANT_AUTOMAKE=1.14
+inherit autotools python-any-r1
+
+MY_P=xdelta3-${PV}
+
+DESCRIPTION="a binary diff and differential compression tools. VCDIFF (RFC 3284) delta compression"
+HOMEPAGE="http://xdelta.org/"
+SRC_URI="https://github.com/jmacd/xdelta-gpl/releases/download/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="examples test"
+
+RDEPEND="app-arch/xz-utils"
+DEPEND="${RDEPEND}
+ test? ( ${PYTHON_DEPS} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ eapply_user
+
+ # huh
+ sed -i -e '/python/s:2.6:2:' testing/xdelta3-regtest.py || die
+ sed -i -e '/python/s:2.7:2:' testing/xdelta3-test.py || die
+
+ # only build tests when required
+ sed -i -e '/xdelta3regtest/s:noinst_P:check_P:' Makefile.am || die
+ eautomake
+}
+
+src_test() {
+ default
+ ./xdelta3regtest || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc draft-korn-vcdiff.txt README.md
+ use examples && dodoc -r examples
+}