diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-17 06:30:53 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-17 06:30:53 +0000 |
commit | 9890469b64d7cbd02c79deaa2187c267ed676516 (patch) | |
tree | 0e94f5b77f62876b115e3c6d756b0b2fbf79eace /dev-util | |
parent | Update HOMEPAGE and SRC_URI. (diff) | |
download | gentoo-2-9890469b64d7cbd02c79deaa2187c267ed676516.tar.gz gentoo-2-9890469b64d7cbd02c79deaa2187c267ed676516.tar.bz2 gentoo-2-9890469b64d7cbd02c79deaa2187c267ed676516.zip |
Version bump wrt #447522 by Marcin Mirosław
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/xdelta/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/xdelta/xdelta-3.0.5.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-util/xdelta/ChangeLog b/dev-util/xdelta/ChangeLog index c86292ba136e..0c663e60ce55 100644 --- a/dev-util/xdelta/ChangeLog +++ b/dev-util/xdelta/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/xdelta # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.80 2012/12/17 06:21:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.81 2012/12/17 06:30:53 ssuominen Exp $ + +*xdelta-3.0.5 (17 Dec 2012) + + 17 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> +xdelta-3.0.5.ebuild: + Version bump wrt #447522 by Marcin Mirosław 17 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> -files/01_bigger_print_buffers.patch, diff --git a/dev-util/xdelta/xdelta-3.0.5.ebuild b/dev-util/xdelta/xdelta-3.0.5.ebuild new file mode 100644 index 000000000000..87a8d5a90276 --- /dev/null +++ b/dev-util/xdelta/xdelta-3.0.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0.5.ebuild,v 1.1 2012/12/17 06:30:53 ssuominen Exp $ + +EAPI=5 +inherit autotools python + +MY_P=${PN}${PV%.*.*}-${PV} + +DESCRIPTION="a binary diff and differential compression tools. VCDIFF (RFC 3284) delta compression." +HOMEPAGE="http://xdelta.org/" +SRC_URI="http://${PN}.googlecode.com/files/${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? ( || ( dev-lang/python:2.7 dev-lang/python:2.6 ) )" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use test; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + >py-compile + + # 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 + eautoreconf +} + +src_test() { + default + ./xdelta3regtest || die +} + +src_install() { + emake DESTDIR="${D}" install + dodoc draft-korn-vcdiff.txt README + use examples && dodoc -r examples +} |