aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-06-25 14:44:53 +0800
committermiwi <miwi@FreeBSD.org>2011-06-25 14:44:53 +0800
commit526a0558f281f91c154bd116522ee5b352cf6c8f (patch)
tree866494c8c204fc1af575b0a4ef5a5d199a2cd568
parentd2dc11421d8349db5c381a41acc5e88e656991ab (diff)
downloadfreebsd-ports-gnome-526a0558f281f91c154bd116522ee5b352cf6c8f.tar.gz
freebsd-ports-gnome-526a0558f281f91c154bd116522ee5b352cf6c8f.tar.zst
freebsd-ports-gnome-526a0558f281f91c154bd116522ee5b352cf6c8f.zip
Haystack is modular search for Django
Search doesn't have to be hard. Haystack lets you write your search code once and choose the search engine you want it to run on. With a familiar API that should make any Djangonaut feel right at home and an architecture that allows you to swap things in and out as you need to, it's how search ought to be. Haystack is BSD licensed, plays nicely with third-party app without needing to modify the source and supports Solr, Whoosh and Xapian. WWW: http://south.aeracode.org/ PR: ports/155660 Submitted by: Kristaps Kulis <kristaps.kulis at gmail.com>
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django-haystack/Makefile24
-rw-r--r--www/py-django-haystack/distinfo2
-rw-r--r--www/py-django-haystack/pkg-descr10
-rw-r--r--www/py-django-haystack/pkg-plist99
5 files changed, 136 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index dfd9beae4eaf..7b2415f3eb45 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1501,6 +1501,7 @@
SUBDIR += py-django-devel
SUBDIR += py-django-evolution
SUBDIR += py-django-extensions
+ SUBDIR += py-django-haystack
SUBDIR += py-django-keyedcache
SUBDIR += py-django-livesettings
SUBDIR += py-django-mptt
diff --git a/www/py-django-haystack/Makefile b/www/py-django-haystack/Makefile
new file mode 100644
index 000000000000..2b7346ef6cfd
--- /dev/null
+++ b/www/py-django-haystack/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: py-django-haystack
+# Date created: July 29 2011
+# Whom: Kristaps Kulis <kristaps.kulis@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= django-haystack
+PORTVERSION= 1.1.0
+CATEGORIES= www databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kristaps.kulis@gmail.com
+COMMENT= Pluggable search for Django
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
+
+LICENSE= BSD
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-haystack/distinfo b/www/py-django-haystack/distinfo
new file mode 100644
index 000000000000..f4495a86e224
--- /dev/null
+++ b/www/py-django-haystack/distinfo
@@ -0,0 +1,2 @@
+SHA256 (django-haystack-1.1.0.tar.gz) = 9ae37c87b19c63d11cb172d96fd25fe4df37b0d1cef8f76150902369e3da9e00
+SIZE (django-haystack-1.1.0.tar.gz) = 610216
diff --git a/www/py-django-haystack/pkg-descr b/www/py-django-haystack/pkg-descr
new file mode 100644
index 000000000000..b6dd9640ebef
--- /dev/null
+++ b/www/py-django-haystack/pkg-descr
@@ -0,0 +1,10 @@
+Haystack is modular search for Django
+
+Search doesn't have to be hard. Haystack lets you write your search code once
+and choose the search engine you want it to run on.
+With a familiar API that should make any Djangonaut feel right at home and an
+architecture that allows you to swap things in and out as you need to, it's how
+search ought to be. Haystack is BSD licensed, plays nicely with third-party app
+without needing to modify the source and supports Solr, Whoosh and Xapian.
+
+WWW: http://south.aeracode.org/
diff --git a/www/py-django-haystack/pkg-plist b/www/py-django-haystack/pkg-plist
new file mode 100644
index 000000000000..0f04c091cac3
--- /dev/null
+++ b/www/py-django-haystack/pkg-plist
@@ -0,0 +1,99 @@
+%%PYTHON_SITELIBDIR%%/haystack/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/admin.py
+%%PYTHON_SITELIBDIR%%/haystack/admin.pyc
+%%PYTHON_SITELIBDIR%%/haystack/admin.pyo
+%%PYTHON_SITELIBDIR%%/haystack/backends/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/backends/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/backends/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/backends/dummy_backend.py
+%%PYTHON_SITELIBDIR%%/haystack/backends/dummy_backend.pyc
+%%PYTHON_SITELIBDIR%%/haystack/backends/dummy_backend.pyo
+%%PYTHON_SITELIBDIR%%/haystack/backends/simple_backend.py
+%%PYTHON_SITELIBDIR%%/haystack/backends/simple_backend.pyc
+%%PYTHON_SITELIBDIR%%/haystack/backends/simple_backend.pyo
+%%PYTHON_SITELIBDIR%%/haystack/backends/solr_backend.py
+%%PYTHON_SITELIBDIR%%/haystack/backends/solr_backend.pyc
+%%PYTHON_SITELIBDIR%%/haystack/backends/solr_backend.pyo
+%%PYTHON_SITELIBDIR%%/haystack/backends/whoosh_backend.py
+%%PYTHON_SITELIBDIR%%/haystack/backends/whoosh_backend.pyc
+%%PYTHON_SITELIBDIR%%/haystack/backends/whoosh_backend.pyo
+%%PYTHON_SITELIBDIR%%/haystack/constants.py
+%%PYTHON_SITELIBDIR%%/haystack/constants.pyc
+%%PYTHON_SITELIBDIR%%/haystack/constants.pyo
+%%PYTHON_SITELIBDIR%%/haystack/exceptions.py
+%%PYTHON_SITELIBDIR%%/haystack/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/haystack/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/haystack/fields.py
+%%PYTHON_SITELIBDIR%%/haystack/fields.pyc
+%%PYTHON_SITELIBDIR%%/haystack/fields.pyo
+%%PYTHON_SITELIBDIR%%/haystack/forms.py
+%%PYTHON_SITELIBDIR%%/haystack/forms.pyc
+%%PYTHON_SITELIBDIR%%/haystack/forms.pyo
+%%PYTHON_SITELIBDIR%%/haystack/indexes.py
+%%PYTHON_SITELIBDIR%%/haystack/indexes.pyc
+%%PYTHON_SITELIBDIR%%/haystack/indexes.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/management/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/build_solr_schema.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/build_solr_schema.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/build_solr_schema.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/clear_index.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/clear_index.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/clear_index.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/haystack_info.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/haystack_info.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/haystack_info.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/rebuild_index.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/rebuild_index.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/rebuild_index.pyo
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/update_index.py
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/update_index.pyc
+%%PYTHON_SITELIBDIR%%/haystack/management/commands/update_index.pyo
+%%PYTHON_SITELIBDIR%%/haystack/models.py
+%%PYTHON_SITELIBDIR%%/haystack/models.pyc
+%%PYTHON_SITELIBDIR%%/haystack/models.pyo
+%%PYTHON_SITELIBDIR%%/haystack/query.py
+%%PYTHON_SITELIBDIR%%/haystack/query.pyc
+%%PYTHON_SITELIBDIR%%/haystack/query.pyo
+%%PYTHON_SITELIBDIR%%/haystack/sites.py
+%%PYTHON_SITELIBDIR%%/haystack/sites.pyc
+%%PYTHON_SITELIBDIR%%/haystack/sites.pyo
+%%PYTHON_SITELIBDIR%%/haystack/templates/search_configuration/solr.xml
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/highlight.py
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/highlight.pyc
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/highlight.pyo
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/more_like_this.py
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/more_like_this.pyc
+%%PYTHON_SITELIBDIR%%/haystack/templatetags/more_like_this.pyo
+%%PYTHON_SITELIBDIR%%/haystack/urls.py
+%%PYTHON_SITELIBDIR%%/haystack/urls.pyc
+%%PYTHON_SITELIBDIR%%/haystack/urls.pyo
+%%PYTHON_SITELIBDIR%%/haystack/utils/__init__.py
+%%PYTHON_SITELIBDIR%%/haystack/utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/haystack/utils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/haystack/utils/decorators.py
+%%PYTHON_SITELIBDIR%%/haystack/utils/decorators.pyc
+%%PYTHON_SITELIBDIR%%/haystack/utils/decorators.pyo
+%%PYTHON_SITELIBDIR%%/haystack/utils/importlib.py
+%%PYTHON_SITELIBDIR%%/haystack/utils/importlib.pyc
+%%PYTHON_SITELIBDIR%%/haystack/utils/importlib.pyo
+%%PYTHON_SITELIBDIR%%/haystack/views.py
+%%PYTHON_SITELIBDIR%%/haystack/views.pyc
+%%PYTHON_SITELIBDIR%%/haystack/views.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/utils
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/templatetags
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/templates/search_configuration
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/templates
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/management/commands
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/management
+@dirrm %%PYTHON_SITELIBDIR%%/haystack/backends
+@dirrm %%PYTHON_SITELIBDIR%%/haystack