<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6030eaf8b74e6e9c095351799acfcc18fd82a5c2">https://github.com/macports/macports-ports/commit/6030eaf8b74e6e9c095351799acfcc18fd82a5c2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 6030eaf8b74 cputhrottle: update to 1.0.0; remove boost dependency
</span>6030eaf8b74 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6030eaf8b74e6e9c095351799acfcc18fd82a5c2
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Jun 16 17:36:44 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> cputhrottle: update to 1.0.0; remove boost dependency
</span>---
sysutils/cputhrottle/Portfile | 28 +++++++-------------
sysutils/cputhrottle/files/patch-GNUmakefile.diff | 31 +++++++++++++++++++++++
2 files changed, 40 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cputhrottle/Portfile b/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8246cc9d437..b39e9de34c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,39 +5,29 @@ PortGroup makefile 1.0
</span> PortGroup boost 1.0
name cputhrottle
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#can't find any designated version number, so we'll use its release date
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20100515
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+epoch 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories sysutils
license none
platforms darwin
maintainers nomaintainer
description a tool to for throttling process cpu usage
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> long_description Cputhrottle is a tool which allows cpu usage to be \
limited on a per-PID basis.
homepage http://www.willnolan.com/cputhrottle/cputhrottle.html
master_sites http://www.willnolan.com/cputhrottle/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 21b8c53310111dabe4d6b58cc702deb6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 e88c7264cb09399f2e4c54f9d10978ffbb99078b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4fc0e11712e6fd308c955d821091c9bd2188b720
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-boost.depends_type build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-boost.version 1.71
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 529365fd4c3525fd4120e0df78e0004d1187a874 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 08243656d0abf6dd5fd9542d33553507ce395ee4e0a1aeb5df08ca78bc83ec21 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3357
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-GNUmakefile.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# For some reason this makefile expects "CC" to be a C++ compiler
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC="${configure.cxx} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BOOST_ROOT=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BOOST_INCLUDES=[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span>
destroot {
xinstall -W ${worksrcpath} cputhrottle ${destroot}${prefix}/bin
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cputhrottle/files/patch-GNUmakefile.diff b/sysutils/cputhrottle/files/patch-GNUmakefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4b7e11b04ab
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cputhrottle/files/patch-GNUmakefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- GNUmakefile.orig 2021-06-16 17:32:51.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ GNUmakefile 2021-06-16 17:56:53.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,11 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CC = /usr/bin/g++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CCFLAGS = -g
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CXX = /usr/bin/g++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CXXFLAGS = -g
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CCFLAGS += -Wall -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CXXFLAGS += -Wall -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .cc.o:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) -c $(CCFLAGS) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CXX) -c $(CXXFLAGS) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJS1 = cputhrottle.o manip.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS1 =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,10 +15,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BINARY2 = test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(BINARY1): $(OBJS1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(LDFLAGS) -o $(BINARY1) $(OBJS1) $(LIBS1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CXX) $(LDFLAGS) -o $(BINARY1) $(OBJS1) $(LIBS1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(BINARY2): $(OBJS2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(LDFLAGS) -o $(BINARY2) $(OBJS2) $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CXX) $(LDFLAGS) -o $(BINARY2) $(OBJS2) $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all: $(BINARY1) $(BINARY2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>