From 0890655c4e1419a7ada1bcf928116f24a2ac6154 Mon Sep 17 00:00:00 2001 From: Joshua Kinard Date: Tue, 3 Jan 2012 04:03:10 +0000 Subject: [PATCH] Add an ebuild for 2.8 to unstable. Closes #394521. Package-Manager: portage-2.1.10.44/cvs/Linux x86_64 --- dev-util/comparator/ChangeLog | 9 +++- dev-util/comparator/Manifest | 24 ++++++++--- dev-util/comparator/comparator-2.8.ebuild | 52 +++++++++++++++++++++++ 3 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 dev-util/comparator/comparator-2.8.ebuild diff --git a/dev-util/comparator/ChangeLog b/dev-util/comparator/ChangeLog index ff658f28c17f..a4d124e987d8 100644 --- a/dev-util/comparator/ChangeLog +++ b/dev-util/comparator/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/comparator -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/ChangeLog,v 1.17 2011/01/11 21:38:50 arfrever Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/ChangeLog,v 1.18 2012/01/03 04:03:10 kumba Exp $ + +*comparator-2.8 (03 Jan 2012) + + 03 Jan 2012; Joshua Kinard +comparator-2.8.ebuild: + Add an ebuild for 2.8 to unstable. Closes #394521. 11 Jan 2011; Arfrever Frehtes Taifersar Arahesis comparator-2.5.ebuild: diff --git a/dev-util/comparator/Manifest b/dev-util/comparator/Manifest index ab04de90de78..c765fd30d902 100644 --- a/dev-util/comparator/Manifest +++ b/dev-util/comparator/Manifest @@ -1,16 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 DIST comparator-2.5.tar.gz 1469060 RMD160 e6d698483453c3187215ab777282c29422c5668d SHA1 ed11536a999c59d4e424a9592666072a1837f05e SHA256 d6151d72a3517470292b405fc4e7b0f518ed335377464228677e2416cae52c25 +DIST comparator-2.8.tar.gz 1463316 RMD160 aaf6ef1c9f1be5242af2afcd48ecb9013e2a8a7e SHA1 2c35b209d0b6c64245ef84b47fabfa1d93852259 SHA256 d858405aa6fb2cd523d11f8ab74af542bec8b323f5a5e13e529a7914f694e8d5 EBUILD comparator-2.5.ebuild 1457 RMD160 10519ef01006c85af3af7dc3c061e3281e429e7a SHA1 e80f551c52e9f6e740b4e9e4f825b0d38435e9c3 SHA256 9417f81ad84e4a806da198f5403a0aa60bac086c96c46e85b89eaf4e240dcc59 -MISC ChangeLog 2232 RMD160 1f80bb76d3b250c098fb1d7fe4ef4159874cc4fa SHA1 2e37ac3455cc20d9cd9a563f5a60826f490739a0 SHA256 f3ec990de8b33e9be33ff5004aa9a291a3fbc6f7a1ec3fcd6b31e1090b8ca42b +EBUILD comparator-2.8.ebuild 1456 RMD160 8be6e505b1803fbeafadee46ee2385443b85ef1c SHA1 7a0b2fd10af812727d8cb149cb9f03a4137822b1 SHA256 b0319a406206d083d6a352f34970e0d054a9045a9423a36492625e7513c49370 +MISC ChangeLog 2386 RMD160 67be60855ca1f18384ac81b6a08318467562425b SHA1 7b1242bad889070e4329b203ef0865311f2a2378 SHA256 5a9dd286b2a22fe3db7e46390022fe1f2017ea8f64601edfe0e7b44eb7f9ad89 MISC metadata.xml 353 RMD160 fb04df9d8ade7861a202fbadfe953d2a2f1c6d00 SHA1 c66fa29db026f7c6782a8468db29d9e67654357d SHA256 1f08fa81ac2584b7d27dbd83b4c6ada8d9dabb0714445676466155785a367fb2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iJwEAQEIAAYFAk59m5AACgkQfXuS5UK5QB0uEwP9EBKujweqeSoA/jw+lEkyezlz -PX9GexVF72GN2j/1IesDcdf6ZQosJI5iyobYaVH4gVbzeCvytm24ggGIRlztHAxI -jnO0rNF19M1bamO/Jc9L7JBR2iCpFzcjVMSqNezZyWO2i6XAG931dEHJykf3zNdY -Wt1aJf1rjtXtUTQPpXE= -=+bIJ +iQIcBAEBAgAGBQJPAkYBAAoJENsjoH7SXZXjJIUP/2CY7MyZwiVNu/Xr56mLgrox +cX7QATzvftgdCqvmX9uQduuUYUEAZoISQRGGtoIrCjsLu+wqlvB5kAXeFaon42Q3 +6Nnmn5p2wb0GnkRzW60owi63r5MFXwVwAZDkjdLIkEGSth1qLGp8ezBZ3kHVzfp7 +3RhkOpMV5VDHQog6u40vp92rSVWnAi7HFpP9XXfrVk5bp2eOvvvYW/mlFJGvZBfO +SeL0Ap1Qj5HyFUK+E5n08FVzHAUX/Uy9GvbZpIavwQI8s5xLoZs2Slt3GR8ki9SS +qpiqDQ/t5g6qYtjKez/MQGkLWMvpO2y9NO62+Hv14uDYBFaT526DN/nMyjcZjq6W +8Vk/y6s3vTYefv+x2v1Rl5ifj6jh/YuPp7mQ0L46pAU7CT0KTIFb6DHpwcLgsGYr +tCD5V9p3yY8VMFL7ZWJ4WDsBbmFcYlg3JHMr4WSwKkJyyiM+ItFgDeytbExQqziu +eo1qxi4908ZiZj3Z8uLJeuiCKfRJCFfz21W8aPnN5uYB5h/H5ylvs5d8GFsTSt/D +K6KZ+oegxHDoCN1J3kqNf75gdsqPpfZQCJ7b+1HndXEDWtnEPFiq/MEj5w5t5WV0 +4U50roFYdsxrJtS5/qF7sQy/QB6Zjpk6/dxod0AXmI+H/q1CtyAv7U5K/A0R+Lst +L60ByCFRKsddE4E3rudl +=1+Ck -----END PGP SIGNATURE----- diff --git a/dev-util/comparator/comparator-2.8.ebuild b/dev-util/comparator/comparator-2.8.ebuild new file mode 100644 index 000000000000..70c42cf701cc --- /dev/null +++ b/dev-util/comparator/comparator-2.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/comparator-2.8.ebuild,v 1.1 2012/01/03 04:03:10 kumba Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils toolchain-funcs + +DESCRIPTION="ESR's utility for making fast comparisons among large source trees" +HOMEPAGE="http://www.catb.org/~esr/comparator/" +SRC_URI="http://www.catb.org/~esr/comparator/${P}.tar.gz" + +LICENSE="as-is GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="=app-text/docbook-xml-dtd-4.1.2* + app-text/xmlto" + +PYTHON_MODNAME="comparator.py" + +src_prepare() { + sed \ + -e '/install -m 755 -o 0 -g 0 filterator/d' \ + -e '/python setup.py install/d' \ + -i Makefile || die "sed failed" +} + +src_compile() { + distutils_src_compile + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" + emake comparator.html scf-standard.html || die "emake html failed" +} + +src_install() { + distutils_src_install + emake ROOT="${D}" install || die "emake install failed" + + install_filterator() { + newbin filterator filterator-${PYTHON_ABI} || return 1 + python_convert_shebangs ${PYTHON_ABI} "${ED}usr/bin/filterator-${PYTHON_ABI}" + } + python_execute_function -q install_filterator + python_generate_wrapper_scripts "${ED}usr/bin/filterator" + + dohtml *.html || die "dohtml failed" +} -- 2.26.2