/
Portfile
49 lines (43 loc) · 1.59 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $Id$
PortSystem 1.0
PortGroup python24 1.0
name py-pylons
version 0.9.2
categories-append www
maintainers darwinports@opendarwin.org
description Pylons is a lightweight web framework.
long_description Pylons combines the very best ideas from the \
worlds of Ruby, Python and Perl, providing a \
structured but extremely flexible Python web \
framework. It's also one of the first projects \
to leverage the emerging WSGI standard, which \
allows extensive re-use and flexibility -- but \
only if you need it. Out of the box, Pylons \
aims to make web development fast, flexible \
and easy.
platforms darwin
homepage http://pylonshq.com/
master_sites http://cheeseshop.python.org/packages/source/P/Pylons/
distname Pylons-${version}
checksums md5 e3f376a7cdc1cabdb205114bb8123c93 \
sha1 3839cfa1c46a4a47160e5d32fb51ac3a512091d1 \
rmd160 20c5e9e67883be4d32a037aea56871c8f0e3cfc9
depends_lib port:py-setuptools \
port:py-routes \
port:py-myghty \
port:py-paste \
port:py-pastedeploy \
port:py-pastescript \
port:py-simplejson \
port:py-webhelpers \
port:py-nose \
port:py-beaker \
port:py-formencode \
port:py-cheetah
post-destroot {
# Dependencies are the packaging system's job, for crying out loud.
# Cheetah doesn't use setuptools.
reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
# Neither does FormEncode
reinplace s|^FormEncode.*||g $destroot/$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
}