Skip to content

Commit

Permalink
Add debian packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Mar 5, 2019
1 parent 2c39669 commit 88773f6
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
snek (1.0-1) unstable; urgency=medium

* Initial upload

-- Keith Packard <keithp@keithp.com> Wed, 20 Feb 2019 21:04:47 -0800
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: snek
Section: interpreters
Priority: optional
Maintainer: Keith Packard <keithp@keithp.com>
Homepage: https://keithp.com
Build-Depends: debhelper (>= 11), libreadline-dev, avr-libc, gcc-avr, python3, lola
Standards-Version: 4.2.1

Package: snek
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, python3-serial
Description: Embedded system programming language
Snek is a small python-like language designed for embedded
computers. It can run on systems as small as an Arduino Duemilanova
board, which is an ATmega 328 processor with 32kB of flash and 2kB of
ram. This package includes a binary for that target, the
snek-duino-install tool for installing Snek on Arduino boards, the
snekde integrated development environment and a snek binary for
playing with the language on your host machine.
25 changes: 25 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: snek
Source: https://keithp.com/

Files: *
Copyright: 2018-2019 Keith Packard
License: GPL-2+

License:
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 2
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 program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in `/usr/share/common-licenses/GPL-2'.
8 changes: 8 additions & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
NEWS
README
README.name
TODO
examples
test
bench
doc/tutorial/nickle-tutorial.pdf
7 changes: 7 additions & 0 deletions debian/gbp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[DEFAULT]
debian-branch = debian
upstream-branch = master
pristine-tar = False

[buildpackage]
upstream-tree = BRANCH
2 changes: 2 additions & 0 deletions debian/lintian.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
snek: pkg-config-unavailable-for-cross-compilation usr/lib/pkgconfig/snek.pc
snek: executable-not-elf-or-script usr/share/snek/snek-duino.hex
13 changes: 13 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

%:
dh $@

override_dh_auto_install:
dh_auto_install -- PREFIX=/usr
Empty file added debian/snek.docs
Empty file.
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)

0 comments on commit 88773f6

Please sign in to comment.