Bug 176219

Summary: New port: www/py-flask-flatpages
Product: Ports & Packages Reporter: Oleg Pudeyev <oleg>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Oleg Pudeyev 2013-02-17 22:30:00 UTC
Provides flat static pages to a Flask application, based on text files
as opposed to a relational database.

WWW:    https://github.com/SimonSapin/Flask-FlatPages

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-17 22:30:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-18 02:18:56 UTC
Author: miwi
Date: Mon Feb 18 02:18:47 2013
New Revision: 312472
URL: http://svnweb.freebsd.org/changeset/ports/312472

Log:
  Provides flat static pages to a Flask application, based on text files
  as opposed to a relational database.
  
  WWW:    https://github.com/SimonSapin/Flask-FlatPages
  
  PR:		ports/176219
  Submitted by:	Oleg Pudeyev <oleg@bsdpower.com>

Added:
  head/www/py-flask-flatpages/
  head/www/py-flask-flatpages/Makefile   (contents, props changed)
  head/www/py-flask-flatpages/distinfo   (contents, props changed)
  head/www/py-flask-flatpages/pkg-descr   (contents, props changed)
  head/www/py-flask-flatpages/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Feb 18 02:17:02 2013	(r312471)
+++ head/www/Makefile	Mon Feb 18 02:18:47 2013	(r312472)
@@ -1511,6 +1511,7 @@
     SUBDIR += py-feedgenerator
     SUBDIR += py-flask
     SUBDIR += py-flask-cache
+    SUBDIR += py-flask-flatpages
     SUBDIR += py-flask-uploads
     SUBDIR += py-flexget
     SUBDIR += py-flup

Added: head/www/py-flask-flatpages/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-flatpages/Makefile	Mon Feb 18 02:18:47 2013	(r312472)
@@ -0,0 +1,20 @@
+# Created by: Oleg Pudeyev <oleg@bsdpower.com>
+# $FreeBSD$
+
+PORTNAME=	Flask-FlatPages
+PORTVERSION=	0.3
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	oleg@bsdpower.com
+COMMENT=	Provides flat static pages to a Flask application
+
+LICENSE=	BSD
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:${PORTSDIR}/www/py-flask
+
+USE_PYTHON=	2.6+
+USE_PYDISTUTILS=	easy_install
+
+.include <bsd.port.mk>

Added: head/www/py-flask-flatpages/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-flatpages/distinfo	Mon Feb 18 02:18:47 2013	(r312472)
@@ -0,0 +1,2 @@
+SHA256 (Flask-FlatPages-0.3.tar.gz) = a0647929c87db08184f0db1db142d7d8f3c9fcadb4ecd8eebaace478eda838e6
+SIZE (Flask-FlatPages-0.3.tar.gz) = 18431

Added: head/www/py-flask-flatpages/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-flatpages/pkg-descr	Mon Feb 18 02:18:47 2013	(r312472)
@@ -0,0 +1,4 @@
+Provides flat static pages to a Flask application, based on text files
+as opposed to a relational database.
+
+WWW:    https://github.com/SimonSapin/Flask-FlatPages

Added: head/www/py-flask-flatpages/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-flatpages/pkg-plist	Mon Feb 18 02:18:47 2013	(r312472)
@@ -0,0 +1,27 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo/42/not_a_page.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo/bar.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo/lorem/ipsum.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/hello.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/not_a_page.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages_shift_jis/hello.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/tests.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/tests.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/tests.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages_shift_jis
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo/lorem
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo/42
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages/foo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages/pages
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/flask_flatpages
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-02-18 02:33:33 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!