This commit is contained in:
Andrew 2015-11-25 21:23:49 +00:00
commit f1496c5897
7 changed files with 112 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
stcgal (0.1git) unstable; urgency=low
* Initial Debianized Release
-- Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Wed, 25 Nov 2015 13:07:03 +0300

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

17
debian/control vendored Normal file
View File

@ -0,0 +1,17 @@
Source: stcgal
Section: unknown
Priority: optional
Maintainer: Andrew Andrianov <andrew@ncrmnt.org>
Build-Depends: debhelper (>= 9), python3, python3-setuptools
Standards-Version: 3.9.5
XS-Python-Version: all
Homepage: https://github.com/grigorig/stcgal
#Vcs-Git: git://anonscm.debian.org/collab-maint/stcgal.git
#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/stcgal.git;a=summary
Package: stcgal
Architecture: any
Depends: ${misc:Depends}, python3, python3-serial
XB-Python-Version: ${python3:Versions}
Description: OpenSource STC ISP tool
stcgal is a command line flash programming tool for STC MCU Ltd 8051 compatible microcontrollers. The name was inspired by avrdude

34
debian/copyright vendored Normal file
View File

@ -0,0 +1,34 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: stcgal
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: GPL-3.0+
Files: debian/*
Copyright: 2015 Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
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 <http://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".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.md
TODO.md

52
debian/rules vendored Executable file
View File

@ -0,0 +1,52 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PY_INTERPRETER = /usr/bin/python
build: build-stamp
build-indep: build-stamp
build-arch:
@echo Nothing to build
build-stamp:
dh_testdir
python3 setup.py build
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
rm -rf build
-find . -name '*.py[co]' | xargs rm -f
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
python3 setup.py install --root=$(CURDIR)/debian/stcgal --install-layout=deb
dh_python3
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)