[Lunar-commits] <moonbase> django-profile: Add new module.
Jannis Pohlmann
jannis at xfce.org
Fri May 29 14:48:40 CEST 2009
commit 60317e6a2def84d4a2b60f70397099928e6bbd8c
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Fri May 29 14:48:40 2009 +0200
django-profile: Add new module.
---
python/django-profile/BUILD | 11 +++++++++++
python/django-profile/DEPENDS | 2 ++
python/django-profile/DETAILS | 22 ++++++++++++++++++++++
python/django-profile/POST_INSTALL | 16 ++++++++++++++++
python/django-profile/setup.py | 18 ++++++++++++++++++
5 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/python/django-profile/BUILD b/python/django-profile/BUILD
new file mode 100644
index 0000000..7d2c262
--- /dev/null
+++ b/python/django-profile/BUILD
@@ -0,0 +1,11 @@
+(
+
+ # This has to be removed in future releases which might ship
+ # a setup script on their own
+ cp $SCRIPT_DIRECTORY/setup.py $SOURCE_DIRECTORY &&
+
+ python setup.py config &&
+ prepare_install &&
+ python setup.py install
+
+) > $C_FIFO 2>&1
diff --git a/python/django-profile/DEPENDS b/python/django-profile/DEPENDS
new file mode 100644
index 0000000..2670cdb
--- /dev/null
+++ b/python/django-profile/DEPENDS
@@ -0,0 +1,2 @@
+depends django
+depends pil
diff --git a/python/django-profile/DETAILS b/python/django-profile/DETAILS
new file mode 100644
index 0000000..57d1da9
--- /dev/null
+++ b/python/django-profile/DETAILS
@@ -0,0 +1,22 @@
+ MODULE=django-profile
+ VERSION=0.6
+ SOURCE=$MODULE-$VERSION.tgz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+ SOURCE_URL=http://django-profile.googlecode.com/files/
+ SOURCE_VFY=sha1:c46625e07357f9480cf98543688163fe11cf9ecf
+ WEB_SITE=http://code.google.com/p/django-profile/
+ ENTERED=20090529
+ UPDATED=20090529
+ SHORT="User profile control panel for Django"
+ MAINTAINER=jannis at lunar-linux.org
+
+cat << EOF
+This is a Django pluggable user profile zone which can be used and
+customized easily in your social application web platform developed
+in django.
+
+It's developed with Django for the backend framework and uses JQuery
+as the javascript library for the client UI. It avoids big amounts of
+development time process in such a generic thing as the User Profile
+and account utilities.
+EOF
diff --git a/python/django-profile/POST_INSTALL b/python/django-profile/POST_INSTALL
new file mode 100644
index 0000000..2ce733b
--- /dev/null
+++ b/python/django-profile/POST_INSTALL
@@ -0,0 +1,16 @@
+# determine the current major Python version
+python_major=`installed_version Python | cut -d. -f1-2`
+
+# determine the Python site-packages path
+python_dir="/usr/lib/python${python_major}/site-packages"
+
+# determine the easy_install .egg file cache
+pth_file="$python_dir/easy-install.pth"
+
+# clear the cache
+rm $pth_file
+
+# put all the .egg files/dirs into the cache
+for egg in $python_dir/*.egg; do
+ echo `basename $egg` >> $pth_file
+done
diff --git a/python/django-profile/setup.py b/python/django-profile/setup.py
new file mode 100644
index 0000000..a61f53b
--- /dev/null
+++ b/python/django-profile/setup.py
@@ -0,0 +1,18 @@
+from distutils.core import setup
+
+setup(name='userprofile',
+ version='0.6',
+ description='Django pluggable user profile zone',
+ author='David Rubert',
+ packages=['userprofile',
+ 'userprofile.templatetags',
+ 'userprofile.urls'],
+ classifiers=['Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Utilities'],
+ )
+
More information about the Lunar-commits
mailing list