Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions jj-stack/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgbase = jj-stack
pkgdesc = Manage stacked GitHub pull requests with Jujutsu
pkgver = 0.1.8
pkgrel = 1
url = https://github.com/bos/jj-stack
arch = any
license = Apache-2.0
makedepends = python-build
makedepends = python-installer
makedepends = python-hatchling
depends = jujutsu>=0.45.1
depends = python>=3.14
depends = python-httpx2
depends = python-markdown-it-py
depends = python-pydantic
depends = python-rich
optdepends = github-cli: authenticate with GitHub CLI
source = https://github.com/bos/jj-stack/releases/download/v0.1.8/jj_stack-0.1.8.tar.gz
sha256sums = 291ab154d75ee76d7f1a0680c6bbd26f6b6b5875b38909bfe7588b4a0451843e

pkgname = jj-stack
7 changes: 7 additions & 0 deletions jj-stack/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/pkg/
/src/
/*.pkg.tar.*
/*.src.tar.*
/*.tar.*
/*.tgz
/*.zip
26 changes: 26 additions & 0 deletions jj-stack/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Maintainer: Travis Lyons <pkgbuild at trly dot dev>
pkgname=jj-stack
pkgver=0.1.8 # renovate: datasource=github-tags depName=bos/jj-stack
pkgrel=1
pkgdesc="Manage stacked GitHub pull requests with Jujutsu"
arch=('any')
url="https://github.com/bos/jj-stack"
license=('Apache-2.0')
depends=('jujutsu>=0.45.1' 'python>=3.14' 'python-httpx2' 'python-markdown-it-py' 'python-pydantic' 'python-rich')
makedepends=('python-build' 'python-installer' 'python-hatchling')
checkdepends=()
optdepends=('github-cli: authenticate with GitHub CLI')
source=("https://github.com/bos/jj-stack/releases/download/v${pkgver}/jj_stack-${pkgver}.tar.gz")
sha256sums=('291ab154d75ee76d7f1a0680c6bbd26f6b6b5875b38909bfe7588b4a0451843e')

build() {
cd "${srcdir}/jj_stack-${pkgver}"
python -m build --wheel --no-isolation
}

package() {
cd "${srcdir}/jj_stack-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 NOTICE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
7 changes: 7 additions & 0 deletions jj-stack/REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version = 1

[[annotations]]
path = [".gitignore", ".SRCINFO", "PKGBUILD", "REUSE.toml"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Arch Linux Contributors"
SPDX-License-Identifier = "0BSD"
Loading