diff --git a/LICENSE b/LICENSE index eecea27..f7a5e7f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 -Copyright (C) 2021 Himadri Sekhar Basu . +Copyright (C) 2023 Himadri Sekhar Basu . Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..675cdbd --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: linuxisocreator +Section: admin +Priority: optional +Maintainer: Himadri Sekhar Basu +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9522e35 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: linuxisocreator +Upstream-Contact: Himadri Sekhar Basu +Source: https://www.github.com/hsbasu/linuxisocreator + +Files: * +Copyright: 2023 Himadri Sekhar Basu +License: GPL-3.0+ + +Files: debian/* +Copyright: 2023 Himadri Sekhar Basu +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 . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..09beaf7 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +usr \ No newline at end of file diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..486bf1c --- /dev/null +++ b/debian/postinst @@ -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 diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..0dff5e8 --- /dev/null +++ b/debian/postrm @@ -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 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..0dff5e8 --- /dev/null +++ b/debian/prerm @@ -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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..70dd92e --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..a6fb8bd --- /dev/null +++ b/debian/salsa-ci.yml @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..cb61fa5 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/"