summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2011-05-20 13:53:28 +0200
committerAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2011-05-20 13:53:28 +0200
commitf3d0831a5a369d2ef2e8f184b675169b5a2b1833 (patch)
tree58d2f005450f7e9ad9776303889b4a401baec7c1 /app-benchmarks
parent+kdenlive-0.8.ebuild (diff)
downloadaluco-f3d0831a5a369d2ef2e8f184b675169b5a2b1833.tar.gz
aluco-f3d0831a5a369d2ef2e8f184b675169b5a2b1833.tar.bz2
aluco-f3d0831a5a369d2ef2e8f184b675169b5a2b1833.zip
+phoronix-test-suite-3.2.0_beta3.ebuild
Remove gtk use flag, useless since phoronix-test-suite hasn't any GUI anymore. Add a message on incompatibility between v2 and v3.
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/phoronix-test-suite/Manifest3
-rw-r--r--app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta3.ebuild114
2 files changed, 116 insertions, 1 deletions
diff --git a/app-benchmarks/phoronix-test-suite/Manifest b/app-benchmarks/phoronix-test-suite/Manifest
index 241bd8f..13e6e8e 100644
--- a/app-benchmarks/phoronix-test-suite/Manifest
+++ b/app-benchmarks/phoronix-test-suite/Manifest
@@ -2,6 +2,7 @@ DIST phoronix-test-suite-3.0.0.tar.gz 427710 RMD160 9d0f4ba1c57a640338b251d5a9f9
DIST phoronix-test-suite-3.0.1.tar.gz 429462 RMD160 d02921671dbb29606e76da7511997502a45988a9 SHA1 f6b60f2471e3ac60ef5bf49704b7a0e26ccde20a SHA256 113804343d951e9e4380dd15efaa3e5caa2eaf5ff32f83729ee1572e2e4fc971
DIST phoronix-test-suite-3.2.0m1.tar.gz 431027 RMD160 867e84e412797d9f524b90e085c394d4bd9a8014 SHA1 526f2b23532af24516c66e7a046363fbc43b6546 SHA256 f761617e0d647d1c22924909ed570b33c4116c702a725d5a0f47dc1e71c0cb47
DIST phoronix-test-suite-3.2.0m2.tar.gz 432595 RMD160 165f4f98528b1bade69af3277e0fa8711f65daf3 SHA1 6632b1856a89961da12a1c406b11967b941573ad SHA256 f18b07517ce7fd490a6ec76e0f7f50e2e7f2f0b288ff550f70c07e10199e9d88
+DIST phoronix-test-suite-3.2.0m3.tar.gz 437426 RMD160 65824190b240adb12d3df3030597fbda71bbf240 SHA1 6d7afa567fefa3f700308cb1264b505552716913 SHA256 117ff7c917106b719f681208e76a9a31e63f34c809430c186ce575cac08b8272
EBUILD phoronix-test-suite-3.0.0.ebuild 1822 RMD160 e9b148ffe0434b9884a4e2d4b07d7823606d0096 SHA1 ec9e19e41ebdc65a3f52bfba2b93becab2998b02 SHA256 073d57705a245c55896cbe5c570968611c7f307d061cb3e3aff7998ba0f93ae6
EBUILD phoronix-test-suite-3.0.1-r1.ebuild 2273 RMD160 8067ac41faebdc6544f2a7b8d0605dc06f2d5d2d SHA1 4f6a00fa5f7cafdfa83e3094f9613d7a41a9ba36 SHA256 87ee0bfd6f4b1c44758576febff77bfae4b630961eb42a493985652dffa39dd0
EBUILD phoronix-test-suite-3.0.1.ebuild 2334 RMD160 01c356023775232d65dabc115c27fbb97ed45952 SHA1 bded3d6c4641d3a58c2cb3b2c9972ee6d5facc53 SHA256 8570a8e9fe1fa029bb5986fdd1a21b9280d606e042025d5f263e0b618c79494c
@@ -9,4 +10,4 @@ EBUILD phoronix-test-suite-3.2.0_beta1.ebuild 2318 RMD160 87abfebe132c1d5cc8e369
EBUILD phoronix-test-suite-3.2.0_beta2-r1.ebuild 3340 RMD160 f356d7732274b4f1a833be2aecc1cfc592d56f7e SHA1 dd8fabae39cb44e3d5a0edbccb29c8ac6bc481ac SHA256 35565ca26ceca33482dc2f2964b6e985d62fe2f4cea5ae6256b2536b82327f68
EBUILD phoronix-test-suite-3.2.0_beta2-r2.ebuild 3341 RMD160 abb9cf9cf8b1626d9be7d03670a207525b57fc91 SHA1 12b7acccafd3dbfda58f2639139c1d9d6ac50d67 SHA256 8ca2c2e627b1486e1045ac5c842975adfaa5dadacde09e73010473f482c19b01
EBUILD phoronix-test-suite-3.2.0_beta2.ebuild 2179 RMD160 605df0c6a1553054561a79571aa384500714999b SHA1 3817d0e0449972a176637b6f46e7a5b263fbba0f SHA256 d0c6bccc4d089141e9dd0e73901982cd539aaa603b90ba2aad035f157405b5f4
-MISC TODO.txt 77 RMD160 02f4ac12783203563ebba689cc9d563b253dc4e3 SHA1 95864e71e10fb0e71f423b7f5d2772b15b2f1d5c SHA256 2440b760c93412c40017c26de196fdb48856c81158c7c400bfc36321c3b56287
+EBUILD phoronix-test-suite-3.2.0_beta3.ebuild 3553 RMD160 3abfaae957b3b2a48edba6f76e99c320ba0d7231 SHA1 ffae660feeeb62c5b7c387bf646c03775370c9ae SHA256 90f82ab19b9a6f4e56ac24f93f2a6dc9ae5601cc3384b32ccca404daaa0110c7
diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta3.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta3.ebuild
new file mode 100644
index 0000000..f6a4b9a
--- /dev/null
+++ b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# TODO : clean up php dependencies
+
+EAPI=4
+
+inherit eutils bash-completion
+
+DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
+HOMEPAGE="http://www.phoronix-test-suite.com"
+MY_PV="${PN}-3.2.0m3"
+SRC_URI="http://www.phoronix-test-suite.com/download.php?file=development/${MY_PV} -> ${MY_PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+
+# php 5.3 doesn't have pcre and reflection useflags anymore
+RDEPEND="( || ( dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] dev-lang/php:5.2[cli,curl,gd,posix,pcntl,reflection,truetype,pcre,zip] ) )
+ dev-php5/pecl-ps"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
+ phoronix-test-suite
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+
+ doman documentation/man-pages/phoronix-test-suite.1
+ dodoc AUTHORS CHANGE-LOG COPYING documentation/phoronix-test-suite.pdf
+ dohtml -r documentation/
+ doicon pts-core/static/images/phoronix-test-suite.png
+ doicon pts-core/static/images/openbenchmarking.png
+ domenu pts-core/static/phoronix-test-suite.desktop
+ rm -f pts-core/static/phoronix-test-suite.desktop
+
+ doins -r pts-core
+ exeinto /usr/bin
+ doexe phoronix-test-suite
+
+ #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh
+ fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
+ fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
+
+ dobashcompletion pts-core/static/bash_completion ${PN}
+
+ # Need to fix the cli-php config for downloading to work. Very naughty!
+ local slots
+ local slot
+ if [[ "x${PHP_TARGETS}" == "x" ]] ; then
+ ewarn
+ ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
+ ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
+ ewarn
+ else
+ for slot in ${PHP_TARGETS}; do
+ slots+=" ${slot/-/.}"
+ done
+ fi
+
+ for slot in ${slots}; do
+ local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
+ if [[ -f ${PHP_INI_FILE} ]] ; then
+ dodir $(dirname ${PHP_INI_FILE})
+ cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
+ sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
+ else
+ if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
+ ewarn
+ ewarn "${slot} hasn't a php.ini file."
+ ewarn "phoronix-test-suite needs the allow_url_fopen option set to \"On\""
+ ewarn "for downloading to work properly."
+ ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ ewarn
+ else
+ elog
+ elog "${slot} hasn't a php.ini file."
+ elog "phoronix-test-suite may need the allow_url_fopen option set to \"On\""
+ elog "for downloading to work properly if you switch to ${slot}"
+ elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ elog
+ fi
+ fi
+ done
+
+ ewarn
+ ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
+ ewarn "your tests because"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
+ ewarn "moves to"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
+ ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
+ ewarn "pts-install.xml file."
+ ewarn
+}