Make Debian package

This commit is contained in:
Yohann D'ANELLO 2020-11-19 03:29:00 +01:00
parent 926fba1e82
commit b869331abb
7 changed files with 73 additions and 0 deletions

View File

@ -31,3 +31,16 @@ linters:
- pip install tox - pip install tox
script: tox -e linters script: tox -e linters
allow_failure: true allow_failure: true
build-deb:
image: debian:buster-slim
stage: build
before_script:
- apt-get update && apt-get -y --no-install-recommends install build-essential debmake dh-python debhelper python3-all python3-setuptools
script:
- dpkg-buildpackage
- mkdir build && cp ../*.deb build/
artifacts:
paths:
- build/*.deb
expire_in: 1 week

5
debian/README.debian vendored Normal file
View File

@ -0,0 +1,5 @@
Squirrel Battle
Watch out for squirrel's knifes!
-- Yohann D'ANELLO <ynerant@crans.org> Thu, 19 Nov 2020 03:30:42 +0100

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
squirrel-battle (3.14) beta; urgency=low
* Initial release.
-- Yohann D'ANELLO <ynerant@crans.org> Thu, 19 Nov 2020 03:30:42 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

15
debian/control vendored Normal file
View File

@ -0,0 +1,15 @@
Source: squirrel-battle
Section: devel
Priority: optional
Maintainer: ynerant <ynrant@crans.org>
Build-Depends: debhelper (>=10~), dh-python, python3-all, python3-setuptools
Standards-Version: 4.1.4
Homepage: https://gitlab.crans.org/ynerant/dungeon-battle
X-Python3-Version: >= 3.6
Package: squirrel-battle
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${python3:Depends}
Description: Squirrel Battle
Watch out for squirrel's knifes!

29
debian/copyright vendored Normal file
View File

@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: shirenn
Upstream-Contact: shirenn <shirenn@crans.org>
Source: https://gitlab.crans.org/pa/attestation
Files: *
Copyright: 2020 Shirenn <shirenn@crans.org>
License: GPL-3+
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 program 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 package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.

5
debian/rules vendored Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/make -f
export DH_VERBOSE = 1
%:
dh $@ --with python3 --buildsystem=pybuild