Ticket #40014: Portfile

File Portfile, 1.5 KB (added by smithsp (Sterling Smith), 11 years ago)

Portfile for proposed py-serpent port.

Line 
1# -*- 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
2# $Id$
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           github 1.0
6
7name                py-serpent
8set real_name       serpent
9
10github.author       irmen
11github.project      Serpent
12#github.tarball_from  downloads
13
14version             1.2
15categories          python print
16
17platforms           darwin
18supported_archs     noarch
19license             MIT
20maintainers         nomaintainer
21description         Serialization based on ast.literal_eval
22long_description    \
23    Serpent is a simple serialization library based on ast.literal_eval.  \
24    Because it only serializes literals and recreates the objects using \
25    ast.literal_eval(), the serialized data is safe to transport to other \
26    machines (over the network for instance) and de-serialize it there.
27
28checksums           md5  0d0cf7381b72cae1a598634daad2713a\
29                    rmd160 ddcb04b64a228640c190e415424a145a53e14cb2 \
30                    sha256 e233c7526715d08c3ef0a872f6f3e5a44097f58a557f635af67c91246d5c9841
31python.versions     26 27 31 32 33
32homepage            https://pypi.python.org/pypi/${real_name}/${version} 
33
34master_sites        https://pypi.python.org/packages/source/s/${real_name}/
35   
36distname            ${real_name}-${version}
37
38
39if {$subport != $name} {
40    depends_build-append port:py${python.version}-setuptools
41    livecheck.type       none
42}