[Python-apps-commits] r4767 - in packages/turnin-ng/trunk/debian (14 files)

ryanakca-guest at users.alioth.debian.org ryanakca-guest at users.alioth.debian.org
Mon Feb 15 22:21:15 UTC 2010


    Date: Monday, February 15, 2010 @ 22:21:14
  Author: ryanakca-guest
Revision: 4767

Fixed a few packaging things

Added:
  packages/turnin-ng/trunk/debian/patches/02_egg_version.diff
  packages/turnin-ng/trunk/debian/patches/03_install_library_in_private_dir.diff
  packages/turnin-ng/trunk/debian/source/
  packages/turnin-ng/trunk/debian/source/format
Modified:
  packages/turnin-ng/trunk/debian/README.Debian
  packages/turnin-ng/trunk/debian/changelog
  packages/turnin-ng/trunk/debian/control
  packages/turnin-ng/trunk/debian/copyright
  packages/turnin-ng/trunk/debian/dirs
  packages/turnin-ng/trunk/debian/patches/series
  packages/turnin-ng/trunk/debian/rules
  packages/turnin-ng/trunk/debian/turnin-ng.links
Deleted:
  packages/turnin-ng/trunk/debian/README.source
  packages/turnin-ng/trunk/debian/pycompat

Modified: packages/turnin-ng/trunk/debian/README.Debian
===================================================================
--- packages/turnin-ng/trunk/debian/README.Debian	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/README.Debian	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,26 +1,54 @@
-This package does not create the submission directories under /srv . You will
-need to create them yourself, see below:
+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
-% cd /srv/submit
-% # Make the first course
-% sudo project -C /srv/submit/professor1.cf --create-course cisc-2323
+
+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
 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
+Full path to the course directory: /srv/submit/course1
+Group: professor1
+Successfully created the course course1.
+% sudo ls -lash . *
+.:
+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 professor1 4.0K 2010-02-15 16:03 course1/
 
-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
+course1:
+total 12K
+4.0K drwxr-xr-x 2 professor1 professor1 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 professor1  135 2010-02-15 16:03 turnin-ng.cf
 %
 
-If you want to create another course, for professor2, substitute professor1
-for professor2 and cisc-2323 for the course in the project command.
+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-cisc2323='turnin -C /srv/submit/professor1.cf -c cisc-2323'
+alias turnin-course1='turnin -c course1'
+
+ -- Ryan Kavanagh <ryanakca at kubuntu.org>  Mon, 15 Feb 2010 15:49:04 -0500

Deleted: packages/turnin-ng/trunk/debian/README.source
===================================================================
--- packages/turnin-ng/trunk/debian/README.source	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/README.source	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,8 +0,0 @@
-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.

Modified: packages/turnin-ng/trunk/debian/changelog
===================================================================
--- packages/turnin-ng/trunk/debian/changelog	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/changelog	2010-02-15 22:21:14 UTC (rev 4767)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #540385)
 
- -- Ryan Kavanagh <ryanakca at kubuntu.org>  Fri, 12 Feb 2010 15:59:39 -0500
+ -- Ryan Kavanagh <ryanakca at kubuntu.org>  Mon, 15 Feb 2010 15:49:04 -0500

Modified: packages/turnin-ng/trunk/debian/control
===================================================================
--- packages/turnin-ng/trunk/debian/control	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/control	2010-02-15 22:21:14 UTC (rev 4767)
@@ -3,26 +3,25 @@
 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),
+Build-Depends: debhelper (>= 7.0.50~),
+ python (>= 2.5)
+Build-Depends-Indep: python-support (>= 0.90.5),
  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/
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/turnin-ng/trunk
+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},
+Depends: ${misc:Depends}, ${python:Depends},
  python-configobj,
  install-info
-Description: Assignment submitter and manager
+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

Modified: packages/turnin-ng/trunk/debian/copyright
===================================================================
--- packages/turnin-ng/trunk/debian/copyright	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/copyright	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,6 +1,6 @@
 This package was debianized by:
 
