DevFdv
9e26f9208b
[tclap] Update TCLAP to 1.2.5 ( #24644 )
...
* [tclap] Update to TCLAP 1.2.5
* [tclap] x-add-version to update TCLAP to 1.2.5
* [tclap] Specify MIT license in manifest.
* [tclap] x-add-version after license update.
2022-05-11 16:46:02 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. ( #19986 )
...
```
function Convert-Control {
Param($full)
.\vcpkg.exe format-manifest $full
$root = $full.Substring(0, $full.Length - 7) # CONTROL
$new = $root + 'vcpkg.json'
$content = Get-Content -Raw $new
$asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
$oldVersion = $asJson['port-version']
if ($null -eq $oldVersion) {
$oldVersionFull = $asJson['version-string']
Write-Host "Got version $oldVersionFull"
$match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
$newFullVersion = [string]$match.Groups[1].Value
$oldVersion = [int]$match.Groups[2].Value
Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
$newVersion = $oldVersion + 1
$asJson['version-string'] = $newFullVersion
Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
} else {
Write-Host "No previous version for $full -- setting 1"
$newVersion = 1
}
} else {
$newVersion = [int]$oldVersion + 1
Write-Host "New version for $full : $newVersion"
}
$asJson['port-version'] = $newVersion
$content = ConvertTo-Json $asJson -Depth 100
Set-Content -Path $new -Value $content
.\vcpkg.exe format-manifest $new
}
Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
Convert-Control $_.FullName
}
git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) ( #11899 )
2020-06-26 15:06:30 -07:00
Jack·Boos·Yu
83627767af
[vcpkg baseline] Fix baseline error ( #11896 )
...
* [tinyfiledialogs] Re-trigger CI test
* [msix] Fix source hash
* [geographiclib] Re-trigger CI test
* [soundtouch] Re-trigger CI test
* update baseline
* [plplot] Re-trigger CI test
* [dmlc] Fix issues with parallel configuration
* [tclap] Re-trigger CI test
* [itpp] Re-trigger CI test
* [mpg123] Re-trigger CI test
* [qwt] Re-trigger CI test
* [soundtouch] Re-trigger CI test
* [pthreads] Re-trigger CI test
2020-06-12 13:09:46 -07:00
Stefano Sinigardi
726c111481
[vcpkg] fatal_error when patch fails to apply ( #8087 )
...
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
pravic
18b029a5e3
[WIP] Add a Homepage URL entry for vcpkg ports ( #2933 )
...
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Koby Kahane
443af9686b
Update TCLAP to 1.2.2.
2018-01-10 15:40:27 +02:00
Daniele E. Domenichelli
ae5db90ff2
Add Templatized C++ Command Line Parser (TCLAP) header-only library port
2016-11-11 10:36:46 +01:00