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 | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame] | 6 | PortGroup github 1.0 |
Alexander Afanasyev | aa5f400 | 2013-04-18 12:49:54 -0700 | [diff] [blame] | 7 | |
Alexander Afanasyev | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame] | 8 | github.setup named-data PyCCN v0.3 |
Alexander Afanasyev | 01cac15 | 2013-07-14 13:18:53 -0700 | [diff] [blame] | 9 | checksums rmd160 60ac054e7def2c3993337b5f00863eb5a055d4f6 \ |
| 10 | sha256 99ad8bdf2f15e7eb601aa7b6465d6763a7a13ef9dcd957e9677636c6a6f3efcd |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 11 | |
Alexander Afanasyev | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame] | 12 | name py-ndn |
Alexander Afanasyev | 01cac15 | 2013-07-14 13:18:53 -0700 | [diff] [blame] | 13 | homepage https://github.com/named-data/PyCCN |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 14 | license BSD |
Alexander Afanasyev | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame] | 15 | version 0.3 |
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 | python.versions 27 |
| 18 | python.default_version 27 |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 19 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 20 | categories net ccnx python |
| 21 | platforms darwin |
| 22 | maintainers ucla.edu:alexander.afanasyev |
| 23 | |
Alexander Afanasyev | 01cac15 | 2013-07-14 13:18:53 -0700 | [diff] [blame] | 24 | description PyNDN (aka PyCCN) - NDN bindings for Python |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 25 | |
| 26 | long_description A "thin" implementation, which supports Python \ |
Alexander Afanasyev | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame] | 27 | objects corresponding to the major NDNx entities - Interest, ContentObject, and \ |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 28 | so on, as well as some support objects. The C code is mostly just responsible \ |
| 29 | for marshaling data back and forth between the formats, though there are some \ |
| 30 | useful functions for key generation/access included. |
| 31 | |
| 32 | depends_lib-append port:ccnx |
| 33 | |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 34 | use_configure yes |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 35 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 36 | configure.cmd ./waf configure |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 37 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 38 | pre-configure { |
| 39 | configure.env-append PYTHONDIR=${python.pkgd} \ |
| 40 | PYTHONARCHDIR=${python.pkgd} |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 41 | configure.python ${python.bin} |
Alexander Afanasyev | 4c59013 | 2012-08-24 22:19:03 -0700 | [diff] [blame] | 42 | } |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 43 | |
Alexander Afanasyev | 01cac15 | 2013-07-14 13:18:53 -0700 | [diff] [blame] | 44 | configure.args-append --ndnx=${prefix} \ |
| 45 | --openssl=${prefix} |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 46 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 47 | build.cmd ./waf |
| 48 | build.target build |
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 | destroot.cmd ./waf |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 51 | destroot.target install |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 52 | destroot.destdir --destdir=${destroot} |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 53 | |