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 |
| 9 | checksums rmd160 9a14b55a30b6ab762dfb28035d468bfab116b765 \ |
| 10 | sha256 c17f9cb6aa1670f967e8190a3ebdc98e594429feb7f447b252c82f96a75d6676 |
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 |
| 13 | homepage https://github.com/named-data/py-ndn |
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 | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame^] | 24 | description py-ndn - 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 | 935dfeb | 2013-07-09 19:07:10 -0700 | [diff] [blame^] | 44 | configure.args-append --ndnx=${prefix} |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 45 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 46 | build.cmd ./waf |
| 47 | build.target build |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 48 | |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 49 | destroot.cmd ./waf |
Alexander Afanasyev | 9291faa | 2012-08-27 15:00:11 -0700 | [diff] [blame] | 50 | destroot.target install |
Alexander Afanasyev | 089e7ec | 2013-04-30 16:49:30 -0700 | [diff] [blame] | 51 | destroot.destdir --destdir=${destroot} |
Alexander Afanasyev | c08ab17 | 2012-08-24 18:11:18 -0700 | [diff] [blame] | 52 | |