~martijnbraam/almobootstrap

2e3944548317ce0933d46da8f7bf76e06c4b90a4 — Martijn Braam 1 year, 4 months ago ec37098
Move pmb to amb
123 files changed, 10 insertions(+), 34 deletions(-)

M MANIFEST.in
M README.md
R pmb/__init__.py => amb/__init__.py
R pmb/aportgen/__init__.py => amb/aportgen/__init__.py
R pmb/aportgen/binutils.py => amb/aportgen/binutils.py
R pmb/aportgen/busybox_static.py => amb/aportgen/busybox_static.py
R pmb/aportgen/core.py => amb/aportgen/core.py
R pmb/aportgen/device.py => amb/aportgen/device.py
R pmb/aportgen/gcc.py => amb/aportgen/gcc.py
R pmb/aportgen/grub_efi.py => amb/aportgen/grub_efi.py
R pmb/aportgen/linux.py => amb/aportgen/linux.py
R pmb/aportgen/musl.py => amb/aportgen/musl.py
R pmb/build/__init__.py => amb/build/__init__.py
R pmb/build/_package.py => amb/build/_package.py
R pmb/build/autodetect.py => amb/build/autodetect.py
R pmb/build/checksum.py => amb/build/checksum.py
R pmb/build/envkernel.py => amb/build/envkernel.py
R pmb/build/init.py => amb/build/init.py
R pmb/build/kconfig.py => amb/build/kconfig.py
R pmb/build/newapkbuild.py => amb/build/newapkbuild.py
R pmb/build/other.py => amb/build/other.py
R pmb/chroot/__init__.py => amb/chroot/__init__.py
R pmb/chroot/apk.py => amb/chroot/apk.py
R pmb/chroot/apk_static.py => amb/chroot/apk_static.py
R pmb/chroot/binfmt.py => amb/chroot/binfmt.py
R pmb/chroot/distccd.py => amb/chroot/distccd.py
R pmb/chroot/init.py => amb/chroot/init.py
R pmb/chroot/initfs.py => amb/chroot/initfs.py
R pmb/chroot/initfs_hooks.py => amb/chroot/initfs_hooks.py
R pmb/chroot/mount.py => amb/chroot/mount.py
R pmb/chroot/other.py => amb/chroot/other.py
R pmb/chroot/root.py => amb/chroot/root.py
R pmb/chroot/shutdown.py => amb/chroot/shutdown.py
R pmb/chroot/user.py => amb/chroot/user.py
R pmb/chroot/zap.py => amb/chroot/zap.py
R pmb/ci/__init__.py => amb/ci/__init__.py
R pmb/config/__init__.py => amb/config/__init__.py
R pmb/config/init.py => amb/config/init.py
R pmb/config/load.py => amb/config/load.py
R pmb/config/merge_with_args.py => amb/config/merge_with_args.py
R pmb/config/pmaports.py => amb/config/pmaports.py
R pmb/config/save.py => amb/config/save.py
R pmb/config/sudo.py => amb/config/sudo.py
R pmb/config/workdir.py => amb/config/workdir.py
R pmb/data/keys/README => amb/data/keys/README
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub
R pmb/data/keys/build.postmarketos.org.rsa.pub => amb/data/keys/build.postmarketos.org.rsa.pub
R pmb/data/qemu-user-binfmt.txt => amb/data/qemu-user-binfmt.txt
R pmb/export/__init__.py => amb/export/__init__.py
R pmb/export/frontend.py => amb/export/frontend.py
R pmb/export/odin.py => amb/export/odin.py
R pmb/export/symlinks.py => amb/export/symlinks.py
R pmb/flasher/__init__.py => amb/flasher/__init__.py
R pmb/flasher/frontend.py => amb/flasher/frontend.py
R pmb/flasher/init.py => amb/flasher/init.py
R pmb/flasher/run.py => amb/flasher/run.py
R pmb/flasher/variables.py => amb/flasher/variables.py
R pmb/helpers/__init__.py => amb/helpers/__init__.py
R pmb/helpers/apk.py => amb/helpers/apk.py
R pmb/helpers/aportupgrade.py => amb/helpers/aportupgrade.py
R pmb/helpers/args.py => amb/helpers/args.py
R pmb/helpers/cli.py => amb/helpers/cli.py
R pmb/helpers/devices.py => amb/helpers/devices.py
R pmb/helpers/file.py => amb/helpers/file.py
R pmb/helpers/frontend.py => amb/helpers/frontend.py
R pmb/helpers/git.py => amb/helpers/git.py
R pmb/helpers/http.py => amb/helpers/http.py
R pmb/helpers/lint.py => amb/helpers/lint.py
R pmb/helpers/logging.py => amb/helpers/logging.py
R pmb/helpers/mount.py => amb/helpers/mount.py
R pmb/helpers/other.py => amb/helpers/other.py
R pmb/helpers/package.py => amb/helpers/package.py
R pmb/helpers/pkgrel_bump.py => amb/helpers/pkgrel_bump.py
R pmb/helpers/pmaports.py => amb/helpers/pmaports.py
R pmb/helpers/repo.py => amb/helpers/repo.py
R pmb/helpers/repo_missing.py => amb/helpers/repo_missing.py
R pmb/helpers/run.py => amb/helpers/run.py
R pmb/helpers/run_core.py => amb/helpers/run_core.py
R pmb/helpers/status.py => amb/helpers/status.py
R pmb/helpers/ui.py => amb/helpers/ui.py
R pmb/install/__init__.py => amb/install/__init__.py
R pmb/install/_install.py => amb/install/_install.py
R pmb/install/blockdevice.py => amb/install/blockdevice.py
R pmb/install/format.py => amb/install/format.py
R pmb/install/losetup.py => amb/install/losetup.py
R pmb/install/partition.py => amb/install/partition.py
R pmb/install/recovery.py => amb/install/recovery.py
R pmb/install/ui.py => amb/install/ui.py
R pmb/netboot/__init__.py => amb/netboot/__init__.py
R pmb/parse/__init__.py => amb/parse/__init__.py
R pmb/parse/_apkbuild.py => amb/parse/_apkbuild.py
R pmb/parse/apkindex.py => amb/parse/apkindex.py
R pmb/parse/arch.py => amb/parse/arch.py
R pmb/parse/arguments.py => amb/parse/arguments.py
R pmb/parse/binfmt_info.py => amb/parse/binfmt_info.py
R pmb/parse/bootimg.py => amb/parse/bootimg.py
R pmb/parse/cpuinfo.py => amb/parse/cpuinfo.py
R pmb/parse/depends.py => amb/parse/depends.py
R pmb/parse/deviceinfo.py => amb/parse/deviceinfo.py
R pmb/parse/kconfig.py => amb/parse/kconfig.py
R pmb/parse/version.py => amb/parse/version.py
R pmb/qemu/__init__.py => amb/qemu/__init__.py
R pmb/qemu/run.py => amb/qemu/run.py
R pmb/sideload/__init__.py => amb/sideload/__init__.py
D pmbootstrap.py
M pyproject.toml
M setup.py
M MANIFEST.in => MANIFEST.in +1 -1
@@ 1,2 1,2 @@
include LICENSE
recursive-include pmb/data *
recursive-include amb/data *

