mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Used these instructions as guide to create debian metadata:
https://wiki.debian.org/Packaging/Intro#The_packaging_work_flow
https://wiki.debian.org/Python/LibraryStyleGuide
Debian build instructions for upstream release 0.11.2.dev3:
-----------------------------------------------------------
# Assuming sbuild is installed and chroot is created
# https://wiki.debian.org/sbuild
# Download upstream tarball + signature and rename to expected pattern
wget https://github.com/theupdateframework/tuf/releases/download/v0.11.2.dev3/tuf-0.11.2.dev3.tar.gz \
-O python-tuf_0.11.2.dev3.orig.tar.gz
wget https://github.com/theupdateframework/tuf/releases/download/v0.11.2.dev3/tuf-0.11.2.dev3.tar.gz.asc \
-O python-tuf_0.11.2.dev3.orig.tar.gz.asc
# Extract upstream tarball
tar xf python-tuf_0.11.2.dev3.orig.tar.gz
# Clone upstream repo for debian files and tests
git clone https://github.com/theupdateframework/tuf.git \
tuf-upstream
# Copy debian files (from debian branch)
git -C tuf-upstream checkout debian --
cp -r tuf-upstream/debian tuf-0.11.2.dev3/
# Change to unpacked tarball
cd tuf-0.11.2.dev3
# Build (w/o tests)
# NOTE: (1) Securessystemslib is not yet in debian, you need to first build it
# locally (see instructions at
#
|
||
|---|---|---|
| .. | ||
| signing-key.asc | ||