From: W. Trevor King Date: Tue, 11 Dec 2012 16:30:24 +0000 (-0500) Subject: dep: add pygrader dependencies as submodules X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e10f59d36ea9c619241efaf3213156406dd74f9;p=pygrader.git dep: add pygrader dependencies as submodules 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 --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ea8fab4 --- /dev/null +++ b/.gitmodules @@ -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 index 0000000..f7287c4 --- /dev/null +++ b/dep/jinja2 @@ -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 index 0000000..75bd0ec --- /dev/null +++ b/dep/pgp_mime @@ -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 index 0000000..225e061 --- /dev/null +++ b/dep/pyassuan @@ -0,0 +1 @@ +src/pyassuan/pyassuan/ \ No newline at end of file diff --git a/dep/pygrader b/dep/pygrader new file mode 120000 index 0000000..a7db307 --- /dev/null +++ b/dep/pygrader @@ -0,0 +1 @@ +../pygrader/ \ No newline at end of file diff --git a/dep/src/jinja2 b/dep/src/jinja2 new file mode 160000 index 0000000..d05c1de --- /dev/null +++ b/dep/src/jinja2 @@ -0,0 +1 @@ +Subproject commit d05c1de48c60169e89112214c0dc6a58ebad3a79 diff --git a/dep/src/pgp-mime b/dep/src/pgp-mime new file mode 160000 index 0000000..ddd7ebb --- /dev/null +++ b/dep/src/pgp-mime @@ -0,0 +1 @@ +Subproject commit ddd7ebbee2827208f315d6b7d575faff8531dd3d diff --git a/dep/src/pyassuan b/dep/src/pyassuan new file mode 160000 index 0000000..1a08bce --- /dev/null +++ b/dep/src/pyassuan @@ -0,0 +1 @@ +Subproject commit 1a08bce6857953b635428ae32b07b498615657cf