M README.md => README.md +1 -1
@@ 1,4 1,4 @@
# pmbootstrap
# almobootstrap

Sophisticated chroot/build/flash tool to develop and install
[postmarketOS](https://postmarketos.org).

R pmb/__init__.py => amb/__init__.py +0 -0
R pmb/aportgen/__init__.py => amb/aportgen/__init__.py +0 -0
R pmb/aportgen/binutils.py => amb/aportgen/binutils.py +0 -0
R pmb/aportgen/busybox_static.py => amb/aportgen/busybox_static.py +0 -0
R pmb/aportgen/core.py => amb/aportgen/core.py +0 -0
R pmb/aportgen/device.py => amb/aportgen/device.py +0 -0
R pmb/aportgen/gcc.py => amb/aportgen/gcc.py +0 -0
R pmb/aportgen/grub_efi.py => amb/aportgen/grub_efi.py +0 -0
R pmb/aportgen/linux.py => amb/aportgen/linux.py +0 -0
R pmb/aportgen/musl.py => amb/aportgen/musl.py +0 -0
R pmb/build/__init__.py => amb/build/__init__.py +0 -0
R pmb/build/_package.py => amb/build/_package.py +0 -0
R pmb/build/autodetect.py => amb/build/autodetect.py +0 -0
R pmb/build/checksum.py => amb/build/checksum.py +0 -0
R pmb/build/envkernel.py => amb/build/envkernel.py +0 -0
R pmb/build/init.py => amb/build/init.py +0 -0
R pmb/build/kconfig.py => amb/build/kconfig.py +0 -0
R pmb/build/newapkbuild.py => amb/build/newapkbuild.py +0 -0
R pmb/build/other.py => amb/build/other.py +0 -0
R pmb/chroot/__init__.py => amb/chroot/__init__.py +0 -0
R pmb/chroot/apk.py => amb/chroot/apk.py +0 -0
R pmb/chroot/apk_static.py => amb/chroot/apk_static.py +0 -0
R pmb/chroot/binfmt.py => amb/chroot/binfmt.py +0 -0
R pmb/chroot/distccd.py => amb/chroot/distccd.py +0 -0
R pmb/chroot/init.py => amb/chroot/init.py +0 -0
R pmb/chroot/initfs.py => amb/chroot/initfs.py +0 -0
R pmb/chroot/initfs_hooks.py => amb/chroot/initfs_hooks.py +0 -0
R pmb/chroot/mount.py => amb/chroot/mount.py +0 -0
R pmb/chroot/other.py => amb/chroot/other.py +0 -0
R pmb/chroot/root.py => amb/chroot/root.py +0 -0
R pmb/chroot/shutdown.py => amb/chroot/shutdown.py +0 -0
R pmb/chroot/user.py => amb/chroot/user.py +0 -0
R pmb/chroot/zap.py => amb/chroot/zap.py +0 -0
R pmb/ci/__init__.py => amb/ci/__init__.py +0 -0
R pmb/config/__init__.py => amb/config/__init__.py +0 -0
R pmb/config/init.py => amb/config/init.py +0 -0
R pmb/config/load.py => amb/config/load.py +0 -0
R pmb/config/merge_with_args.py => amb/config/merge_with_args.py +0 -0
R pmb/config/pmaports.py => amb/config/pmaports.py +0 -0
R pmb/config/save.py => amb/config/save.py +0 -0
R pmb/config/sudo.py => amb/config/sudo.py +0 -0
R pmb/config/workdir.py => amb/config/workdir.py +0 -0
R pmb/data/keys/README => amb/data/keys/README +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub +0 -0
R pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub => amb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub +0 -0
R pmb/data/keys/build.postmarketos.org.rsa.pub => amb/data/keys/build.postmarketos.org.rsa.pub +0 -0
R pmb/data/qemu-user-binfmt.txt => amb/data/qemu-user-binfmt.txt +0 -0
R pmb/export/__init__.py => amb/export/__init__.py +0 -0
R pmb/export/frontend.py => amb/export/frontend.py +0 -0
R pmb/export/odin.py => amb/export/odin.py +0 -0
R pmb/export/symlinks.py => amb/export/symlinks.py +0 -0
R pmb/flasher/__init__.py => amb/flasher/__init__.py +0 -0
R pmb/flasher/frontend.py => amb/flasher/frontend.py +0 -0
R pmb/flasher/init.py => amb/flasher/init.py +0 -0
R pmb/flasher/run.py => amb/flasher/run.py +0 -0
R pmb/flasher/variables.py => amb/flasher/variables.py +0 -0
R pmb/helpers/__init__.py => amb/helpers/__init__.py +0 -0
R pmb/helpers/apk.py => amb/helpers/apk.py +0 -0
R pmb/helpers/aportupgrade.py => amb/helpers/aportupgrade.py +0 -0
R pmb/helpers/args.py => amb/helpers/args.py +0 -0
R pmb/helpers/cli.py => amb/helpers/cli.py +0 -0
R pmb/helpers/devices.py => amb/helpers/devices.py +0 -0
R pmb/helpers/file.py => amb/helpers/file.py +0 -0
R pmb/helpers/frontend.py => amb/helpers/frontend.py +0 -0
R pmb/helpers/git.py => amb/helpers/git.py +0 -0
R pmb/helpers/http.py => amb/helpers/http.py +0 -0
R pmb/helpers/lint.py => amb/helpers/lint.py +0 -0
R pmb/helpers/logging.py => amb/helpers/logging.py +0 -0
R pmb/helpers/mount.py => amb/helpers/mount.py +0 -0
R pmb/helpers/other.py => amb/helpers/other.py +0 -0
R pmb/helpers/package.py => amb/helpers/package.py +0 -0
R pmb/helpers/pkgrel_bump.py => amb/helpers/pkgrel_bump.py +0 -0
R pmb/helpers/pmaports.py => amb/helpers/pmaports.py +0 -0
R pmb/helpers/repo.py => amb/helpers/repo.py +0 -0
R pmb/helpers/repo_missing.py => amb/helpers/repo_missing.py +0 -0
R pmb/helpers/run.py => amb/helpers/run.py +0 -0
R pmb/helpers/run_core.py => amb/helpers/run_core.py +0 -0
R pmb/helpers/status.py => amb/helpers/status.py +0 -0
R pmb/helpers/ui.py => amb/helpers/ui.py +0 -0
R pmb/install/__init__.py => amb/install/__init__.py +0 -0
R pmb/install/_install.py => amb/install/_install.py +0 -0
R pmb/install/blockdevice.py => amb/install/blockdevice.py +0 -0
R pmb/install/format.py => amb/install/format.py +0 -0
R pmb/install/losetup.py => amb/install/losetup.py +0 -0
R pmb/install/partition.py => amb/install/partition.py +0 -0
R pmb/install/recovery.py => amb/install/recovery.py +0 -0
R pmb/install/ui.py => amb/install/ui.py +0 -0
R pmb/netboot/__init__.py => amb/netboot/__init__.py +0 -0
R pmb/parse/__init__.py => amb/parse/__init__.py +0 -0
R pmb/parse/_apkbuild.py => amb/parse/_apkbuild.py +0 -0
R pmb/parse/apkindex.py => amb/parse/apkindex.py +0 -0
R pmb/parse/arch.py => amb/parse/arch.py +0 -0
R pmb/parse/arguments.py => amb/parse/arguments.py +0 -0
R pmb/parse/binfmt_info.py => amb/parse/binfmt_info.py +0 -0
R pmb/parse/bootimg.py => amb/parse/bootimg.py +0 -0
R pmb/parse/cpuinfo.py => amb/parse/cpuinfo.py +0 -0
R pmb/parse/depends.py => amb/parse/depends.py +0 -0
R pmb/parse/deviceinfo.py => amb/parse/deviceinfo.py +0 -0
R pmb/parse/kconfig.py => amb/parse/kconfig.py +0 -0
R pmb/parse/version.py => amb/parse/version.py +0 -0
R pmb/qemu/__init__.py => amb/qemu/__init__.py +0 -0
R pmb/qemu/run.py => amb/qemu/run.py +0 -0
R pmb/sideload/__init__.py => amb/sideload/__init__.py +0 -0
D pmbootstrap.py => pmbootstrap.py +0 -12
@@ 1,12 0,0 @@
#!/usr/bin/env python3
# -*- encoding: UTF-8 -*-
# Copyright 2023 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# PYTHON_ARGCOMPLETE_OK
import sys
import pmb

# A convenience wrapper for running pmbootstrap from the git repository. This
# script is not part of the python packaging, so don't add more logic here!
if __name__ == "__main__":
    sys.exit(pmb.main())

M pyproject.toml => pyproject.toml +1 -1
@@ 2,4 2,4 @@
# E402: module import not on top of file, not possible for testcases
# E722: do not use bare except
ignore=["E402", "E722"]
line-length=100
line-length=120

M setup.py => setup.py +7 -19
@@ 28,7 28,7 @@ class PyTest(TestCommand):
here = path.abspath(path.dirname(__file__))
_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open(path.join(here, 'pmb/__init__.py'), 'rb') as f:
with open(path.join(here, 'amb/__init__.py'), 'rb') as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode('utf-8')).group(1)))



@@ 37,29 37,17 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:


setup(
    name='pmbootstrap',
    name='almobootstrap',
    version=version,
    description='A sophisticated chroot / build / flash tool to '
                'develop and install postmarketOS',
                'develop and install Alpine Mobile',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='postmarketOS Developers',
    author_email='info@postmarketos.org',
    url='https://www.postmarketos.org',
    author='Martijn Braam',
    author_email='info@almolinux.org',
    url='https://almolinux.org',
    license='GPLv3',
    python_requires='>=3.7',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: 3.11',
    ],
    keywords='postmarketos pmbootstrap',
    packages=find_packages(exclude=['aports', 'keys', 'test']),
    tests_require=['pytest'],
    cmdclass={'test': PyTest},


@@ 68,7 56,7 @@ setup(
    },
    entry_points={
        'console_scripts': [
            'pmbootstrap=pmb:main',
            'almobootstrap=amb:main',
        ],
    },
    include_package_data=True,