dep: add pygrader dependencies as submodules
authorW. Trevor King <wking@tremily.us>
Tue, 11 Dec 2012 16:30:24 +0000 (11:30 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 11 Dec 2012 16:30:55 +0000 (11:30 -0500)
With the submodules checked out, you can run:

  $ PYTHONPATH=dep ./bin/pg.py ...

to run pygrader without installing any external pacakges on your
system.  With Gentoo's Python 3.3 support still flaky [1,2], this is
less painful than maintaining the dependencies by hand.

Checkout updated submodules with:

  $ git submodule update --init

The jinja2 repository is my local branch, which applies 2to3 directly
to the source (because we are loading jinja2 directly from the
submodule source).  I will rebase my jinja2 branch against new
upstream versions, so don't do any Jinja development based on my
branch.

[1]: https://bugs.gentoo.org/show_bug.cgi?id=437322
[2]: https://bugs.gentoo.org/show_bug.cgi?id=364877

.gitmodules [new file with mode: 0644]
dep/jinja2 [new symlink]
dep/pgp_mime [new symlink]
dep/pyassuan [new symlink]
dep/pygrader [new symlink]
dep/src/jinja2 [new submodule]
dep/src/pgp-mime [new submodule]
dep/src/pyassuan [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..ea8fab4
--- /dev/null
@@ -0,0 +1,9 @@
+[submodule "dep/src/pyassuan"]
+       path = dep/src/pyassuan
+       url = ../pyassuan.git
+[submodule "dep/src/pgp-mime"]
+       path = dep/src/pgp-mime
+       url = ../pgp-mime.git
+[submodule "dep/src/jinja2"]
+       path = dep/src/jinja2
+       url = ../jinja2.git
diff --git a/dep/jinja2 b/dep/jinja2
new file mode 120000 (symlink)
index 0000000..f7287c4
--- /dev/null
@@ -0,0 +1 @@
+src/jinja2/jinja2
\ No newline at end of file
diff --git a/dep/pgp_mime b/dep/pgp_mime
new file mode 120000 (symlink)
index 0000000..75bd0ec
--- /dev/null
@@ -0,0 +1 @@
+src/pgp-mime/pgp_mime/
\ No newline at end of file
diff --git a/dep/pyassuan b/dep/pyassuan
new file mode 120000 (symlink)
index 0000000..225e061
--- /dev/null
@@ -0,0 +1 @@
+src/pyassuan/pyassuan/
\ No newline at end of file
diff --git a/dep/pygrader b/dep/pygrader
new file mode 120000 (symlink)
index 0000000..a7db307
--- /dev/null
@@ -0,0 +1 @@
+../pygrader/
\ No newline at end of file
diff --git a/dep/src/jinja2 b/dep/src/jinja2
new file mode 160000 (submodule)
index 0000000..d05c1de
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit d05c1de48c60169e89112214c0dc6a58ebad3a79
diff --git a/dep/src/pgp-mime b/dep/src/pgp-mime
new file mode 160000 (submodule)
index 0000000..ddd7ebb
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ddd7ebbee2827208f315d6b7d575faff8531dd3d
diff --git a/dep/src/pyassuan b/dep/src/pyassuan
new file mode 160000 (submodule)
index 0000000..1a08bce
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 1a08bce6857953b635428ae32b07b498615657cf