[Python-apps-commits] r4750 - in packages/turnin-ng/trunk (17 files)

ryanakca-guest at users.alioth.debian.org ryanakca-guest at users.alioth.debian.org
Sat Feb 13 15:37:37 UTC 2010


    Date: Saturday, February 13, 2010 @ 15:37:27
  Author: ryanakca-guest
Revision: 4750

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/turnin-ng/trunk/debian/
  packages/turnin-ng/trunk/debian/README.Debian
  packages/turnin-ng/trunk/debian/README.source
  packages/turnin-ng/trunk/debian/changelog
  packages/turnin-ng/trunk/debian/compat
  packages/turnin-ng/trunk/debian/control
  packages/turnin-ng/trunk/debian/copyright
  packages/turnin-ng/trunk/debian/dirs
  packages/turnin-ng/trunk/debian/patches/
  packages/turnin-ng/trunk/debian/patches/00_prefix.diff
  packages/turnin-ng/trunk/debian/patches/01_manual_packaging_symlink.diff
  packages/turnin-ng/trunk/debian/patches/series
  packages/turnin-ng/trunk/debian/pycompat
  packages/turnin-ng/trunk/debian/rules
  packages/turnin-ng/trunk/debian/turnin-ng.doc-base
  packages/turnin-ng/trunk/debian/turnin-ng.links
  packages/turnin-ng/trunk/debian/watch


Property changes on: packages/turnin-ng/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/turnin-ng/trunk/debian/README.Debian
===================================================================
--- packages/turnin-ng/trunk/debian/README.Debian	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/README.Debian	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,26 @@
+This package does not create the submission directories under /srv . You will
+need to create them yourself, see below:
+
+% sudo mkdir -p /srv/submit
+% cd /srv/submit
+% # Make the first course
+% sudo project -C /srv/submit/professor1.cf --create-course cisc-2323
+Username [usually your UNIX login]: professor1
+Full path to the course directory: /srv/submit/cisc-2323
+Group: cisc-2323
+Successfully created the course cisc-2323
+% sudo ls -lash *
+4.0K -rw-r--r-- 1 professor1 cisc-2323  165 2009-07-12 08:25 professor1.cf
+
+cisc-2323:
+total 8.0K
+4.0K drwx-wx--- 2 professor1 cisc-2323 4.0K 2009-07-12 08:25 .
+4.0K drwxr-xr-x 3 root       root      4.0K 2009-07-12 08:25 ..
+   0 lrwxrwxrwx 1 root       root        25 2009-07-12 08:25 turnin.cf ->
+   /srv/submit/professor1.cf
+%
+
+If you want to create another course, for professor2, substitute professor1
+for professor2 and cisc-2323 for the course in the project command.
+It is also recommended that you add aliases in /etc/profile for each course, ex:
+alias turnin-cisc2323='turnin -C /srv/submit/professor1.cf -c cisc-2323'

Added: packages/turnin-ng/trunk/debian/README.source
===================================================================
--- packages/turnin-ng/trunk/debian/README.source	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/README.source	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,8 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.  Please see:
+
+    /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.

