Bump for #358083 using ebuild from aluco overlay
authorPatrick Lauer <patrick@gentoo.org>
Sat, 27 Aug 2011 10:25:48 +0000 (10:25 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Sat, 27 Aug 2011 10:25:48 +0000 (10:25 +0000)
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64

app-benchmarks/phoronix-test-suite/ChangeLog
app-benchmarks/phoronix-test-suite/Manifest
app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.1.ebuild [new file with mode: 0644]

index 7d14aa8610a7c7b89b4cdd4e549f28d11d5820e5..b5c351cd5603e5026bbed633b98f3991aeae2805 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-benchmarks/phoronix-test-suite
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/phoronix-test-suite/ChangeLog,v 1.14 2011/08/27 10:00:55 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/phoronix-test-suite/ChangeLog,v 1.15 2011/08/27 10:25:48 patrick Exp $
+
+*phoronix-test-suite-3.2.1 (27 Aug 2011)
+
+  27 Aug 2011; Patrick Lauer <patrick@gentoo.org>
+  +phoronix-test-suite-3.2.1.ebuild:
+  Bump for #358083 using ebuild from aluco overlay
 
   27 Aug 2011; Patrick Lauer <patrick@gentoo.org>
   -phoronix-test-suite-2.6.1.ebuild, -phoronix-test-suite-2.8.1.ebuild,
index eac17c195ac9e330570b9bea52412f678f0dcc7c..0594c67db5924fa5e44da85f175d157a642ea329 100644 (file)
@@ -1,5 +1,7 @@
 AUX font.patch 325 RMD160 c1a2b6c0448ac053ba1fa5c2699fdda02465bfa7 SHA1 4ec39b684aa0ab28c2fe8c721b87f3ca60778852 SHA256 f968d2e7a603e1b8543a05176fa9563298341ff4940d5408986ab4d6606ce9b7
 DIST phoronix-test-suite-2.8.1.tar.gz 465548 RMD160 f014ae92ff19bd36a8ac38c6a427dd0e89a6135f SHA1 06a28f4ed2d56aca8b3566208a4462878e22db68 SHA256 395a21147c735b8e8b44294d9d541cf04ddeacaccb711b863f6410c8705e2ab9
+DIST phoronix-test-suite-3.2.1.tar.gz 399167 RMD160 f6d5130390f1efc2d8036b7c91de5f7edab30504 SHA1 14b6ad90dd9aae7e8f443e263dd9800b98bd4889 SHA256 b5c8d35ece50450e5b50e67d3f6bd67cb41821d5e181551a514344afa9b25962
 EBUILD phoronix-test-suite-2.8.1-r1.ebuild 1818 RMD160 cff2f74726f052533150b5fade14ecdb227b8620 SHA1 2366879c0c5896e46fbb8bcb61e9756f60b4f14f SHA256 ace1075fe6e7ce9d994498110d4a85054fb72d27fc2301f5b730541a1930e8f7
-MISC ChangeLog 2691 RMD160 b87240e634cd496e0fee36654ea94c3ca0f4be0b SHA1 b9b419d2e99543438e5e153810e959f90dd89b60 SHA256 d2c3f68f10488663ba1ee282f1520dc37b8c7c1c5cebe4fab88c6fa838e17f36
+EBUILD phoronix-test-suite-3.2.1.ebuild 3383 RMD160 e90e86d233485d45d439a336e2163e6623dc5a98 SHA1 b62f4db29b4870528a7bb0c11b11e061a01bff2b SHA256 866cb2ae7e36d8651cfe257f3cd419dc74ef5dc35befd43fe0eed6a42d4b3c06
+MISC ChangeLog 2872 RMD160 4a4995e20567e17a6580779fb463ab0a259003c5 SHA1 3b69a7bdc21654eb1ae4aa6b9ed864d978894893 SHA256 a334d68f579dacc6f76410f54f9255d339d6470d7ee8bf40f34e2d8416cbf0d5
 MISC metadata.xml 259 RMD160 97feab51d4ff786053750f171e5d5ad5d99abea7 SHA1 a5af5bb909a2eb37b476ee0e6a9691b55dd5a0b8 SHA256 33ff114274f223a0385a54254536f9d2078f12a84a6779a6739341c024cec67a
diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.1.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.1.ebuild
new file mode 100644 (file)
index 0000000..ceca20c
--- /dev/null
@@ -0,0 +1,110 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.1.ebuild,v 1.1 2011/08/27 10:25:48 patrick Exp $
+
+EAPI=4
+
+inherit eutils bash-completion
+
+DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
+HOMEPAGE="http://www.phoronix-test-suite.com"
+SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+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-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
+       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-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 "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
+               ewarn "for downloading to work properly."
+               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
+}