From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70684139085 for ; Tue, 27 Dec 2016 22:36:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53A15E0BA5; Tue, 27 Dec 2016 22:36:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A8C1E0BA5 for ; Tue, 27 Dec 2016 22:36:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3F77340EE8 for ; Tue, 27 Dec 2016 22:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8752C24C5 for ; Tue, 27 Dec 2016 22:36:16 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1482877648.21dfde8dd43b3e26522234a62042675f96303546.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/sysbench/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/sysbench/Manifest app-benchmarks/sysbench/sysbench-1.0_pre20161223.ebuild X-VCS-Directories: app-benchmarks/sysbench/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 21dfde8dd43b3e26522234a62042675f96303546 X-VCS-Branch: master Date: Tue, 27 Dec 2016 22:36:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c925749c-598a-4181-b972-7feeed98bfee X-Archives-Hash: 45e7f1f44495205adc92cd3efd42d435 commit: 21dfde8dd43b3e26522234a62042675f96303546 Author: Tomáš Mózes gmail com> AuthorDate: Thu Dec 22 23:22:33 2016 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Tue Dec 27 22:27:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21dfde8d app-benchmarks/sysbench: bump to 1.0_pre20161223 app-benchmarks/sysbench/Manifest | 1 + .../sysbench/sysbench-1.0_pre20161223.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-benchmarks/sysbench/Manifest b/app-benchmarks/sysbench/Manifest index 06c5eb7..8e46547 100644 --- a/app-benchmarks/sysbench/Manifest +++ b/app-benchmarks/sysbench/Manifest @@ -1,2 +1,3 @@ DIST sysbench-0.4.12.tar.gz 421932 SHA256 83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e SHA512 e5903a38c89ac850e7e8af6bba6a5311f8c14ab579eff794f9a7688f41804e8b53a8ababd4d1ea1c69625d53d9fe47842d123a6bc2c5fd74ffcac5bac488abbe WHIRLPOOL a880eba1464125817e8497e3492cd0ca20d751a73fd79d70777a41fbab85660152e09e27a8226fdd4424d615d748ca678dee991733b363c183c6618a8359bc3a +DIST sysbench-401c5a43aa40a0b89689747b278fae2adbc302db.tar.gz 283994 SHA256 d2ca2676b3417563d11eb071a0dbdbe3ec0bb0f43a0275f6505bc9682fa51523 SHA512 3764e6bea09fa52cc84bbd740b4da0d09fcbb9908a904ad983b66b64d739c0c051013095824b52799f738e1b863290b1b0cb1604add0d0500a95128ae49f4e47 WHIRLPOOL d6bc6115797a0a26426045c6d477488e807e319393eb71c9b5f5bf1248da2aaba9946fff6e977573d3bfb0a012635a1a0f1fafa61df509aa0b8c97fe86ce4a52 DIST sysbench-48124f838b00ff83a044fbf046a9d8d0b1602d90.tar.gz 281484 SHA256 d3619b4399e6a77a679932571402cfae85c9fd17541050a77006184b3cad155a SHA512 2dd9bb78343df27894094829708dc133009d8ee65399beafbf38ea88d42be311180a18bf7b76cd41b22482606b7de13840cbdf5fc5841a0d2ed59dd65e34cebe WHIRLPOOL 67874d43c2a1d6cda45f64edfe0961018c9b8f5b13cc68b35dfbcebc1f5c75d2bc0ecfc1cffdcc62fc783fcc8a4cabd0e1bbccea5546bcd907d649b6f3b17c71 diff --git a/app-benchmarks/sysbench/sysbench-1.0_pre20161223.ebuild b/app-benchmarks/sysbench/sysbench-1.0_pre20161223.ebuild new file mode 100644 index 00000000..c586767 --- /dev/null +++ b/app-benchmarks/sysbench/sysbench-1.0_pre20161223.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +GITHUB_REV="401c5a43aa40a0b89689747b278fae2adbc302db" +MY_PN="${PN}-${GITHUB_REV}" + +DESCRIPTION="System performance benchmark" +HOMEPAGE="https://github.com/akopytov/sysbench" + +SRC_URI="https://github.com/akopytov/sysbench/archive/${GITHUB_REV}.tar.gz -> ${MY_PN}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="aio lua mysql postgres test" + +RDEPEND="aio? ( dev-libs/libaio ) + lua? ( dev-lang/lua:= ) + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:= )" +DEPEND="${RDEPEND} + sys-devel/libtool:= + dev-libs/libxslt + test? ( dev-util/cram )" + +REQUIRED_USE=" + mysql? ( lua ) + postgres? ( lua )" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + default + + sed -i -e "/^htmldir =/s:=.*:=/usr/share/doc/${PF}/html:" doc/Makefile.am || die + + ./autogen.sh || die +} + +src_configure() { + local myeconfargs=( + $(use_enable aio aio) + $(use_with lua lua) + $(use_with mysql mysql) + $(use_with postgres pgsql) + --without-attachsql + --without-drizzle + --without-oracle + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +}