feat(pkgbuilds): add anaconda dependencies packaging

Add PKGBUILD files for four Anaconda installer dependencies:
- pykickstart: Kickstart language parser (>= 3.73)
- python-blivet: Storage management abstraction layer
- python-productmd: OS product metadata parsers
- python-requests-file: file:// URL transport adapter for requests

These packages are required by rhinstaller but absent from Arch repos and AUR.
All use manual module installation to avoid unnecessary build dependencies.

Also fix .gitignore by removing pkgbuilds/ exclusion to allow tracking these new packages.
This commit is contained in:
2026-06-17 11:15:53 +02:00
parent 2420bf2404
commit c6f066b0d9
5 changed files with 123 additions and 2 deletions
+41
View File
@@ -0,0 +1,41 @@
# Maintainer: FWS
# Dépendance de l'installateur Anaconda (rhinstaller) — couche d'abstraction
# de gestion du stockage (partitions, LVM, LUKS, RAID).
#
# VENDORISÉ depuis l'AUR (python-blivet) avec UNE seule modification FWS :
# retrait de 'libselinux' des depends. Arch n'est pas SELinux et blivet importe
# selinux en try/except (blivet/util.py + flags.py → HAVE_SELINUX/self.selinux
# = False si absent), donc il fonctionne sans. Ça évite de tirer toute la pile
# SELinux (libselinux/libsepol) de l'AUR juste pour une fonctionnalité inutile
# sur FWS. Tout le reste est identique à l'amont.
_py='python'
_pkg="blivet"
pkgname="python-${_pkg}"
pkgver=3.13.2
_tag="${_pkg}-${pkgver}"
pkgrel=1
pkgdesc="A DBus service and python module for management of the system storage configuration (dépendance Anaconda)"
arch=('any')
license=('LGPL-2.1-only')
depends=(
'libblockdev'
'lsof'
'multipath-tools'
'parted'
"${_py}"
"${_py}-six"
"${_py}-pyparted"
"${_py}-pyudev"
"${_py}-gobject"
'systemd-libs'
'util-linux'
)
makedepends=("${_py}-setuptools")
url='https://github.com/storaged-project/blivet'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/storaged-project/${_pkg}/archive/${_pkg}-${pkgver}.tar.gz")
sha512sums=('6142ee7e25416c13d751bffab22ba287895e256611254fb87652f1005d6303df50cb116683552bbbad28b818a515e6a20f7073d313e024996a99b449c29132bf')
package() {
cd "${srcdir}/${_pkg}-${_tag}"
"${_py}" setup.py install --root="${pkgdir}" --optimize=1
}