opam-version: "2.0"
name: "zoryn"
version: "0.30.0"
synopsis: "Maintainer assistant for ALT Linux package maintenance"
description: """
Zoryn is a maintainer assistant that simplifies routine ALT Linux package
maintenance tasks.

The name comes from an ancient root meaning light and clear sight. Zoryn helps
you see through the maze of upstream releases, spec files, and build queues —
automating what can be automated, while keeping you in control of the process.

Commands:
- zoryn up: Automatic version update from upstream (git merge or tarball)
- zoryn build: Local/remote hasher builds with multi-arch and batch support
- zoryn builder: Manage build machines (list, status, shell, install)
- zoryn submit: Commit, tag, push and submit for build on gyle
- zoryn spec: Spec file operations (find, version, add changelog)
- zoryn task: Task management (replace, download, delete, batch, rebuild)
- zoryn check: Check for updates (version, upstream analysis)
- zoryn tag: Tag operations (find matching tags)
- zoryn gen: Generate files (spec, watch)
- zoryn clone: Clone package from sisyphus

Libraries:
- gau_common: Shared utilities (shell commands, config parsing, version handling)
- gau_git: Git operations (tags, remotes, version comparison, merging)
- gau_http: HTTP client utilities with caching
- gear_utils: Gear repository utilities (spec files, rules, tags)
- girar: Gitery/Gyle API (tasks, subtasks, builds, repository hierarchy)
- rdb: ALT Linux RDB API client (package info, build reason detection)
- rpm_spec: RPM spec file parsing (version, release, changelog, CVE detection)
- changelog: Upstream changelog parsing with CVE extraction
- version_mapper: Version format conversion between upstream and ALT
- builder: Builder configuration and multi-arch build orchestration
- batch: Batch build configuration (Python versions, etc.)
- alt_branches: ALT Linux branch hierarchy (wrapper over alt_releases_matrix)
- spec_gen: Spec file generation from opam/ebuild/PKGBUILD
- watch_gen: Watch file generation from Debian uscan format
- upstream_detect: Upstream source detection and analysis
- opam_parser: OCaml opam file parsing
- ebuild: Gentoo ebuild parsing
- pkgbuild: Arch Linux PKGBUILD parsing
- tui: Text UI utilities for interactive selection

Features:
- Multi-arch builds with local and remote builders
- Batch builds with specsubst (e.g., Python version matrix)
- Automatic dependency detection for cross-branch builds
- Security fix detection in changelogs (CVE patterns)
- Post-merge hooks support (.gear/merge-up.d/, .gear/up.d/)
- Repository hierarchy awareness (sisyphus -> p11 -> p10 -> ...)
- Spec generation from multiple upstream formats (opam, ebuild, PKGBUILD)
"""
maintainer: "rider@altlinux.org"
authors: ["Anton Farygin"]
license: "GPL-2.0-or-later"
homepage: "https://altlinux.space/rider/zoryn"
bug-reports: "https://altlinux.space/rider/zoryn/issues"
dev-repo: "git+https://altlinux.space/rider/zoryn.git"
depends: [
  "ocaml" {>= "4.08.0"}
  "dune" {>= "3.0"}
  "cmdliner" {>= "2.1.0"}
  "re" {>= "1.10.0"}
  "yojson" {>= "1.7.0"}
  "ocurl" {>= "0.9.0"}
  "toml"
  "opam-file-format" {>= "2.1.0"}
  "parsexp"
  "ppxlib" {>= "0.28.0"}
  "alt_releases_matrix" {>= "0.2.0"}
  "lwt" {>= "5.0.0"}
  "lambda-term" {>= "3.0.0"}
  "linenoise"
  "uucp" {>= "16.0.0"}
  "alcotest" {>= "1.7.0" & with-test}
  "bisect_ppx" {>= "2.5.0" & with-test}
  "crowbar" {>= "0.2.2" & with-test}
]
depexts: [
  ["libcurl-devel"] {os-family = "alt"}
  ["libcurl-devel"] {os-family = "fedora"}
  ["libcurl4-openssl-dev"] {os-family = "debian"}
]
build: [
  ["dune" "build" "-p" name "-j" jobs]
]
