Ravenports generated: 02 Dec 2019 21:21
[ravenports.git] / bucket_56 / leatherman
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               leatherman
4 VERSION=                1.9.1
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        C++ and CMake utility libraries
8 HOMEPAGE=               https://github.com/puppetlabs/leatherman
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/puppetlabs:leatherman:1.9.1
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILDRUN_DEPENDS=       curl:primary:standard
21                         boost-libraries:rest:python_default
22
23 USES=                   cmake ruby gettext-tools
24
25 LICENSE=                APACHE20:single
26 LICENSE_TERMS=          single:{{WRKSRC}}/LICENSE
27 LICENSE_FILE=           APACHE20:stock
28 LICENSE_SCHEME=         solo
29
30 FPC_EQUIVALENT=         devel/leatherman
31
32 SOVERSION=              1.10.0
33
34 CXXFLAGS=               -Wno-class-memaccess
35                         -Wno-ignored-qualifiers
36 CMAKE_ARGS=             -DLEATHERMAN_SHARED:BOOL=ON
37                         -DENABLE_CXX_WERROR:BOOL=OFF
38                         -DBoost_NO_BOOST_CMAKE:BOOL=ON
39
40 post-patch:
41         ${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/cmake/cflags.cmake
42
43 post-install:
44         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
45
46 [FILE:455:descriptions/desc.single]
47 Leatherman - a C++ toolkit
48
49 Leatherman can be used in one of two ways: It can be installed as a regular
50 library, and included using the normal CMake find_package syntax, or it can
51 be setup as a submodule. The recommended method is to install Leatherman
52 and use it as a regular system library.
53
54 Leatherman is broken up into a number of focused component libraries. Both
55 methods of using Leatherman allow you to control which components are built
56 and used.
57
58
59 [FILE:113:distinfo]
60 f76d122f18eb8c35c9706cdbabb418c8f66ef0a569750ad79928d27616b9f9ff       815756 puppetlabs-leatherman-1.9.1.tar.gz
61
62
63 [FILE:2734:manifests/plist.single]
64 include/boost/nowide/
65  args.hpp
66  cenv.hpp
67  config.hpp
68  convert.hpp
69  cstdio.hpp
70  cstdlib.hpp
71  filebuf.hpp
72  fstream.hpp
73  iostream.hpp
74  stackstring.hpp
75  system.hpp
76  utf8_codecvt.hpp
77  windows.hpp
78 include/boost/nowide/integration/filesystem.hpp
79 include/leatherman/curl/
80  client.hpp
81  export.h
82  request.hpp
83  response.hpp
84 include/leatherman/dynamic_library/dynamic_library.hpp
85 include/leatherman/execution/execution.hpp
86 include/leatherman/file_util/
87  directory.hpp
88  file.hpp
89 include/leatherman/json_container/json_container.hpp
90 include/leatherman/locale/locale.hpp
91 include/leatherman/logging/logging.hpp
92 include/leatherman/ruby/api.hpp
93 include/leatherman/util/
94  environment.hpp
95  option_set.hpp
96  regex.hpp
97  scope_exit.hpp
98  scoped_env.hpp
99  scoped_resource.hpp
100  strings.hpp
101  time.hpp
102  timer.hpp
103  uri.hpp
104 include/leatherman/util/posix/scoped_descriptor.hpp
105 include/leatherman/util/windows/scoped_handle.hpp
106 include/leatherman/vendor/catch.hpp
107 include/leatherman/vendor/rapidjson/
108  allocators.h
109  document.h
110  encodedstream.h
111  encodings.h
112  filereadstream.h
113  filewritestream.h
114  memorybuffer.h
115  memorystream.h
116  prettywriter.h
117  rapidjson.h
118  reader.h
119  stringbuffer.h
120  writer.h
121 include/leatherman/vendor/rapidjson/error/
122  en.h
123  error.h
124 include/leatherman/vendor/rapidjson/internal/
125  biginteger.h
126  diyfp.h
127  dtoa.h
128  ieee754.h
129  itoa.h
130  meta.h
131  pow10.h
132  stack.h
133  strfunc.h
134  strtod.h
135 include/leatherman/vendor/rapidjson/msinttypes/
136  inttypes.h
137  stdint.h
138 lib/
139  libleatherman_curl.so
140  libleatherman_curl.so.%%SOVERSION%%
141  libleatherman_dynamic_library.so
142  libleatherman_dynamic_library.so.%%SOVERSION%%
143  libleatherman_execution.so
144  libleatherman_execution.so.%%SOVERSION%%
145  libleatherman_file_util.so
146  libleatherman_file_util.so.%%SOVERSION%%
147  libleatherman_json_container.so
148  libleatherman_json_container.so.%%SOVERSION%%
149  libleatherman_locale.so
150  libleatherman_locale.so.%%SOVERSION%%
151  libleatherman_logging.so
152  libleatherman_logging.so.%%SOVERSION%%
153  libleatherman_ruby.so
154  libleatherman_ruby.so.%%SOVERSION%%
155  libleatherman_util.so
156  libleatherman_util.so.%%SOVERSION%%
157 lib/cmake/leatherman/
158  LeathermanConfig.cmake
159  LeathermanConfigVersion.cmake
160  LeathermanLibraries-%%CMAKE_BUILD_TYPE%%.cmake
161  LeathermanLibraries.cmake
162  catch.cmake
163  curl.cmake
164  dynamic_library.cmake
165  execution.cmake
166  file_util.cmake
167  json_container.cmake
168  locale.cmake
169  logging.cmake
170  nowide.cmake
171  rapidjson.cmake
172  ruby.cmake
173  util.cmake
174 lib/cmake/leatherman/cmake/
175  GetGitRevisionDescription.cmake
176  GetGitRevisionDescription.cmake.in
177  cflags.cmake
178  generate_translations.cmake
179  leatherman.cmake
180  leatherman_config.cmake
181  normalize_pot.cmake
182  options.cmake
183  pod2man.cmake
184 lib/cmake/leatherman/scripts/cpplint.py
185 share/locale/fr/LC_MESSAGES/
186  leatherman_locale.mo
187  leatherman_logging.mo
188
189
190 [FILE:314:patches/patch-CMakeLists.txt]
191 --- CMakeLists.txt.orig 2019-10-25 09:51:43 UTC
192 +++ CMakeLists.txt
193 @@ -57,6 +57,7 @@ else()
194      add_definitions(-DLEATHERMAN_LOCALE_INSTALL="${CMAKE_INSTALL_PREFIX}/share/locale")
195  endif()
196  
197 +set(BUILD_SHARED_LIBS ON)
198  file(GLOB_RECURSE ALL_LEATHERMAN_SOURCES */src/*.cc */inc/*.hpp)
199  add_subdirectory(locales)
200  
201
202
203 [FILE:483:patches/patch-cmake_leatherman.cmake.in]
204 --- cmake/leatherman.cmake.in.orig      2019-10-25 09:51:43 UTC
205 +++ cmake/leatherman.cmake.in
206 @@ -83,11 +83,6 @@ macro(leatherman_install)
207          RUNTIME DESTINATION bin
208          LIBRARY DESTINATION lib${LIB_SUFFIX}
209          ARCHIVE DESTINATION lib${LIB_SUFFIX})
210 -    foreach(ARG ${ARGV})
211 -        if (TARGET ${ARG})
212 -            set_target_properties(${ARG} PROPERTIES PREFIX "" IMPORT_PREFIX "")
213 -        endif()
214 -    endforeach()
215  endmacro()
216  
217  # Usage: add_cppcheck_dirs(dir1 dir2)
218
219
220 [FILE:542:patches/patch-json__container_tests_json__container__test.cc]
221 --- json_container/tests/json_container_test.cc.orig    2019-10-25 09:51:43 UTC
222 +++ json_container/tests/json_container_test.cc
223 @@ -22,11 +22,13 @@ TEST_CASE("JsonContainer::JsonContainer
224      std::string json_value {};
225  
226      SECTION("it should instantiate by passing any JSON value") {
227 +        json_value = "{}";
228          SECTION("object") {
229              json_value = JSON;
230          }
231  
232          SECTION("array") {
233 +            json_value = "[]";
234              SECTION("of numbers") {
235                  json_value = "[1, 2, 3]";
236              }
237
238
239 [FILE:472:patches/patch-locale_src_locale.cc]
240 --- locale/src/locale.cc.orig   2019-10-25 09:51:43 UTC
241 +++ locale/src/locale.cc
242 @@ -44,6 +44,9 @@ namespace leatherman { namespace locale
243              gen.add_messages_domain(domain);
244          }
245  
246 +        if (id.empty())
247 +            return g_locales.insert(make_pair(domain, std::locale())).first->second;
248 +
249          // Ensure creating and adding a new locale is thread-safe.
250          try {
251              return g_locales.insert(make_pair(domain, gen(id))).first->second;
252