Added: packages/turnin-ng/trunk/debian/changelog
===================================================================
--- packages/turnin-ng/trunk/debian/changelog	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/changelog	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,5 @@
+turnin-ng (1.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #540385)
+
+ -- Ryan Kavanagh <ryanakca at kubuntu.org>  Fri, 12 Feb 2010 15:59:39 -0500

Added: packages/turnin-ng/trunk/debian/compat
===================================================================
--- packages/turnin-ng/trunk/debian/compat	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/compat	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1 @@
+7

Added: packages/turnin-ng/trunk/debian/control
===================================================================
--- packages/turnin-ng/trunk/debian/control	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/control	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,29 @@
+Source: turnin-ng
+Section: utils
+Priority: optional
+Maintainer: Ryan Kavanagh <ryanakca at kubuntu.org>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7),
+ python (>= 2.5),
+ quilt
+Build-Depends-Indep: python-support (>= 1.0.6),
+ texinfo,
+ texlive,
+ texi2html
+Standards-Version: 3.8.4
+Homepage: http://github.com/ryanakca/Turnin-NG
+XS-Python-Version: >= 2.5
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/turnin-ng/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/turnin-ng/trunk/
+
+Package: turnin-ng
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${shlibs: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.

Added: packages/turnin-ng/trunk/debian/copyright
===================================================================
--- packages/turnin-ng/trunk/debian/copyright	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/copyright	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,42 @@
+This package was debianized by:
+
+    Ryan Kavanagh <ryanakca at kubuntu.org> on Tue, 21 Jul 2009 14:19:44 -0400
+
+It was downloaded from:
+
+    http://github.com/ryanakca/Turnin-NG/downloads
+
+Upstream Author:
+
+    Ryan Kavanagh <ryanakca at kubuntu.org>
+
+Copyright:
+
+    Copyright (C) 2009-2010 Ryan Kavanagh <ryanakca at kubuntu.org>
+
+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-2010, Ryan Kavanagh <ryanakca at kubuntu.org>
+
+and is licensed under the GPL, either version 2 of the License, or (at your
+option) any later version, see above.

Added: packages/turnin-ng/trunk/debian/dirs
===================================================================
--- packages/turnin-ng/trunk/debian/dirs	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/dirs	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,2 @@
+usr/share/info
+usr/share/doc/turnin-ng

Added: packages/turnin-ng/trunk/debian/patches/00_prefix.diff
===================================================================
--- packages/turnin-ng/trunk/debian/patches/00_prefix.diff	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/patches/00_prefix.diff	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,15 @@
+# 00_prefix: by Ryan Kavanagh <ryanakca at kubuntu.org>
+# Description: Sets the prefix for the Turnin-NG installation
+Index: Turnin-NG/setup.py
+===================================================================
+--- Turnin-NG.orig/setup.py	2010-02-12 07:31:06.676104825 -0500
++++ Turnin-NG/setup.py	2010-02-12 14:10:27.807856407 -0500
+@@ -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>--prefix)?[\=\s]?(?P<path>/[\w\s/]*)')

Added: packages/turnin-ng/trunk/debian/patches/01_manual_packaging_symlink.diff
===================================================================
--- packages/turnin-ng/trunk/debian/patches/01_manual_packaging_symlink.diff	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/patches/01_manual_packaging_symlink.diff	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,29 @@
+# 01_manual_packaging_link.diff by Ryan Kavanagh <ryanakca at kubuntu.org>
+# Description: We'll manually take care of the legacy project->turnincfg link so
+#              that out build doesn't fail.
+Index: Turnin-NG/setup.py
+===================================================================
+--- Turnin-NG.orig/setup.py	2010-02-12 07:25:10.180107401 -0500
++++ Turnin-NG/setup.py	2010-02-12 07:26:52.832105086 -0500
+@@ -180,8 +180,9 @@
+         os.symlink(os.path.join(prefix, 'bin/turnincfg'), os.path.join(prefix,
+             'bin/project'))
+ 
+-
+-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))
+ 
+ setup(name='turnin-ng',
+       version='1.0',
+@@ -195,6 +196,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_legacy': install_legacy}
++          'build_htmldocs': build_htmldocs, 'build_legacy': build_legacy#,
++          #'install_legacy': install_legacy} # Commented out for packaging link
++          }
+ )

Added: packages/turnin-ng/trunk/debian/patches/series
===================================================================
--- packages/turnin-ng/trunk/debian/patches/series	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/patches/series	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,2 @@
+00_prefix.diff
+01_manual_packaging_symlink.diff

Added: packages/turnin-ng/trunk/debian/pycompat
===================================================================
--- packages/turnin-ng/trunk/debian/pycompat	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/pycompat	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1 @@
+2

Added: packages/turnin-ng/trunk/debian/rules
===================================================================
--- packages/turnin-ng/trunk/debian/rules	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/rules	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh --with quilt $@


Property changes on: packages/turnin-ng/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/turnin-ng/trunk/debian/turnin-ng.doc-base
===================================================================
--- packages/turnin-ng/trunk/debian/turnin-ng.doc-base	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/turnin-ng.doc-base	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,12 @@
+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

Added: packages/turnin-ng/trunk/debian/turnin-ng.links
===================================================================
--- packages/turnin-ng/trunk/debian/turnin-ng.links	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/turnin-ng.links	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1 @@
+usr/bin/turnincfg usr/bin/project

Added: packages/turnin-ng/trunk/debian/watch
===================================================================
--- packages/turnin-ng/trunk/debian/watch	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/watch	2010-02-13 15:37:27 UTC (rev 4750)
@@ -0,0 +1,3 @@
+version=3
+http://github.com/ryanakca/Turnin-NG/downloads \
+ http://cloud.github.com/downloads/ryanakca/Turnin-NG/Turnin-NG-(.*)\.tar.gz




More information about the Python-apps-commits mailing list