Skip to content

Commit 4fe64f1

Browse files
Muhammad Yuga NugrahaMuhammad Yuga Nugraha
authored andcommitted
chore: add initial Debian packaging files for firecracker-python
1 parent e49861c commit 4fe64f1

4 files changed

Lines changed: 71 additions & 0 deletions

File tree

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
11

debian/control

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Source: firecracker-python
2+
Section: python
3+
Priority: optional
4+
Maintainer: Muhammad Yuga Nugraha <myugan59@gmail.com>
5+
Standards-Version: 4.6.2
6+
Build-Depends: debhelper (>= 11), dh-python, python3-all, python3-setuptools, curl, jq
7+
8+
Package: python3-firecracker
9+
Architecture: all
10+
Depends: ${python3:Depends}, ${misc:Depends},
11+
python3-requests (>= 2.25.1),
12+
python3-requests-unixsocket,
13+
python3-tenacity,
14+
python3-psutil,
15+
python3-nftables,
16+
python3-pyroute2,
17+
python3-paramiko,
18+
iproute2
19+
Description: Python client library for Firecracker microVMs
20+
This package provides a Python client library for interacting with
21+
Firecracker microVMs. It includes functionality for:
22+
.
23+
* Creating and managing microVMs
24+
* Configuring network interfaces
25+
* Managing VM resources
26+
* Handling VM lifecycle operations

debian/copyright

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: firecracker-python
3+
Upstream-Contact: Muhammad Yuga Nugraha <myugan59@gmail.com>
4+
Source: https://github.com/myugan/firecracker-python
5+
6+
Files: *
7+
Copyright: 2025 Muhammad Yuga Nugraha <myugan59@gmail.com>
8+
License: MIT
9+
10+
License: MIT
11+
Permission is hereby granted, free of charge, to any person obtaining a copy
12+
of this software and associated documentation files (the "Software"), to deal
13+
in the Software without restriction, including without limitation the rights
14+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15+
copies of the Software, and to permit persons to whom the Software is
16+
furnished to do so, subject to the following conditions:
17+
.
18+
The above copyright notice and this permission notice shall be included in all
19+
copies or substantial portions of the Software.
20+
.
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27+
SOFTWARE.

debian/rules

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/make -f
2+
3+
export DH_VERBOSE = 1
4+
export PYBUILD_NAME = firecracker-python
5+
6+
%:
7+
dh $@ --with python3 --buildsystem=pybuild
8+
9+
override_dh_auto_install:
10+
dh_auto_install
11+
dh_python3 -p python3-firecracker
12+
13+
override_dh_install:
14+
dh_install
15+
16+
override_dh_auto_build:
17+
dh_auto_build

0 commit comments

Comments
 (0)