app-benchmarks/stress: bump to EAPI=7
authorConrad Kostecki <conrad@kostecki.com>
Sun, 30 Sep 2018 11:58:20 +0000 (13:58 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 30 Sep 2018 20:13:35 +0000 (22:13 +0200)
Closes: https://bugs.gentoo.org/667192
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/9999

app-benchmarks/stress/metadata.xml
app-benchmarks/stress/stress-1.0.4-r2.ebuild [new file with mode: 0644]

index 6f49eba8f49693023f393161560b3a2d9e2717c5..486cfdbaa8affac22c5d55fc54b12d07d5bcda2f 100644 (file)
@@ -1,5 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+       <maintainer type="person">
+               <email>ck+gentoo@bl4ckb0x.de</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               Stress is a deliberately simple workload generator for POSIX systems.
+               It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system.
+       </longdescription>
 </pkgmetadata>
diff --git a/app-benchmarks/stress/stress-1.0.4-r2.ebuild b/app-benchmarks/stress/stress-1.0.4-r2.ebuild
new file mode 100644 (file)
index 0000000..41adb49
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="A deliberately simple workload generator for POSIX systems"
+HOMEPAGE="https://people.seas.harvard.edu/~apw/stress"
+SRC_URI="https://people.seas.harvard.edu/~apw/${PN}/${P}.tar.gz -> ${P}-r1.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+src_configure() {
+       local myeconfargs=(
+               $(use_enable static)
+       )
+
+       econf "${myeconfargs[@]}"
+}