add debian package skeleton

This commit is contained in:
adam j hartz 2025-06-04 15:19:01 -04:00
commit 4d138ebd76
Signed by: hz
GPG key ID: B63A0A59F5C82493
12 changed files with 107 additions and 0 deletions

23
debian/README.source vendored Normal file
View file

@ -0,0 +1,23 @@
catsoop for Debian
-----------------
\
/ /\__/\
\__=( o_O )=
(__________)
|_ |_ |_ |_
CAT-SOOP is a flexible, programmable learning management system originally
developed primarily for use in MIT's 6.01 (Introduction to Electrical
Engineering and Computer Science via Robotics).
CAT-SOOP is Free/Libre Software, available under the terms of the GNU Affero
General Public License, version 3+. Please note that the terms of this license
apply to the CAT-SOOP system itself, but not to any course material hosted on a
CAT-SOOP instance, unless explicitly stated otherwise.
Web Site: https://catsoop.org
-- adam j hartz <hz@mit.edu> Wed, 04 Jun 2025 07:31:19 -0400

1
debian/catsoop-docs.docs vendored Normal file
View file

@ -0,0 +1 @@
README.source

10
debian/catsoop.postinst.debhelper vendored Normal file
View file

@ -0,0 +1,10 @@
# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
py3compile -p catsoop
fi
if command -v pypy3compile >/dev/null 2>&1; then
pypy3compile -p catsoop || true
fi
# End automatically added section

10
debian/catsoop.prerm.debhelper vendored Normal file
View file

@ -0,0 +1,10 @@
# Automatically added by dh_python3
if command -v py3clean >/dev/null 2>&1; then
py3clean -p catsoop
else
dpkg -L catsoop | sed -En -e '/^(.*)\/(.+)\.py$/s,,rm "\1/__pycache__/\2".*,e'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section

3
debian/catsoop.substvars vendored Normal file
View file

@ -0,0 +1,3 @@
python3:Depends=black, python3-bs4, python3-cheroot, python3-filelock, python3-jose, python3-ldap3, python3-lxml, python3-mistletoe, python3-mpmath, python3-nacl, python3-oauthlib, python3-pkg-resources, python3-ply, python3-pytest, python3-unidecode, python3-websockets, python3:any
misc:Depends=
misc:Pre-Depends=

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
catsoop (19.0.6-2) UNRELEASED; urgency=medium
* Initial release.
-- adam j hartz <hz@mit.edu> Wed, 04 Jun 2025 09:50:27 -0400

25
debian/control vendored Normal file
View file

@ -0,0 +1,25 @@
Source: catsoop
Section: unknown
Priority: optional
Maintainer: adam j hartz <hz@mit.edu>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-python,
python3 (>= 3.11),
Standards-Version: 4.6.2
Homepage: https://catsoop.org
Vcs-Browser: https://catsoop.org/hg/catsoop
Vcs-Hg: https://catsoop.org/hg/catsoop
Package: catsoop
Architecture: all
Depends:
${shlibs:Depends},
${misc:Depends},
${python3:Depends},
Description: CAT-SOOP is a tool for automatic collection and assessment of online exercises.
CAT-SOOP is a flexible, programmable learning management system originally
developed primarily for use in MIT's 6.01 (Introduction to Electrical
Engineering and Computer Science via Robotics).
See https://catsoop.org for more information.

20
debian/copyright vendored Normal file
View file

@ -0,0 +1,20 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: catsoop
Source: https://catsoop.org
Files:
*
Copyright:
2011-2025 The CAT-SOOP Developers <catsoop-dev@mit.edu>
License: AGPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.
.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

1
debian/debhelper-build-stamp vendored Normal file
View file

@ -0,0 +1 @@
catsoop

2
debian/files vendored Normal file
View file

@ -0,0 +1,2 @@
catsoop_19.0.6-2_all.deb unknown optional
catsoop_19.0.6-2_amd64.buildinfo unknown optional

6
debian/rules vendored Executable file
View file

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

1
debian/source/format vendored Normal file
View file

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