[123979] trunk/dports/python
aronnax at macports.org
aronnax at macports.org
Sat Aug 16 20:50:13 PDT 2014
Revision: 123979
https://trac.macports.org/changeset/123979
Author: aronnax at macports.org
Date: 2014-08-16 20:50:13 -0700 (Sat, 16 Aug 2014)
Log Message:
-----------
py-flask-script: new port for adding script support to Flask
For example, it provides django-like 'runserver' and 'shell' commands
and makes it possible to add custom commands that run under the
application context.
Added Paths:
-----------
trunk/dports/python/py-flask-script/
trunk/dports/python/py-flask-script/Portfile
Added: trunk/dports/python/py-flask-script/Portfile
===================================================================
--- trunk/dports/python/py-flask-script/Portfile (rev 0)
+++ trunk/dports/python/py-flask-script/Portfile 2014-08-17 03:50:13 UTC (rev 123979)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-flask-script
+set realname Flask-Script
+version 2.0.5
+python.versions 27 33
+license BSD
+platforms darwin
+supported_archs noarch
+maintainers aronnax openmaintainer
+description Scripting support for Flask
+long_description Flask support for writing external scripts.
+homepage http://flask-script.readthedocs.org/
+master_sites http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/
+distname ${realname}-${version}
+
+checksums md5 e5c73d3b7937f5b88942f342f9617029 \
+ sha1 848706d0157fb05a45f3b78304d9f0f6b29452c5 \
+ rmd160 734d7bc1a9ef996f9f13a2ef6d3f3b3b41997a6a
+
+if {${name} eq ${subport}} {
+ livecheck.type regex
+ livecheck.url "http://pypi.python.org/pypi?:action=doap&name=${realname}"
+ livecheck.regex {<release><Version><revision>([^<]+)</revision></Version></release>}
+} else {
+ depends_build-append \
+ port:py${python.version}-setuptools
+
+ depends_lib-append \
+ port:py${python.version}-flask
+
+ livecheck.type none
+}
Property changes on: trunk/dports/python/py-flask-script/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140816/bd89951d/attachment.html>
More information about the macports-changes
mailing list