diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ca51af..eef21e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,3 +31,16 @@ linters: - pip install tox script: tox -e linters 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 diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..8404efb --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,5 @@ +Squirrel Battle + +Watch out for squirrel's knifes! + + -- Yohann D'ANELLO Thu, 19 Nov 2020 03:30:42 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fbc646d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +squirrel-battle (3.14) beta; urgency=low + + * Initial release. + + -- Yohann D'ANELLO Thu, 19 Nov 2020 03:30:42 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..82f9581 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: squirrel-battle +Section: devel +Priority: optional +Maintainer: ynerant +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! \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..275cafc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ + +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: shirenn +Upstream-Contact: shirenn +Source: https://gitlab.crans.org/pa/attestation + +Files: * +Copyright: 2020 Shirenn +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'. diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..e29871f --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f +export DH_VERBOSE = 1 + +%: + dh $@ --with python3 --buildsystem=pybuild