Extract sigil-version from sigil monorepo as standalone repo
Filter-repo'd packages/sigil-version/ history out of codeberg:sigil/sigil into this standalone repo. 13 commits preserved; carried-over monorepo release tags wiped.
Scaffolding: - README.md: usage example (parse-version, version-satisfies?), build/test recipe. - LICENSE: BSD-3-Clause carried over from monorepo root. - .gitignore: build/ and .sigil/. - manifest.scm: pure-Scheme guix-shell environment. - dev-redirects.sgl: single redirect for codeberg:sigil/sigil-lang -> ../sigil-lang for local-checkout development. - package.sgl: explicit version: "0.13.1"; url: pointed at codeberg.org/sigil/sigil-version. Sole dep (sigil-stdlib via sigil-lang) unchanged. - sigil.lock: auto-generated by sigil deps install (sigil-stdlib v0.13.1 @ a436005a).
Self-bootstrap green: sigil deps install + sigil test => 57/57 passed.
Procedure: procedures/sigil-package-extraction (folio). Reference: extract-sigil-args (sibling extraction landed today).
.gitignore | 2 ++
LICENSE | 28 ++++++++++++++++++++++++++++
README.md | 38 ++++++++++++++++++++++++++++++++++++++
dev-redirects.sgl | 6 ++++++
manifest.scm | 7 +++++++
package.sgl | 3 ++-
sigil.lock | 9 +++++++++
7 files changed, 92 insertions(+), 1 deletion(-).gitignoreadded
build/.sigil/LICENSEadded
BSD 3-Clause LicenseCopyright (c) 2025 David WilsonRedistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met:1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLEFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ORSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVERCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.README.mdadded
# sigil-versionSemantic versioning for [Sigil](https://codeberg.org/sigil/sigil) — parse, compare, and constraint-match version strings per [semver 2.0.0](https://semver.org/).## Usage```scheme(import (sigil version))(define v (parse-version "1.2.3-alpha.1"))(version-major v) ; => 1(version<? v (parse-version "1.2.4")) ; => #t;; Constraint matching(version-satisfies? v ">= 1.0.0") ; => #t(version-satisfies? v "^1.2.0") ; => #t (caret: same major, >= given)(version-satisfies? v "~1.2.0") ; => #t (tilde: same major.minor, >= given)```Supports the standard constraint operators (`=`, `>`, `>=`, `<`, `<=`, `^`, `~`, `*`) plus the full semver field set (major / minor / patch / prerelease / build). See [`src/sigil/version.sgl`](src/sigil/version.sgl) for the full export list and inline reference.## Building```shsigil deps installsigil buildsigil test```For local development against an in-tree `sigil-lang` checkout:```shsigil build --redirects ./dev-redirects.sgl```## LicenseBSD-3-Clause. See [LICENSE](LICENSE) (license header lives in `package.sgl`).dev-redirects.sgladded
;; Development redirects — point dependencies at local Sigil checkouts(redirects repos: (list (for-repo url: "codeberg:sigil/sigil-lang" use: (from-path dir: "../sigil-lang"))))manifest.scmadded
;; sigil-version Development Environment;; Use with: guix shell -m manifest.scm(specifications->manifest '("gcc-toolchain" "make" "pkg-config"))package.sglmodified
(package name: "sigil-version" version: "0.13.1" sigil: "^0.13" description: "Semantic versioning parsing and comparison" url: "https://codeberg.org/sigil/sigil" url: "https://codeberg.org/sigil/sigil-version" license: "BSD-3-Clause" authors: (list "David Wilson <[email protected]>")sigil.lockadded
;; Auto-generated by sigil deps install. Do not edit.(lock (package name: "sigil-stdlib" url: "codeberg:sigil/sigil-lang" ref: "^0.13.1" sha: "a436005a34754522d3c38b608aa892b4f8e13dd3" package-selector: "sigil-stdlib" version: "0.13.1"))