[Lunar-commits] <moonbase> transifex: Add new module. It'll be improved during the day.
Jannis Pohlmann
jannis at xfce.org
Tue May 26 13:07:00 CEST 2009
commit 6370f1044b217584f665330dae0c38a0b139e995
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Tue May 26 13:02:40 2009 +0200
transifex: Add new module. It'll be improved during the day.
---
python/transifex/BUILD | 35 +++++++++++++++++++++++++++++++++++
python/transifex/DEPENDS | 9 +++++++++
python/transifex/DETAILS | 26 ++++++++++++++++++++++++++
python/transifex/PRE_BUILD | 5 +++++
4 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/python/transifex/BUILD b/python/transifex/BUILD
new file mode 100644
index 0000000..4a0ad07
--- /dev/null
+++ b/python/transifex/BUILD
@@ -0,0 +1,35 @@
+(
+ pushd $SOURCE2_DIRECTORY &&
+ python setup.py config &&
+ popd &&
+
+ pushd $SOURCE3_DIRECTORY &&
+ python setup.py config &&
+ popd &&
+
+ pushd $SOURCE_DIRECTORY &&
+
+ (echo "from django import forms" | \
+ cat - transifex/repowatch/models.py > /tmp/transifex.models.py && \
+ mv /tmp/transifex.models.py transifex/repowatch/models.py) &&
+
+ sedit "s/'django_evolution'/#'django_evolution'/g" \
+ transifex/settings/50-project.conf &&
+
+ popd &&
+
+ prepare_install &&
+
+ pushd $SOURCE2_DIRECTORY &&
+ python setup.py install &&
+ popd &&
+
+ pushd $SOURCE3_DIRECTORY &&
+ python setup.py install &&
+ popd &&
+
+ pushd $SOURCE_DIRECTORY &&
+ install -m 755 -d /var/transifex &&
+ cp -R transifex/* /var/transifex
+
+) > $C_FIFO 2>&1
diff --git a/python/transifex/DEPENDS b/python/transifex/DEPENDS
new file mode 100644
index 0000000..110a751
--- /dev/null
+++ b/python/transifex/DEPENDS
@@ -0,0 +1,9 @@
+depends gettext
+depends intltool
+depends django
+depends httplib2
+depends python-markdown
+depends pygments
+depends django-authopenid
+depends django-pagination
+depends django-notification
diff --git a/python/transifex/DETAILS b/python/transifex/DETAILS
new file mode 100644
index 0000000..0a4a44c
--- /dev/null
+++ b/python/transifex/DETAILS
@@ -0,0 +1,26 @@
+ MODULE=transifex
+ VERSION=0.6
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=contact_form-0.3.tar.gz
+ SOURCE3=tagging-0.3_pre.tar.gz
+SOURCE2_DIRECTORY=$BUILD_DIRECTORY/contact_form-0.3
+SOURCE3_DIRECTORY=$BUILD_DIRECTORY/tagging-0.3_pre
+ SOURCE_URL=http://transifex.org/files
+ SOURCE2_URL=http://transifex.org/files/eggs
+ SOURCE3_URL=http://transifex.org/files/eggs
+ SOURCE_VFY=sha1:e6400c8ecd2bd5d729d6d0b221f53c85db028634
+ WEB_SITE=http://transifex.org
+ ENTERED=20090525
+ UPDATED=20090525
+ SHORT="Platform for distributed translation submissions"
+ MAINTAINER=jannis at lunar-linux.org
+
+cat << EOF
+Transifex is a highly scalable localization platform with a focus on
+integrating well with the existing workflow of both translators and
+developers.
+
+It aims in making it dead-simple for content providers to receive
+quality translations from big translation communities, no matter where
+the project is hosted.
+EOF
diff --git a/python/transifex/PRE_BUILD b/python/transifex/PRE_BUILD
new file mode 100644
index 0000000..97f6954
--- /dev/null
+++ b/python/transifex/PRE_BUILD
@@ -0,0 +1,5 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+unpack $SOURCE &&
+unpack $SOURCE2 &&
+unpack $SOURCE3 &&
+cd $SOURCE_DIRECTORY
More information about the Lunar-commits
mailing list