* [ISSUE] [ask] version contain dashes
@ 2023-03-11 10:14 hervyqa
2023-03-11 10:22 ` classabbyamp
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: hervyqa @ 2023-03-11 10:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
New issue by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/issues/42699
Description:
https://github.com/void-linux/void-packages/blob/master/Manual.md#mandatory-variables
> `version` A string with the package version. Must not contain dashes or underscore and at least one digit is required. Shell's variable substitution usage is not allowed.
i have a problem changing the version of package `R-cran-colorspace` which contains dashes. how to fix it?
https://cran.r-project.org/src/contrib/colorspace_2.1-0.tar.gz
`version=2.1-0`
output result:
```
=> ERROR: version contains invalid character: -
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ask] version contain dashes
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
@ 2023-03-11 10:22 ` classabbyamp
2023-03-11 10:22 ` classabbyamp
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-03-11 10:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/42699#issuecomment-1464879578
Comment:
change it to some other character that isn't _ or -, like + or r, then use parameter expansion for the distfiles, like: `distfiles=https://...${version/r/-}.tar.gz`
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ask] version contain dashes
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
2023-03-11 10:22 ` classabbyamp
@ 2023-03-11 10:22 ` classabbyamp
2023-03-11 12:11 ` hervyqa
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-03-11 10:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/42699#issuecomment-1464879578
Comment:
change it to some other character that isn't _ or -, like + or r, then use parameter expansion for the distfiles, like: `version=2.1r0; distfiles=https://...${version/r/-}.tar.gz`
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ISSUE] [CLOSED] [ask] version contain dashes
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
` (2 preceding siblings ...)
2023-03-11 12:11 ` hervyqa
@ 2023-03-11 12:11 ` hervyqa
2023-03-11 12:13 ` hervyqa
4 siblings, 0 replies; 6+ messages in thread
From: hervyqa @ 2023-03-11 12:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]
Closed issue by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/issues/42699
Description:
https://github.com/void-linux/void-packages/blob/master/Manual.md#mandatory-variables
> `version` A string with the package version. Must not contain dashes or underscore and at least one digit is required. Shell's variable substitution usage is not allowed.
i have a problem changing the version of package `R-cran-colorspace` which contains dashes. how to fix it?
https://cran.r-project.org/src/contrib/colorspace_2.1-0.tar.gz
`version=2.1-0`
output result:
```
=> ERROR: version contains invalid character: -
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ask] version contain dashes
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
2023-03-11 10:22 ` classabbyamp
2023-03-11 10:22 ` classabbyamp
@ 2023-03-11 12:11 ` hervyqa
2023-03-11 12:11 ` [ISSUE] [CLOSED] " hervyqa
2023-03-11 12:13 ` hervyqa
4 siblings, 0 replies; 6+ messages in thread
From: hervyqa @ 2023-03-11 12:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/issues/42699#issuecomment-1464898658
Comment:
ah i just knew, changed from `2.0r3` to be `2.1r0`.
solved. thank you.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ask] version contain dashes
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
` (3 preceding siblings ...)
2023-03-11 12:11 ` [ISSUE] [CLOSED] " hervyqa
@ 2023-03-11 12:13 ` hervyqa
4 siblings, 0 replies; 6+ messages in thread
From: hervyqa @ 2023-03-11 12:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/issues/42699#issuecomment-1464898658
Comment:
ah i just knew, changed from `2.0r3` to `2.1r0`.
solved. thank you.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-03-11 12:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 10:14 [ISSUE] [ask] version contain dashes hervyqa
2023-03-11 10:22 ` classabbyamp
2023-03-11 10:22 ` classabbyamp
2023-03-11 12:11 ` hervyqa
2023-03-11 12:11 ` [ISSUE] [CLOSED] " hervyqa
2023-03-11 12:13 ` hervyqa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).