debian/0000755000000000000000000000000012230551150007160 5ustar debian/changelog0000644000000000000000000000275412230551140011041 0ustar turnin-ng (1.2-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. * Remove DM-Upload-Allowed; it's no longer used by the archive software. [ Ryan Kavanagh ] * New upstream release + Fixes FTBFS (Closes: #713326) + Update copyright years / holders + Update installed links to point to new script location * Clean up doc/turnin-ng.{pdf,html,info}, fixes a FTBFS when we build twice in a row (Closes: #671433) * Update watch file to use github redirector * Simplify rules file * Drop build-dep on texi2html in favour of makeinfo from texinfo * Bump standards version to 3.9.4 * Switch to my @debian.org email address -- Ryan Kavanagh Sat, 19 Oct 2013 14:40:49 -0400 turnin-ng (1.1-1) unstable; urgency=low * New upstream release - Dropped 02_egg_version.diff and 03_infodir.diff, applied upstream * Don't call install-info from setup.py, 04_manual_info_install.diff * Bumped to standards 3.9.1 * Although section 2.3 of the Python Policy is for modules, we'll switch to X-Python-Version from X{S,B}-Python-Version since it recommends it. * Updated example in README.Debian for new release * Bump to debhelper 8. * Added 'DM-Upload-Allowed: yes' with sponsor's permission -- Ryan Kavanagh Fri, 04 Feb 2011 12:54:54 -0500 turnin-ng (1.0.1-1) unstable; urgency=low * Initial release (Closes: #540365) -- Ryan Kavanagh Mon, 15 Feb 2010 15:49:04 -0500 debian/compat0000644000000000000000000000000211335543467010377 0ustar 7 debian/turnin-ng.links0000644000000000000000000000004212230523472012145 0ustar usr/bin/turnincfg usr/bin/project debian/rules0000755000000000000000000000015112210177406010243 0ustar #!/usr/bin/make -f %: dh $@ -- --install-lib=usr/share/turnin-ng --install-scripts=usr/share/turnin-ng debian/README.Debian0000644000000000000000000000363211522522511011227 0ustar Turnin-NG for Debian ---------------------- Suggested layout for project and turnin. This package does not create the submission directories under /srv as the path /srv/submit may be changed to whatever suits your fancy. /etc/turnin-ng.cf /srv/submit/course1/project1/ project2/ project3/ turnin-ng.cf course2/project1/ project2/ project3/ turnin-ng.cf ...... courseZ/project1/ .... projectX/ turnin-ng.cf An example setup on a Debian box is: % sudo mkdir -p /srv/submit Make the first course, where course1 is the name of the first course and professor1 is the account managing it. % sudo turnincfg --create-course course1 Managing username [usually your UNIX login]: professor1 Full path to the course directory: /srv/submit/course1 Managed by a User or Group [U/G]: U Student group: students Please make sure the account professor1 is a member of the group students. Successfully created the course course1. % sudo ls -lash /srv/submit/* /srv/submit/: total 12K 4.0K drwxr-xr-x 3 root root 4.0K 2010-02-15 16:03 ./ 4.0K drwxr-xr-x 4 root root 4.0K 2010-02-15 15:59 ../ 4.0K drwxr-xr-x 2 professor1 students 4.0K 2010-02-15 16:03 course1/ /sr/submit/course1/: total 12K 4.0K drwxr-xr-x 2 professor1 students 4.0K 2010-02-15 16:03 ./ 4.0K drwxr-xr-x 3 root root 4.0K 2010-02-15 16:03 ../ 4.0K -rw-r--r-- 1 professor1 students 135 2010-02-15 16:03 turnin-ng.cf % If you want to create a course for professor2, substitute professor1 by professor2 and course1 by course2 in the turnincfg command. It is also recommended that you add aliases in /etc/profile for each course, ex: alias turnin-course1='turnin -c course1' -- Ryan Kavanagh Thu, 02 Sep 2010 12:11:04 -0400 debian/turnin-ng.doc-base0000644000000000000000000000053711335543467012526 0ustar Document: turnin-ng Title: Turnin-NG Assignment Submission Suite Author: Ryan Kavanagh Abstract: This manual is the HTML version of the turninng info page. Section: Data Management Format: HTML Index: /usr/share/doc/turnin-ng/turnin-ng.html Files: /usr/share/doc/turnin-ng/turnin-ng.html Format: PDF Files: /usr/share/doc/turnin-ng/turnin-ng.pdf.gz debian/copyright0000644000000000000000000000264512230534326011130 0ustar This package was debianized by: Ryan Kavanagh on Mon, 15 Feb 2010 15:46:52 -0500 It was downloaded from: http://github.com/ryanakca/Turnin-NG/downloads Upstream Author: Ryan Kavanagh Copyright: Copyright (C) 2009-2013 Ryan Kavanagh License: This package 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 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version two or later can be found in the files `/usr/share/common-licenses/GPL-2' and `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 2009-2013, Ryan Kavanagh and is licensed under the GPL, either version 2 of the License, or (at your option) any later version, see above. debian/patches/0000755000000000000000000000000012230551150010607 5ustar debian/patches/01_manual_packaging_symlink.diff0000644000000000000000000000216012210177406016775 0ustar # 01_manual_packaging_link.diff by Ryan Kavanagh # Description: We'll manually take care of the legacy project->turnincfg link so # that out build doesn't fail. Index: turnin-ng-1.2/setup.py =================================================================== --- turnin-ng-1.2.orig/setup.py 2013-08-30 16:18:45.003180020 -0400 +++ turnin-ng-1.2/setup.py 2013-08-30 16:18:44.999179908 -0400 @@ -183,8 +183,9 @@ except: pass - -install.sub_commands.append(('install_legacy', None)) +# We've manually taken care of this in the packaging (debian/turnin-ng.links), +# otherwise the build fails. +# install.sub_commands.append(('install_legacy', None)) class install_infopage(Command): @@ -225,6 +226,6 @@ data_files=data_files, cmdclass={'build_infopage': build_infopage, 'build_pdf':build_pdf, 'build_htmldocs': build_htmldocs, 'build_legacy': build_legacy, - 'install_infopage': install_infopage, - 'install_legacy': install_legacy} + 'install_infopage': install_infopage} + # 'install_legacy': install_legacy} ) debian/patches/00_prefix.diff0000644000000000000000000000115512210177406013245 0ustar # 00_prefix: by Ryan Kavanagh # Description: Sets the prefix for the Turnin-NG installation Index: turnin-ng-1.2/setup.py =================================================================== --- turnin-ng-1.2.orig/setup.py 2013-08-30 16:18:36.414937579 -0400 +++ turnin-ng-1.2/setup.py 2013-08-30 16:18:36.410937465 -0400 @@ -13,7 +13,7 @@ import tempfile # Default prefix -prefix = '/usr/local' +prefix = '' # Get the install prefix if one is specified from the command line for i, arg in enumerate(sys.argv): prefix_regex = re.compile('(?P--prefix)?[\=\s]?(?P/[\w\s/]*)') debian/patches/04_manual_info_install.diff0000644000000000000000000000217412210177406015774 0ustar # 04_manual_info_install.diff by Ryan Kavanagh # Description: Manually install info page from packaging instead of from # setup.py Index: turnin-ng-1.2/setup.py =================================================================== --- turnin-ng-1.2.orig/setup.py 2013-08-30 16:18:49.263300282 -0400 +++ turnin-ng-1.2/setup.py 2013-08-30 16:18:49.259300169 -0400 @@ -211,7 +211,7 @@ if retcode < 0: raise subprocess.CalledProcessError(retcode, ' '.join(cargs)) -install.sub_commands.append(('install_infopage', None)) +# install.sub_commands.append(('install_infopage', None)) setup(name='turnin-ng', version='1.2', @@ -225,7 +225,7 @@ package_dir={'turninng':'src/turninng'}, data_files=data_files, cmdclass={'build_infopage': build_infopage, 'build_pdf':build_pdf, - 'build_htmldocs': build_htmldocs, 'build_legacy': build_legacy, - 'install_infopage': install_infopage} + 'build_htmldocs': build_htmldocs, 'build_legacy': build_legacy} +# 'install_infopage': install_infopage} # 'install_legacy': install_legacy} ) debian/patches/series0000644000000000000000000000011411522522511012022 0ustar 00_prefix.diff 01_manual_packaging_symlink.diff 04_manual_info_install.diff debian/clean0000644000000000000000000000007012230550734010171 0ustar doc/turnin-ng.pdf doc/turnin-ng.info doc/turnin-ng.html debian/control0000644000000000000000000000176712210177406010604 0ustar Source: turnin-ng Section: utils Priority: optional Maintainer: Ryan Kavanagh Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 8), python (>= 2.5) Build-Depends-Indep: python-support (>= 0.90.5), texinfo, texlive Standards-Version: 3.9.4 Homepage: http://github.com/ryanakca/Turnin-NG X-Python-Version: >= 2.5 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/turnin-ng/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/turnin-ng/trunk/ Package: turnin-ng Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-configobj, install-info Description: assignment submitter and manager Turnin-NG is an assignment submission suite written in Python and composed of turnin and turnincfg. Students can use the turnin command to submit an assignment to a course. Professors and TAs (teaching assistants) can use turnincfg to manage submitted assignments, making them easier to grade. debian/source/0000755000000000000000000000000012230551150010460 5ustar debian/source/format0000644000000000000000000000001411336344332011676 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017712210177406010224 0ustar version=3 opts=filenamemangle=s@.*/(.*)@Turnin-NG-$1@ \ http://githubredir.debian.net/github/ryanakca/Turnin-NG /(.*).tar.gz