-    Ryan Kavanagh <ryanakca at kubuntu.org> on Tue, 21 Jul 2009 14:19:44 -0400
+    Ryan Kavanagh <ryanakca at kubuntu.org> on Mon, 15 Feb 2010 15:46:52 -0500
 
 It was downloaded from:
 

Modified: packages/turnin-ng/trunk/debian/dirs
===================================================================
--- packages/turnin-ng/trunk/debian/dirs	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/dirs	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,2 +1,3 @@
+usr/bin
 usr/share/info
 usr/share/doc/turnin-ng

Added: packages/turnin-ng/trunk/debian/patches/02_egg_version.diff
===================================================================
--- packages/turnin-ng/trunk/debian/patches/02_egg_version.diff	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/patches/02_egg_version.diff	2010-02-15 22:21:14 UTC (rev 4767)
@@ -0,0 +1,15 @@
+# 02_egg_version.diff by Ryan Kavanagh <ryanakca at kubuntu.org>
+# Description: Upstream forgot to bump the version in setup.py
+Index: turnin-ng-1.0.1/setup.py
+===================================================================
+--- turnin-ng-1.0.1.orig/setup.py	2010-02-15 15:04:58.861611533 -0500
++++ turnin-ng-1.0.1/setup.py	2010-02-15 15:05:04.325613636 -0500
+@@ -185,7 +185,7 @@
+ # install.sub_commands.append(('install_legacy', None))
+ 
+ setup(name='turnin-ng',
+-      version='1.0',
++      version='1.0.1',
+       description='Turn in your assignments with turnin',
+       author='Ryan Kavanagh',
+       author_email='ryanakca at kubuntu.org',

Added: packages/turnin-ng/trunk/debian/patches/03_install_library_in_private_dir.diff
===================================================================
--- packages/turnin-ng/trunk/debian/patches/03_install_library_in_private_dir.diff	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/patches/03_install_library_in_private_dir.diff	2010-02-15 22:21:14 UTC (rev 4767)
@@ -0,0 +1,11 @@
+# 03_install_library_in_private_dir.diff by Ryan Kavanagh <ryanakca at kubuntu.org>
+# Description: Install turnin-ng python files to private directory
+# /usr/share/turnin-ng
+Index: turnin-ng-1.0.1/setup.cfg
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ turnin-ng-1.0.1/setup.cfg	2010-02-15 16:36:17.849611138 -0500
+@@ -0,0 +1,3 @@
++[install]
++install-lib=usr/share/turnin-ng
++install-scripts=usr/share/turnin-ng

Modified: packages/turnin-ng/trunk/debian/patches/series
===================================================================
--- packages/turnin-ng/trunk/debian/patches/series	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/patches/series	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,2 +1,4 @@
 00_prefix.diff
 01_manual_packaging_symlink.diff
+02_egg_version.diff
+03_install_library_in_private_dir.diff

Deleted: packages/turnin-ng/trunk/debian/pycompat
===================================================================
--- packages/turnin-ng/trunk/debian/pycompat	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/pycompat	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1 +0,0 @@
-2

Modified: packages/turnin-ng/trunk/debian/rules
===================================================================
--- packages/turnin-ng/trunk/debian/rules	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/rules	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh --with quilt $@
+	dh $@

Added: packages/turnin-ng/trunk/debian/source/format
===================================================================
--- packages/turnin-ng/trunk/debian/source/format	                        (rev 0)
+++ packages/turnin-ng/trunk/debian/source/format	2010-02-15 22:21:14 UTC (rev 4767)
@@ -0,0 +1 @@
+3.0 (quilt)

Modified: packages/turnin-ng/trunk/debian/turnin-ng.links
===================================================================
--- packages/turnin-ng/trunk/debian/turnin-ng.links	2010-02-15 20:44:15 UTC (rev 4766)
+++ packages/turnin-ng/trunk/debian/turnin-ng.links	2010-02-15 22:21:14 UTC (rev 4767)
@@ -1 +1,3 @@
 usr/bin/turnincfg usr/bin/project
+usr/share/turnin-ng/turnincfg usr/bin/turnincfg
+usr/share/turnin-ng/turnin usr/bin/turnin




More information about the Python-apps-commits mailing list