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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | PortGroup python 1.0 |
---|
7 | PortGroup select 1.0 |
---|
8 | |
---|
9 | set realname raet |
---|
10 | |
---|
11 | github.setup saltstack raet 0.3.8 v |
---|
12 | name py-raet |
---|
13 | categories net |
---|
14 | platforms darwin |
---|
15 | maintainers saltstack.com:cr |
---|
16 | license Apache-2 |
---|
17 | supported_archs noarch |
---|
18 | distname v0.3.8 |
---|
19 | |
---|
20 | description RAET is a 'Reliable Asynchronous Event Transport' \ |
---|
21 | library. |
---|
22 | |
---|
23 | long_description RAET allows reliable, asynchronous, encrypted communications \ |
---|
24 | in a one-to-one, one-to-many, or many-to-many fashion. |
---|
25 | |
---|
26 | homepage http://github.com/saltstack/raet |
---|
27 | |
---|
28 | python.versions 27 34 |
---|
29 | python.default_version 27 |
---|
30 | |
---|
31 | checksums rmd160 de868b2d0d7c8ade35b3fe2d9321278d7e990911 \ |
---|
32 | sha256 db5df3837bee4478243b55e6459da9822ccbbe87f6bc8aee68177acedb9d29d4 |
---|
33 | |
---|
34 | if {${name} ne ${subport}} { |
---|
35 | depends_lib-append port:py${python.version}-setuptools \ |
---|
36 | port:py${python.version}-six \ |
---|
37 | port:py${python.version}-libnacl \ |
---|
38 | port:py${python.version}-ioflo |
---|
39 | depends_run port:raet_select |
---|
40 | |
---|
41 | post-destroot { |
---|
42 | delete ${destroot}${prefix}/bin/raetflo[string range ${python.version} 0 end-1]-${python.branch} |
---|
43 | delete ${destroot}${prefix}/bin/raetflo${python.branch}-${python.branch} |
---|
44 | } |
---|
45 | |
---|
46 | select.group ${realname} |
---|
47 | select.file ${filespath}/raetflo${python.version} |
---|
48 | |
---|
49 | notes " |
---|
50 | To make the Python ${python.branch} version of raet the one that is run \ |
---|
51 | when you execute the commands without a version suffix, e.g. 'raetflo', run: |
---|
52 | |
---|
53 | port select --set ${select.group} [file tail ${select.file}] |
---|
54 | " |
---|
55 | |
---|
56 | } |
---|
57 | |
---|
58 | depends_lib-append port:libsodium |
---|