Skip to content

Commit

Permalink
Initialize debian packaging (mamolinux#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbasu authored Sep 9, 2023
1 parent ecd564d commit 2701f2f
Show file tree
Hide file tree
Showing 11 changed files with 142 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2021 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>.
Copyright (C) 2023 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>.

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
Expand Down
25 changes: 25 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Source: linuxisocreator
Section: admin
Priority: optional
Maintainer: Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-setuptools,
python3-sphinx,
python3-all
Standards-Version: 4.6.0
Homepage: https://hsbasu.github.io/linuxisocreator
#Vcs-Browser: https://salsa.debian.org/debian/linuxisocreator
#Vcs-Git: https://salsa.debian.org/debian/linuxisocreator.git
#Testsuite: autopkgtest-pkg-python
Rules-Requires-Root: no

Package: linuxisocreator
Architecture: all
Depends: ${python3:Depends},
${misc:Depends}
Suggests: linuxisocreator-doc
Description: Linux ISO Creator
Creates custom Ubuntu/Debian Linux ISO from scratch.
.
This package installs the gui library for Python 3.
29 changes: 29 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: linuxisocreator
Upstream-Contact: Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
Source: https://www.github.com/hsbasu/linuxisocreator

Files: *
Copyright: 2023 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
License: GPL-3.0+

Files: debian/*
Copyright: 2023 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
License: GPL-3.0+

License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr
14 changes: 14 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
# postinst script for linuxisocreator
#
# see: dh_installdeb(1)

set -e


# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
14 changes: 14 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
# postrm script for linuxisocreator
#
# see: dh_installdeb(1)

set -e


# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
14 changes: 14 additions & 0 deletions debian/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
# postrm script for linuxisocreator
#
# see: dh_installdeb(1)

set -e


# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
31 changes: 31 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
# export DH_VERBOSE = 1

export PYBUILD_NAME=linuxisocreator
export PYBUILD_INSTALL_ARGS_python3=--install-scripts=usr/bin

%:
dh $@ --with=python3 --buildsystem=pybuild


# If you need to rebuild the Sphinx documentation
# Add sphinxdoc to the dh --with line
#
# And uncomment the following lines
#override_dh_auto_build: export http_proxy=127.0.0.1:9
#override_dh_auto_build: export https_proxy=127.0.0.1:9
# override_dh_auto_build:
# dh_auto_build
# PYTHONPATH=. python3 -m sphinx -N -bhtml \
# docs/ usr/share/html # HTML generator
# PYTHONPATH=. python3 -m sphinx -N -bman \
# docs/ usr/share/man/man1 # Manpage generator

override_dh_install:
dh_install -O--buildsystem=pybuild
rm -rf debian/linuxisocreator/usr/lib/python*/dist-packages/LinuxIsoCreator/__pycache__

override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/$(DEB_SOURCE) -O--buildsystem=pybuild
11 changes: 11 additions & 0 deletions debian/salsa-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# For more information on what jobs are run see:
# https://salsa.debian.org/salsa-ci-team/pipeline
#
# To enable the jobs, go to your repository (at salsa.debian.org)
# and click over Settings > CI/CD > Expand (in General pipelines).
# In "CI/CD configuration file" write debian/salsa-ci.yml and click
# in "Save Changes". The CI tests will run after the next commit.
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
1 change: 1 addition & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

0 comments on commit 2701f2f

Please sign in to comment.