Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/files/, sys-cluster/slurm/
Date: Tue, 04 Sep 2018 13:37:23
Message-Id: 1536068203.017cd425528e318e78e4aac574169be21f1bd523.alexxy@gentoo
1 commit: 017cd425528e318e78e4aac574169be21f1bd523
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 4 13:36:43 2018 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 4 13:36:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017cd425
7
8 sys-cluster/slurm: Version bump
9
10 Closes: https://bugs.gentoo.org/656960
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 sys-cluster/slurm/Manifest | 1 +
14 .../slurm/files/slurm-18.08.0-disable-sview.patch | 99 ++++++++++++++++++++++
15 sys-cluster/slurm/slurm-17.11.9.ebuild | 2 +-
16 .../{slurm-17.11.9.ebuild => slurm-18.08.0.ebuild} | 2 +-
17 4 files changed, 102 insertions(+), 2 deletions(-)
18
19 diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest
20 index ab80e3b9bdc..0800d99dd77 100644
21 --- a/sys-cluster/slurm/Manifest
22 +++ b/sys-cluster/slurm/Manifest
23 @@ -1 +1,2 @@
24 DIST slurm-17.11.9.tar.bz2 6258698 BLAKE2B 53f724dfdcaec4117eedcb187b0bfced41471fff667ea3f3452b35d80ed039c14c31a75672c304816af538861fccd0dcf37c0decd32521299db2162a30b8bba0 SHA512 281bda70695011bbc30f56738049b2b11866d6c266c6aa5590ffcbaaa748a02fc76cd2d03834cd90f0e1f4160ee0fb3c35a7c2e53819f5e21445748d4d437e6b
25 +DIST slurm-18.08.0.tar.bz2 6100548 BLAKE2B 108a64c05cf704288b2ed3627b92edb6402c41aec9866b06d7fdf18b9e0e5f5e815a7e7ded5f8d5c4ab7e9ad46368b5bc54ac52902413fc8a9395c665f11e2ed SHA512 e0da38e2b8b96433c244bcad41e7dd0da56e9bf3de8a64eafd5a8d89ffb8400a3aebb2a54ec28f6c2e9804d40945bb8b53b2a9e3ac688a1d8a2a81ee71b4b11d
26
27 diff --git a/sys-cluster/slurm/files/slurm-18.08.0-disable-sview.patch b/sys-cluster/slurm/files/slurm-18.08.0-disable-sview.patch
28 new file mode 100644
29 index 00000000000..f7e2c5b2673
30 --- /dev/null
31 +++ b/sys-cluster/slurm/files/slurm-18.08.0-disable-sview.patch
32 @@ -0,0 +1,99 @@
33 + configure.ac | 39 ---------------------------------------
34 + doc/man/man1/Makefile.am | 8 --------
35 + src/Makefile.am | 3 +--
36 + 3 files changed, 1 insertion(+), 49 deletions(-)
37 +
38 +diff --git a/configure.ac b/configure.ac
39 +index 2f177ec..ff4d69b 100644
40 +--- a/configure.ac
41 ++++ b/configure.ac
42 +@@ -238,44 +238,6 @@ AC_SUBST(HAVE_SOME_CURSES)
43 + PKG_CHECK_MODULES([CHECK], [check >= 0.9.8], [ac_have_check="yes"], [ac_have_check="no"])
44 + AM_CONDITIONAL(HAVE_CHECK, test "x$ac_have_check" = "xyes")
45 +
46 +-#
47 +-# Tests for GTK+
48 +-#
49 +-
50 +-# use the correct libs if running on 64bit
51 +-if test -d "/usr/lib64/pkgconfig"; then
52 +- PKG_CONFIG_PATH="/usr/lib64/pkgconfig/:$PKG_CONFIG_PATH"
53 +-fi
54 +-
55 +-if test -d "/opt/gnome/lib64/pkgconfig"; then
56 +- PKG_CONFIG_PATH="/opt/gnome/lib64/pkgconfig/:$PKG_CONFIG_PATH"
57 +-fi
58 +-
59 +-AM_PATH_GLIB_2_0([2.7.1], [ac_glib_test="yes"], [ac_glib_test="no"], [gthread])
60 +-
61 +-if test ${glib_config_minor_version=0} -ge 32 ; then
62 +- AC_DEFINE([GLIB_NEW_THREADS], 1, [Define to 1 if using glib-2.32.0 or higher])
63 +-fi
64 +-
65 +-AM_PATH_GTK_2_0([2.7.1], [ac_gtk_test="yes"], [ac_gtk_test="no"], [gthread])
66 +-if test ${gtk_config_minor_version=0} -ge 10 ; then
67 +- AC_DEFINE([GTK2_USE_RADIO_SET], 1, [Define to 1 if using gtk+-2.10.0 or higher])
68 +-fi
69 +-
70 +-if test ${gtk_config_minor_version=0} -ge 12 ; then
71 +- AC_DEFINE([GTK2_USE_TOOLTIP], 1, [Define to 1 if using gtk+-2.12.0 or higher])
72 +-fi
73 +-
74 +-if test ${gtk_config_minor_version=0} -ge 14 ; then
75 +- AC_DEFINE([GTK2_USE_GET_FOCUS], 1, [Define to 1 if using gtk+-2.14.0 or higher])
76 +-fi
77 +-
78 +-if test "x$ac_glib_test" != "xyes" -o "x$ac_gtk_test" != "xyes"; then
79 +- AC_MSG_WARN([cannot build sview without gtk library]);
80 +-fi
81 +-
82 +-AM_CONDITIONAL(BUILD_SVIEW, [test "x$ac_glib_test" = "xyes"] && [test "x$ac_gtk_test" = "xyes"])
83 +-
84 + dnl Cray ALPS/Basil support depends on mySQL
85 + X_AC_CRAY
86 +
87 +@@ -477,7 +439,6 @@ AC_CONFIG_FILES([Makefile
88 + src/sshare/Makefile
89 + src/sstat/Makefile
90 + src/strigger/Makefile
91 +- src/sview/Makefile
92 + src/plugins/Makefile
93 + src/plugins/accounting_storage/Makefile
94 + src/plugins/accounting_storage/common/Makefile
95 +diff --git a/doc/man/man1/Makefile.am b/doc/man/man1/Makefile.am
96 +index 246f16d..ba39af2 100644
97 +--- a/doc/man/man1/Makefile.am
98 ++++ b/doc/man/man1/Makefile.am
99 +@@ -29,10 +29,6 @@ if WITH_BLCR
100 + man1_MANS += srun_cr.1
101 + endif
102 +
103 +-if BUILD_SVIEW
104 +-man1_MANS += sview.1
105 +-endif
106 +-
107 + EXTRA_DIST = $(man1_MANS)
108 +
109 + if HAVE_MAN2HTML
110 +@@ -65,10 +61,6 @@ if WITH_BLCR
111 + html_DATA += srun_cr.html
112 + endif
113 +
114 +-if BUILD_SVIEW
115 +-html_DATA += sview.html
116 +-endif
117 +-
118 + MOSTLYCLEANFILES = ${html_DATA}
119 +
120 + EXTRA_DIST += $(html_DATA)
121 +diff --git a/src/Makefile.am b/src/Makefile.am
122 +index bcd5aa7..a8cbf17 100644
123 +--- a/src/Makefile.am
124 ++++ b/src/Makefile.am
125 +@@ -28,5 +28,4 @@ SUBDIRS = \
126 + srun_cr \
127 + sshare \
128 + sstat \
129 +- strigger \
130 +- sview
131 ++ strigger
132
133 diff --git a/sys-cluster/slurm/slurm-17.11.9.ebuild b/sys-cluster/slurm/slurm-17.11.9.ebuild
134 index 3a1c55f311c..837a4d32c76 100644
135 --- a/sys-cluster/slurm/slurm-17.11.9.ebuild
136 +++ b/sys-cluster/slurm/slurm-17.11.9.ebuild
137 @@ -36,7 +36,7 @@ CDEPEND="
138 !sys-cluster/torque
139 !net-analyzer/slurm
140 !net-analyzer/sinfo
141 - sys-cluster/pmix[-pmi]
142 + || ( sys-cluster/pmix[-pmi] >=sys-cluster/openmpi-2.0.0 )
143 mysql? ( virtual/mysql )
144 munge? ( sys-auth/munge )
145 pam? ( virtual/pam )
146
147 diff --git a/sys-cluster/slurm/slurm-17.11.9.ebuild b/sys-cluster/slurm/slurm-18.08.0.ebuild
148 similarity index 99%
149 copy from sys-cluster/slurm/slurm-17.11.9.ebuild
150 copy to sys-cluster/slurm/slurm-18.08.0.ebuild
151 index 3a1c55f311c..837a4d32c76 100644
152 --- a/sys-cluster/slurm/slurm-17.11.9.ebuild
153 +++ b/sys-cluster/slurm/slurm-18.08.0.ebuild
154 @@ -36,7 +36,7 @@ CDEPEND="
155 !sys-cluster/torque
156 !net-analyzer/slurm
157 !net-analyzer/sinfo
158 - sys-cluster/pmix[-pmi]
159 + || ( sys-cluster/pmix[-pmi] >=sys-cluster/openmpi-2.0.0 )
160 mysql? ( virtual/mysql )
161 munge? ( sys-auth/munge )
162 pam? ( virtual/pam )