Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 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 |
Alexander Afanasyev | 4c59013 | 2012-08-24 22:19:03 -0700 | [diff] [blame] | 2 | # $Id$ |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 3 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 4 | PortSystem 1.0 |
| 5 | PortGroup python 1.0 |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 6 | # PortGroup github 1.0 |
Alexander Afanasyev | aa5f400 | 2013-04-18 12:49:54 -0700 | [diff] [blame] | 7 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 8 | # github.setup should be performed before name directive, otherwise port name becomes incorrect |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 9 | # github.setup named-data PyCCN 86514defb2862231020750bc447dc0377a407592 |
| 10 | # checksums rmd160 eb78fb0a5985ec6260e28cf03cb0747b9b04804b \ |
| 11 | # sha256 4bfa2734e2b0dcaa886083c65292c014daca87ca631a9363184da59ff9c429dd |
| 12 | |
| 13 | fetch.type git |
| 14 | git.url /Users/cawka/Devel/ndn/PyCCN |
| 15 | git.branch 9e6064ae55c6f3ee88f1ae94605a8e5d01c5a8e7 |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 16 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 17 | name py-pyccn |
| 18 | homepage https://github.com/remap/PyCCN |
| 19 | license BSD |
| 20 | version 0.2 |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 21 | revision 2 |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 22 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 23 | python.versions 27 |
| 24 | python.default_version 27 |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 25 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 26 | categories net ccnx python |
| 27 | platforms darwin |
| 28 | maintainers ucla.edu:alexander.afanasyev |
| 29 | |
| 30 | description PyCCN - CCN bindings for Python |
| 31 | |
| 32 | long_description A "thin" implementation, which supports Python \ |
| 33 | objects corresponding to the major CCNx entities - Interest, ContentObject, and \ |
| 34 | so on, as well as some support objects. The C code is mostly just responsible \ |
| 35 | for marshaling data back and forth between the formats, though there are some \ |
| 36 | useful functions for key generation/access included. |
| 37 | |
| 38 | depends_lib-append port:ccnx |
| 39 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 40 | use_configure yes |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 41 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 42 | configure.cmd ./waf configure |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 43 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 44 | pre-configure { |
| 45 | configure.env-append PYTHONDIR=${python.pkgd} \ |
| 46 | PYTHONARCHDIR=${python.pkgd} |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 47 | configure.python ${python.bin} |
Alexander Afanasyev | 4c59013 | 2012-08-24 22:19:03 -0700 | [diff] [blame] | 48 | } |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 49 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 50 | configure.args-append --ccnx=${prefix} |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 51 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 52 | build.cmd ./waf |
| 53 | build.target build |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 54 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 55 | destroot.cmd ./waf |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 56 | destroot.target install |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame^] | 57 | destroot.destdir --destdir=${destroot} |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 58 | |