All checks were successful
Build and publish python-pywal / python-pywal (push) Successful in 1m21s
python-pywal was dropped from Arch's [extra] repo (AUR-only now), so `pacstrap` can no longer resolve it and every ISO build fails with "target not found: python-pywal". The `wal` binary is load-bearing — bread-theme shells out to it to extract the colour palette from the user's wallpaper. Republish it the same way as calamares / bibata / powerlevel10k / yay-bin: - `packaging/python-pywal/PKGBUILD` — in-house copy of the AUR PKGBUILD (Morten Linderud's), modernised to `python -m build` / `installer` instead of the removed `setup.py install`, sha256-only sources like the sibling PKGBUILDs. Test-built locally: 28 unit tests pass, package ships `/usr/bin/wal`. - `.forgejo/workflows/python-pywal.yml` — builds + PUTs to the Forgejo Arch registry on a push to `packaging/python-pywal/**`. - `signed-repo.yml` gains it as a `workflow_run` trigger; `ci-publish-signed-repo.sh` gains it in `PACKAGES` so the signed dl.breadway.dev/arch db picks it up. - packages.x86_64 keeps the `python-pywal` line (now sourced from [breadway]) with a note. Ordering: `python-pywal.yml` must publish to the registry once before `signed-repo.yml` runs, or the collect step errors "registry db missing packages: python-pywal".
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# BOS in-house rebuild of python-pywal.
|
|
#
|
|
# python-pywal was dropped from Arch's [extra] repo (it is now AUR-only), but
|
|
# BOS needs the `wal` binary: bread-theme shells out to it to extract a colour
|
|
# palette from the user's wallpaper. Republished to [breadway] so the ISO can
|
|
# pull it via pacman, same pattern as calamares / bibata / powerlevel10k /
|
|
# yay-bin. Source of truth: https://aur.archlinux.org/packages/python-pywal
|
|
#
|
|
# Maintainer: Breadway <plasticbread849@gmail.com>
|
|
# Upstream maintainer: Morten Linderud <foxboron@archlinux.org>
|
|
# Contributor: Sean Haugh <seanphaugh@gmail.com>
|
|
|
|
pkgname=python-pywal
|
|
pkgver=3.3.0
|
|
pkgrel=11
|
|
pkgdesc="Generate and change colorschemes on the fly"
|
|
arch=('any')
|
|
url="https://github.com/dylanaraps/pywal/"
|
|
license=('MIT')
|
|
depends=('python' 'imagemagick')
|
|
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
|
optdepends=('feh: set wallpaper'
|
|
'nitrogen: set wallpaper')
|
|
# BOS PKGBUILDs verify sources by sha256 only (no source PGP), matching
|
|
# calamares / powerlevel10k here.
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/dylanaraps/pywal/archive/${pkgver}.tar.gz")
|
|
sha256sums=('fe8fc1c29d1cad1a1a8580293dcfe32e1fac259f9dbfd5c8877439fa5948d189')
|
|
|
|
build() {
|
|
cd "pywal-${pkgver}"
|
|
# setup.py-only project: python-build injects the setuptools backend.
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
check() {
|
|
cd "pywal-${pkgver}"
|
|
python -m unittest discover -vs tests
|
|
}
|
|
|
|
package() {
|
|
cd "pywal-${pkgver}"
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|