- Fixed all linting issues (unused imports, whitespace, f-string issues) - Implemented robust sbuild integration with proper environment handling - Added fallback directory creation for output and metadata paths - Fixed test dependencies in debian/control (python3-pytest, python3-yaml) - Corrected package naming and entry points in setup.py and debian/rules - Successfully built and tested both simple (hello) and complex (wget) packages - Verified mock CLI works correctly with pipx installation - Added comprehensive test suite with 30 passing tests - Implemented proper chroot management and sbuild integration Key achievements: - Mock can build itself (self-hosting capability) - Successfully built hello package (3.1KB .deb) - Successfully built wget package (936KB .deb) with complex dependencies - All packages install and function correctly - Ready for real-world Debian package building This completes the adaptation of Fedora's Mock to Debian with full functionality.
31 lines
No EOL
1.4 KiB
Text
31 lines
No EOL
1.4 KiB
Text
Source: mock
|
|
Section: devel
|
|
Priority: optional
|
|
Maintainer: Deb-Mock Team <deb-mock@raines.xyz>
|
|
Build-Depends: debhelper (>= 13), dh-python, python3-all, python3-setuptools, python3-pytest, python3-yaml
|
|
Standards-Version: 4.6.2
|
|
Homepage: https://git.raines.xyz/robojerk/deb-mock
|
|
Vcs-Git: https://git.raines.xyz/robojerk/deb-mock.git
|
|
Vcs-Browser: https://git.raines.xyz/robojerk/deb-mock
|
|
|
|
Package: mock
|
|
Architecture: all
|
|
Depends: ${python3:Depends}, ${misc:Depends}, python3-click (>= 8.0.0), python3-yaml (>= 6.0), python3-jinja2 (>= 3.0.0), python3-requests (>= 2.25.0), sbuild, schroot, debootstrap
|
|
Recommends: ccache, python3-pytest, python3-pytest-cov
|
|
Description: Debian package build environment manager
|
|
Deb-Mock is a low-level utility to create clean, isolated build environments
|
|
for single Debian packages. This tool is a direct functional replacement for
|
|
Fedora's Mock, adapted specifically for Debian-based ecosystems.
|
|
.
|
|
Features include:
|
|
* Isolated chroot environments for package building
|
|
* Multi-package chain building support
|
|
* Build metadata capture and storage
|
|
* Reproducible build enforcement
|
|
* Core configurations for popular distributions
|
|
* Plugin system for extensibility
|
|
* Package management within chroots
|
|
* Advanced build options and debugging tools
|
|
.
|
|
This tool is designed for developers, packagers, and CI/CD systems that need
|
|
reliable, isolated environments for building Debian packages. |