* [ISSUE] What to do if a package version uses a different format than "x.x.x"? @ 2024-01-23 1:30 zDylant 2024-01-23 1:56 ` [ISSUE] [CLOSED] " classabbyamp 2024-01-23 1:56 ` classabbyamp 0 siblings, 2 replies; 3+ messages in thread From: zDylant @ 2024-01-23 1:30 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 609 bytes --] New issue by zDylant on void-packages repository https://github.com/void-linux/void-packages/issues/48334 Description: Hello, i'm currently packaging [neko](https://github.com/HaxeFoundation/neko/) but this package dist files use dashes instead of dots: `https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-3-0.tar.gz` Since `version` doesn't allow dashes, i'm using the following workaround, but i want to know if this is allowed or if there is a better way to do it. ``` version="2.3.0" distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz" ``` ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] What to do if a package version uses a different format than "x.x.x"? 2024-01-23 1:30 [ISSUE] What to do if a package version uses a different format than "x.x.x"? zDylant @ 2024-01-23 1:56 ` classabbyamp 2024-01-23 1:56 ` classabbyamp 1 sibling, 0 replies; 3+ messages in thread From: classabbyamp @ 2024-01-23 1:56 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 612 bytes --] Closed issue by zDylant on void-packages repository https://github.com/void-linux/void-packages/issues/48334 Description: Hello, i'm currently packaging [neko](https://github.com/HaxeFoundation/neko/) but this package dist files use dashes instead of dots: `https://github.com/HaxeFoundation/neko/archive/refs/tags/v2-3-0.tar.gz` Since `version` doesn't allow dashes, i'm using the following workaround, but i want to know if this is allowed or if there is a better way to do it. ``` version="2.3.0" distfiles="https://github.com/HaxeFoundation/neko/archive/refs/tags/v${version//./-}.tar.gz" ``` ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What to do if a package version uses a different format than "x.x.x"? 2024-01-23 1:30 [ISSUE] What to do if a package version uses a different format than "x.x.x"? zDylant 2024-01-23 1:56 ` [ISSUE] [CLOSED] " classabbyamp @ 2024-01-23 1:56 ` classabbyamp 1 sibling, 0 replies; 3+ messages in thread From: classabbyamp @ 2024-01-23 1:56 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 177 bytes --] New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/issues/48334#issuecomment-1905153433 Comment: yes, that's the way to do it ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-23 1:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-01-23 1:30 [ISSUE] What to do if a package version uses a different format than "x.x.x"? zDylant 2024-01-23 1:56 ` [ISSUE] [CLOSED] " classabbyamp 2024-01-23 1:56 ` classabbyamp
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).