pkg-config 1.5.5 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{NEWS → NEWS.md} +149 -117
- data/lib/pkg-config/version.rb +1 -1
- data/lib/pkg-config.rb +5 -4
- data/test/test-pkg-config.rb +25 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ce019f0f6ac801e5c218c7f9e721d5c428ffbef30e6bfdbae678a80c364a46b
|
4
|
+
data.tar.gz: '082d9fdd2413f734de37a5573a0747a3de8d46af22c1f904452e63765edc7d6b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d0f96d09ec77da0d85688684eeeac8dd46095eca8fa2e296080d9f2bc65b46302ab846df62bbb8ae62c9da707488b24151b5c7ae58703c7bbee269479d7b30e
|
7
|
+
data.tar.gz: ceda5ab27054ea938d5136240d5005babe6cdb034ec9bf221a114419cf55a21168266b427e93b44759014458cd8851aa6c7587d74a7d2aac2535779d0d50e4f6
|
data/{NEWS → NEWS.md}
RENAMED
@@ -1,291 +1,323 @@
|
|
1
|
-
|
1
|
+
# NEWS
|
2
2
|
|
3
|
-
|
3
|
+
## 1.5.7 - 2024-10-24
|
4
4
|
|
5
|
-
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* conda: Added support for `${CONDA_PREFIX}/share/pkgconfig`.
|
8
|
+
|
9
|
+
### Fixes
|
10
|
+
|
11
|
+
* Fixed `Cflags` nomralization
|
12
|
+
|
13
|
+
* GH-25
|
14
|
+
|
15
|
+
* Reported by Jean byroot Boussier
|
16
|
+
|
17
|
+
### Thanks
|
18
|
+
|
19
|
+
* Jean byroot Boussier
|
20
|
+
|
21
|
+
## 1.5.6 - 2023-11-19
|
22
|
+
|
23
|
+
### Improvements
|
24
|
+
|
25
|
+
* Added support for "<" and ">" operators in "Requires:".
|
26
|
+
|
27
|
+
GH-23
|
28
|
+
|
29
|
+
Patch by Daisuke Fujimura
|
30
|
+
|
31
|
+
### Thanks
|
32
|
+
|
33
|
+
* Daisuke Fujimura
|
34
|
+
|
35
|
+
## 1.5.5 - 2023-09-05
|
36
|
+
|
37
|
+
### Fixes
|
6
38
|
|
7
39
|
* Fixed a bug in 1.5.4 that success detection doesn't work.
|
8
40
|
|
9
|
-
|
41
|
+
## 1.5.4 - 2023-09-05
|
10
42
|
|
11
|
-
|
43
|
+
### Improvements
|
12
44
|
|
13
45
|
* Added package version to unsatisfied version is only found case.
|
14
46
|
|
15
|
-
|
47
|
+
## 1.5.3 - 2023-08-29
|
16
48
|
|
17
|
-
|
49
|
+
### Improvements
|
18
50
|
|
19
51
|
* Accepted spaces between "=" and ":". For example, "prefix = /usr"
|
20
52
|
is accepted.
|
21
53
|
|
22
|
-
|
54
|
+
## 1.5.2 - 2023-06-25
|
23
55
|
|
24
|
-
|
56
|
+
### Improvements
|
25
57
|
|
26
58
|
* Added support for conda.
|
27
59
|
|
28
|
-
|
60
|
+
## 1.5.1 - 2022-11-23
|
29
61
|
|
30
|
-
|
62
|
+
### Improvements
|
31
63
|
|
32
64
|
* Improved the default search path. "/usr" in "/usr/bin/pkg-config"
|
33
65
|
isn't used for buidling the default search path if "pkg-config
|
34
66
|
--variable=pc_path pkg-config" is available.
|
35
67
|
[Reported by Watson][GitHub:#22]
|
36
68
|
|
37
|
-
|
69
|
+
## 1.5.0 - 2022-11-23
|
38
70
|
|
39
|
-
|
71
|
+
### Improvements
|
40
72
|
|
41
73
|
* Improved the default search path. "pkg-config --variable=pc_path
|
42
74
|
pkg-config" is used as the default search path if it's available.
|
43
75
|
[Reported by Watson][GitHub:#22]
|
44
76
|
|
45
|
-
|
77
|
+
## 1.4.9 - 2022-07-31
|
46
78
|
|
47
79
|
This is a bug fix release of 1.4.8. All 1.4.8 users should be upgraded
|
48
80
|
to 1.4.9.
|
49
81
|
|
50
|
-
|
82
|
+
### Fixes
|
51
83
|
|
52
84
|
* Fixed a regression bug in 1.4.8 that PkgConfig.have_package can't
|
53
85
|
detect nonexistent package.
|
54
86
|
|
55
|
-
|
87
|
+
## 1.4.8 - 2022-07-30
|
56
88
|
|
57
|
-
|
89
|
+
### Improvements
|
58
90
|
|
59
91
|
* Added support for showing found package version.
|
60
92
|
|
61
|
-
|
93
|
+
## 1.4.7 - 2022-01-16
|
62
94
|
|
63
|
-
|
95
|
+
### Improvements
|
64
96
|
|
65
97
|
* Added support for RubyInstaller2 3.1 or later.
|
66
98
|
[Reported by golirev][GitHub:ruby-gnome/ruby-gnome#1457]
|
67
99
|
|
68
|
-
|
100
|
+
### Thanks
|
69
101
|
|
70
102
|
* golirev
|
71
103
|
|
72
|
-
|
104
|
+
## 1.4.6 - 2021-04-12
|
73
105
|
|
74
|
-
|
106
|
+
### Improvements
|
75
107
|
|
76
108
|
* Improved support for .pc detection installed by Homebrew.
|
77
109
|
[Reported by Evan Shea][GitHub:rcairo/rcairo#66]
|
78
110
|
|
79
|
-
|
111
|
+
### Thanks
|
80
112
|
|
81
113
|
* Evan Shea
|
82
114
|
|
83
|
-
|
115
|
+
## 1.4.5 - 2021-02-04
|
84
116
|
|
85
|
-
|
117
|
+
### Improvements
|
86
118
|
|
87
119
|
* Added support for macOS 11.2.
|
88
120
|
[Reported by Ludovic Moutury][GitHub:rcairo/rcairo#69]
|
89
121
|
|
90
|
-
|
122
|
+
### Thanks
|
91
123
|
|
92
124
|
* Ludovic Moutury
|
93
125
|
|
94
|
-
|
126
|
+
## 1.4.4 - 2020-09-23
|
95
127
|
|
96
|
-
|
128
|
+
### Fixes
|
97
129
|
|
98
130
|
* Fixed a bug that NoMethodError instead of
|
99
131
|
PackageConfig::NotFoundError is raised.
|
100
132
|
[GitHub#21][Fixed by kojix2]
|
101
133
|
|
102
|
-
|
134
|
+
### Thanks
|
103
135
|
|
104
136
|
* kojix2
|
105
137
|
|
106
|
-
|
138
|
+
## 1.4.3 - 2020-09-15
|
107
139
|
|
108
|
-
|
140
|
+
### Improvements
|
109
141
|
|
110
142
|
* Changed to use PackageConfig::NotFoundError instead of RuntimeError
|
111
143
|
for exception on no .pc is found.
|
112
144
|
|
113
|
-
|
145
|
+
## 1.4.2 - 2020-08-10
|
114
146
|
|
115
|
-
|
147
|
+
### Improvements
|
116
148
|
|
117
149
|
* Added support for detecting pkgconfig path on RubyInstaller
|
118
150
|
without "ridk exec".
|
119
151
|
|
120
|
-
|
152
|
+
## 1.4.1 - 2020-02-10
|
121
153
|
|
122
|
-
|
154
|
+
### Improvements
|
123
155
|
|
124
156
|
* Added support for cycled depended .pc such as freetype2.pc and
|
125
157
|
harfbuzz.pc on PLD Linux.
|
126
158
|
[Reported by Jakub Bogusz]
|
127
159
|
|
128
|
-
|
160
|
+
### Thanks
|
129
161
|
|
130
162
|
* Jakub Bogusz
|
131
163
|
|
132
|
-
|
164
|
+
## 1.4.0 - 2019-10-24
|
133
165
|
|
134
|
-
|
166
|
+
### Improvements
|
135
167
|
|
136
168
|
* Improved Homebrew detection.
|
137
169
|
|
138
|
-
|
170
|
+
## 1.3.9 - 2019-09-28
|
139
171
|
|
140
|
-
|
172
|
+
### Improvements
|
141
173
|
|
142
174
|
* Added support for absolute path in Requires.
|
143
175
|
[GitHub#18][Reported by Josh Huckabee]
|
144
176
|
|
145
|
-
|
177
|
+
### Thanks
|
146
178
|
|
147
179
|
* Josh Huckabee
|
148
180
|
|
149
|
-
|
181
|
+
## 1.3.8 - 2019-08-13
|
150
182
|
|
151
|
-
|
183
|
+
### Improvements
|
152
184
|
|
153
185
|
* Added support for -framework on macOS.
|
154
186
|
[GitHub:ruby-gnome2/ruby-gnome2#1287][Reported by Viko]
|
155
187
|
|
156
|
-
|
188
|
+
### Thanks
|
157
189
|
|
158
190
|
* Viko
|
159
191
|
|
160
|
-
|
192
|
+
## 1.3.7 - 2019-03-17
|
161
193
|
|
162
|
-
|
194
|
+
### Improvements
|
163
195
|
|
164
196
|
* Added support for alphabet and _ only version.
|
165
197
|
[GitHub#17][Reported by xiejiangzhi]
|
166
198
|
|
167
|
-
|
199
|
+
### Thanks
|
168
200
|
|
169
201
|
* xiejiangzhi
|
170
202
|
|
171
|
-
|
203
|
+
## 1.3.6 - 2019-03-09
|
172
204
|
|
173
|
-
|
205
|
+
### Improvements
|
174
206
|
|
175
207
|
* Added support for Homebrew environment without pkg-config formula.
|
176
208
|
|
177
|
-
|
209
|
+
## 1.3.5 - 2019-03-08
|
178
210
|
|
179
|
-
|
211
|
+
### Fixes
|
180
212
|
|
181
213
|
* Fixed MSYS2 detection installed at non standard folder.
|
182
214
|
[GitHub:ruby-gnome2/ruby-gnome2#1271][Reported by Simon Arnaud]
|
183
215
|
|
184
|
-
|
216
|
+
### Thanks
|
185
217
|
|
186
218
|
* Simon Arnaud
|
187
219
|
|
188
|
-
|
220
|
+
## 1.3.4 - 2019-02-19
|
189
221
|
|
190
|
-
|
222
|
+
### Fixes
|
191
223
|
|
192
224
|
* Fixed 32bit MinGW Ruby detection.
|
193
225
|
[GitHub:ruby-gnome2/ruby-gnome2#1274][Reported by noanoa07]
|
194
226
|
|
195
|
-
|
227
|
+
### Thanks
|
196
228
|
|
197
229
|
* noanoa07
|
198
230
|
|
199
|
-
|
231
|
+
## 1.3.3 - 2019-02-10
|
200
232
|
|
201
|
-
|
233
|
+
### Improvements
|
202
234
|
|
203
235
|
* Improved MSYS2 detection on Windows.
|
204
236
|
[GitHub#16][Reported by dsisnero]
|
205
237
|
|
206
|
-
|
238
|
+
### Thanks
|
207
239
|
|
208
240
|
* dsisnero
|
209
241
|
|
210
|
-
|
242
|
+
## 1.3.2 - 2018-11-03
|
211
243
|
|
212
|
-
|
244
|
+
### Improvements
|
213
245
|
|
214
246
|
* Added support for Ruby installed by RubyInstaller for Windows with
|
215
247
|
MSYS2-Devkit.
|
216
248
|
|
217
|
-
|
249
|
+
## 1.3.1 - 2018-04-28
|
218
250
|
|
219
|
-
|
251
|
+
### Improvements
|
220
252
|
|
221
253
|
* Changed search order to find C flags.
|
222
254
|
[GitHub#6][Reported by HIGUCHI Daisuke]
|
223
255
|
* Before: Requires -> Requires.private
|
224
256
|
* After: Requires.private -> Requires
|
225
257
|
|
226
|
-
|
258
|
+
### Thanks
|
227
259
|
|
228
260
|
* HIGUCHI Daisuke
|
229
261
|
|
230
|
-
|
262
|
+
## 1.3.0 - 2018-04-10
|
231
263
|
|
232
|
-
|
264
|
+
### Improvements
|
233
265
|
|
234
266
|
* Added Ruby 2.0 on Ubuntu Trusty again.
|
235
267
|
|
236
|
-
|
268
|
+
## 1.2.9 - 2018-01-13
|
237
269
|
|
238
|
-
|
270
|
+
### Improvements
|
239
271
|
|
240
272
|
* Added more default paths for OpenBSD.
|
241
273
|
[GitHub#15][Reported by clintpachl]
|
242
274
|
|
243
|
-
|
275
|
+
### Thanks
|
244
276
|
|
245
277
|
* clintpachl
|
246
278
|
|
247
|
-
|
279
|
+
## 1.2.8 - 2017-10-19
|
248
280
|
|
249
|
-
|
281
|
+
### Improvements
|
250
282
|
|
251
283
|
* Improved macOS environment detection.
|
252
284
|
[Reported by Simeon Manolov]
|
253
285
|
|
254
|
-
|
286
|
+
### Thanks
|
255
287
|
|
256
288
|
* Simeon Manolov
|
257
289
|
|
258
|
-
|
290
|
+
## 1.2.7 - 2017-08-16
|
259
291
|
|
260
|
-
|
292
|
+
### Improvements
|
261
293
|
|
262
294
|
* Improved Homebrew repository detection.
|
263
295
|
[Reported by Wyatt Kirby]
|
264
296
|
|
265
|
-
|
297
|
+
### Thanks
|
266
298
|
|
267
299
|
* Wyatt Kirby
|
268
300
|
|
269
|
-
|
301
|
+
## 1.2.6 - 2017-08-13
|
270
302
|
|
271
|
-
|
303
|
+
### Improvements
|
272
304
|
|
273
305
|
* Improved Homebrew repository detection.
|
274
306
|
|
275
|
-
|
307
|
+
## 1.2.5 - 2017-08-10
|
276
308
|
|
277
|
-
|
309
|
+
### Improvements
|
278
310
|
|
279
311
|
* Supported Homebrew bundled .pc files.
|
280
312
|
[GitHub:rcairo/rcairo#49][Reported by choboy11]
|
281
313
|
|
282
|
-
|
314
|
+
### Thanks
|
283
315
|
|
284
316
|
* choboy11
|
285
317
|
|
286
|
-
|
318
|
+
## 1.2.4 - 2017-08-07
|
287
319
|
|
288
|
-
|
320
|
+
### Improvements
|
289
321
|
|
290
322
|
* Added `pkg-config` 0.29 or later compatible result support.
|
291
323
|
[GitHub#13][Reported by HIGUCHI Daisuke]
|
@@ -293,88 +325,88 @@ to 1.4.9.
|
|
293
325
|
* test: Updated expected value for the latest cairo.
|
294
326
|
[GitHub#14][Patch by HIGUCHI Daisuke]
|
295
327
|
|
296
|
-
|
328
|
+
### Thanks
|
297
329
|
|
298
330
|
* HIGUCHI Daisuke
|
299
331
|
|
300
|
-
|
332
|
+
## 1.2.3 - 2017-05-29
|
301
333
|
|
302
|
-
|
334
|
+
### Fixes
|
303
335
|
|
304
336
|
* Supported *-mingw32 Rubies without MSYS2 again.
|
305
337
|
|
306
|
-
|
338
|
+
## 1.2.2 - 2017-05-29
|
307
339
|
|
308
|
-
|
340
|
+
### Improvements
|
309
341
|
|
310
342
|
* Supported path normalization for MSYS2.
|
311
343
|
|
312
|
-
|
344
|
+
## 1.2.1 - 2017-05-29
|
313
345
|
|
314
|
-
|
346
|
+
### Improvements
|
315
347
|
|
316
348
|
* Supported MSYS2.
|
317
349
|
|
318
|
-
|
350
|
+
## 1.2.0 - 2017-04-25
|
319
351
|
|
320
|
-
|
352
|
+
### Improvements
|
321
353
|
|
322
354
|
* Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
|
323
355
|
|
324
|
-
|
356
|
+
### Thanks
|
325
357
|
|
326
358
|
* Elan Ruusamäe
|
327
359
|
|
328
|
-
|
360
|
+
## 1.1.9 - 2017-04-20
|
329
361
|
|
330
362
|
* Supported C++ compiler.
|
331
363
|
|
332
|
-
|
364
|
+
## 1.1.8 - 2017-04-19
|
333
365
|
|
334
366
|
* Stopped to require mkmf.
|
335
367
|
|
336
|
-
|
368
|
+
## 1.1.7 - 2015-01-16
|
337
369
|
|
338
370
|
* Added path for FreeBSD to default paths.
|
339
371
|
[Reported by Hajime UMEMOTO]
|
340
372
|
|
341
|
-
|
373
|
+
### Thanks
|
342
374
|
|
343
375
|
* Hajime UMEMOTO
|
344
376
|
|
345
|
-
|
377
|
+
## 1.1.6 - 2014/11/12
|
346
378
|
|
347
379
|
* Supported Ruby 2.1.
|
348
380
|
[GitHub:ruby-gnome2/ruby-gnome2#262][Reported by Steve Wills]
|
349
381
|
|
350
|
-
|
382
|
+
### Thanks
|
351
383
|
|
352
384
|
* Steve Wills
|
353
385
|
|
354
|
-
|
386
|
+
## 1.1.5 - 2013/12/29
|
355
387
|
|
356
388
|
* Supported XQuartz.
|
357
389
|
[GitHub:#10][Patch by Masafumi Yokoyama]
|
358
390
|
|
359
|
-
|
391
|
+
### Thanks
|
360
392
|
|
361
393
|
* Masafumi Yokoyama
|
362
394
|
|
363
|
-
|
395
|
+
## 1.1.4 - 2012/08/02
|
364
396
|
|
365
397
|
* Supported mswin64 as MSVC environment.
|
366
398
|
|
367
|
-
|
399
|
+
## 1.1.3 - 2012/01/29
|
368
400
|
|
369
401
|
* [GitHub #8] fix test broken by libpng version.
|
370
402
|
(Patch by Bohuslav Kabrda.)
|
371
403
|
* Used RbConfig instead of Config.
|
372
404
|
|
373
|
-
|
405
|
+
### Thanks
|
374
406
|
|
375
407
|
* Bohuslav Kabrda
|
376
408
|
|
377
|
-
|
409
|
+
## 1.1.2 - 2011/07/04
|
378
410
|
|
379
411
|
* [GitHub #2] fix test broken.
|
380
412
|
(Reported by Mamoru Tasaka.)
|
@@ -387,65 +419,65 @@ to 1.4.9.
|
|
387
419
|
* [GitHub #7] supported non i386 and amd64 architectures.
|
388
420
|
(Reported by Antonio Terceiro.)
|
389
421
|
|
390
|
-
|
422
|
+
### Thanks
|
391
423
|
|
392
424
|
* Mamoru Tasaka
|
393
425
|
* Antonio Terceiro
|
394
426
|
|
395
|
-
|
427
|
+
## 1.1.1 - 2011/05/03
|
396
428
|
|
397
429
|
* [ruby-gnome-devel-en] add
|
398
430
|
/usr/lib/i386-linux-gnu/pkgconfig to the default paths.
|
399
431
|
(Reported by Andrea B.C.)
|
400
432
|
|
401
|
-
|
433
|
+
### Thanks
|
402
434
|
|
403
435
|
* Funky Bibimba
|
404
436
|
|
405
|
-
|
437
|
+
## 1.1.0 - 2011/04/03
|
406
438
|
|
407
439
|
* [#3270846] add /usr/lib/x86_64-linux-gnu/pkgconfig to default paths.
|
408
440
|
(Reported by Funky Bibimbap)
|
409
441
|
|
410
|
-
|
442
|
+
### Thanks
|
411
443
|
|
412
444
|
* Funky Bibimba
|
413
445
|
|
414
|
-
|
446
|
+
## 1.0.8 - 2011/01/30
|
415
447
|
|
416
448
|
* fix a bug that multiple PKGConfig.add_path doesn't work.
|
417
449
|
|
418
|
-
|
450
|
+
## 1.0.7 - 2010/09/30
|
419
451
|
|
420
452
|
* suppress warnings on Ruby 1.9.
|
421
453
|
|
422
|
-
|
454
|
+
## 1.0.6 - 2010/09/23
|
423
455
|
|
424
456
|
* add PKGConfig.libs_only_L.
|
425
457
|
|
426
|
-
|
458
|
+
## 1.0.5 - 2010/09/23
|
427
459
|
|
428
460
|
* suppress duplicated configure arguments processing.
|
429
461
|
* use mkmf.rb message functions.
|
430
462
|
|
431
|
-
|
463
|
+
## 1.0.4 - 2010/09/23
|
432
464
|
|
433
465
|
* add PKGConfig.variable.
|
434
466
|
|
435
|
-
|
467
|
+
## 1.0.3 - 2010/09/07
|
436
468
|
|
437
469
|
* add path and override_variable customize API.
|
438
470
|
* support description.
|
439
471
|
|
440
|
-
|
472
|
+
## 1.0.2 - 2010/09/02
|
441
473
|
|
442
474
|
* fix packaing miss.
|
443
475
|
|
444
|
-
|
476
|
+
## 1.0.1 - 2010/09/02
|
445
477
|
|
446
478
|
* support installing without gem.
|
447
479
|
|
448
|
-
|
480
|
+
## 1.0.0 - 2010/09/02
|
449
481
|
|
450
482
|
* Initial release!
|
451
483
|
|
data/lib/pkg-config/version.rb
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -173,6 +173,7 @@ class PackageConfig
|
|
173
173
|
conda_prefix = ENV["CONDA_PREFIX"]
|
174
174
|
if conda_prefix
|
175
175
|
default_paths << File.join(conda_prefix, "lib", "pkgconfig")
|
176
|
+
default_paths << File.join(conda_prefix, "share", "pkgconfig")
|
176
177
|
end
|
177
178
|
default_paths << "/usr/local/lib64/pkgconfig"
|
178
179
|
default_paths << "/usr/local/libx32/pkgconfig"
|
@@ -437,10 +438,10 @@ class PackageConfig
|
|
437
438
|
begin
|
438
439
|
loop do
|
439
440
|
cflag = enumerator.next
|
440
|
-
normalized_cflags << cflag
|
441
|
+
normalized_cflags << cflag.dup
|
441
442
|
case cflag
|
442
443
|
when "-I"
|
443
|
-
normalized_cflags << enumerator.next
|
444
|
+
normalized_cflags.last << enumerator.next
|
444
445
|
end
|
445
446
|
end
|
446
447
|
rescue StopIteration
|
@@ -520,7 +521,7 @@ class PackageConfig
|
|
520
521
|
|
521
522
|
def parse_requires(requires)
|
522
523
|
return [] if requires.nil?
|
523
|
-
requires_without_version = requires.gsub(/
|
524
|
+
requires_without_version = requires.gsub(/(?:<|>|<=|>=|=)\s*[\d.a-zA-Z_-]+\s*/, "")
|
524
525
|
requires_without_version.split(/[,\s]+/)
|
525
526
|
end
|
526
527
|
|
@@ -645,7 +646,7 @@ module PKGConfig
|
|
645
646
|
"yes (#{modversion(pkg)})"
|
646
647
|
else
|
647
648
|
if exist?(pkg)
|
648
|
-
"no (#{modversion(pkg)}"
|
649
|
+
"no (#{modversion(pkg)})"
|
649
650
|
else
|
650
651
|
"no (nonexistent)"
|
651
652
|
end
|
data/test/test-pkg-config.rb
CHANGED
@@ -237,5 +237,30 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
237
237
|
assert_equal(["fribidi"],
|
238
238
|
parse_requires("fribidi >= fribidi_required_dep"))
|
239
239
|
end
|
240
|
+
|
241
|
+
def test_greater_than_or_equals_to
|
242
|
+
assert_equal(["fribidi"],
|
243
|
+
parse_requires("fribidi >= 1.0"))
|
244
|
+
end
|
245
|
+
|
246
|
+
def test_greater_than
|
247
|
+
assert_equal(["fribidi"],
|
248
|
+
parse_requires("fribidi > 1.0"))
|
249
|
+
end
|
250
|
+
|
251
|
+
def test_less_than_or_equals_to
|
252
|
+
assert_equal(["fribidi"],
|
253
|
+
parse_requires("fribidi <= 1.0"))
|
254
|
+
end
|
255
|
+
|
256
|
+
def test_less_than
|
257
|
+
assert_equal(["fribidi"],
|
258
|
+
parse_requires("fribidi < 1.0"))
|
259
|
+
end
|
260
|
+
|
261
|
+
def test_equals_to
|
262
|
+
assert_equal(["fribidi"],
|
263
|
+
parse_requires("fribidi = 1.0"))
|
264
|
+
end
|
240
265
|
end
|
241
266
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkg-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: test-unit
|
@@ -62,7 +61,7 @@ extra_rdoc_files: []
|
|
62
61
|
files:
|
63
62
|
- Gemfile
|
64
63
|
- LGPL-2.1
|
65
|
-
- NEWS
|
64
|
+
- NEWS.md
|
66
65
|
- README.rdoc
|
67
66
|
- Rakefile
|
68
67
|
- lib/pkg-config.rb
|
@@ -74,7 +73,6 @@ licenses:
|
|
74
73
|
- LGPLv2+
|
75
74
|
metadata:
|
76
75
|
msys2_mingw_dependencies: pkg-config
|
77
|
-
post_install_message:
|
78
76
|
rdoc_options: []
|
79
77
|
require_paths:
|
80
78
|
- lib
|
@@ -89,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
87
|
- !ruby/object:Gem::Version
|
90
88
|
version: '0'
|
91
89
|
requirements: []
|
92
|
-
rubygems_version: 3.
|
93
|
-
signing_key:
|
90
|
+
rubygems_version: 3.6.0.dev
|
94
91
|
specification_version: 4
|
95
92
|
summary: A pkg-config implementation for Ruby
|
96
93
|
test_files:
|