Ticket #5946 (closed enhancement: fixed)
NEW: py-libdnet 1.10
| Reported by: | chris.owen@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
py-libdnet-1.10
The portfile can be found: ATTACHED
Description: This is a python extention to dugsongs excellent dnet library (low-level networking).
Homepage: http://libdnet.sf.net
Comments: I hope my approach is good. I copied what was done for py-readline.
Christopher Owen e: chris.owen@… c: 604.306.0704
Attachments
Change History
Changed 8 years ago by chris.owen@…
- Attachment pylibdnet.tar.gz added
comment:1 Changed 8 years ago by chris.owen@…
* Bug 5945 has been marked as a duplicate of this bug. *
comment:2 Changed 8 years ago by chris.owen@…
The Portfile should be broken into multiple lines.
Here's the new Portfile (you'll still need the archive for the setup.py file):
# $Id: $ PortSystem 1.0 PortGroup python24 1.0
name pylibdnet version 1.10 categories python net maintainers chris.owen@… description A python module for the libdnet low-level networking library. long_description \
Libdnet provides a simplified, portable interface to several low-level \ networking routines, including: network address manipulation, kernel \ arp(4) cache and route(4) table lookup and manipulation, network \ firewalling (IP filter, ipfw, ipchains, pf, ...), network interface \ lookup and manipulation, raw IP packet and Ethernet frame transmission.
homepage http://libdnet.sourceforge.net/ master_sites sourceforge:libdnet distname libdnet-${version}
depends_lib-append port:libdnet
checksums md5 416b765e9d9961501ac85e9a366fd219 checksums sha1 1dd9594adb5a3af121960abd6960bcedfc815f37 checksums rmd160 167cf841b3fdd061ec8d6a56d53c341678ee5a9e
worksrcdir ${worksrcdir}/python
post-extract {
file copy ${filespath}/setup.py ${worksrcpath}
}
comment:4 Changed 8 years ago by chris.owen@…
I've created a new tarball
(In reply to comment #3)
The Portfile should be broken into multiple lines.
Here's the new Portfile (you'll still need the archive for the setup.py file):
# $Id: $ PortSystem 1.0 PortGroup python24 1.0
name pylibdnet version 1.10 categories python net maintainers chris.owen@… description A python module for the libdnet low-level networking library. long_description \
Libdnet provides a simplified, portable interface to several low-level \ networking routines, including: network address manipulation, kernel \ arp(4) cache and route(4) table lookup and manipulation, network \ firewalling (IP filter, ipfw, ipchains, pf, ...), network interface \ lookup and manipulation, raw IP packet and Ethernet frame transmission.
homepage http://libdnet.sourceforge.net/ master_sites sourceforge:libdnet distname libdnet-${version}
depends_lib-append port:libdnet
checksums md5 416b765e9d9961501ac85e9a366fd219 checksums sha1 1dd9594adb5a3af121960abd6960bcedfc815f37 checksums rmd160 167cf841b3fdd061ec8d6a56d53c341678ee5a9e
worksrcdir ${worksrcdir}/python
post-extract {
file copy ${filespath}/setup.py ${worksrcpath}
}


This is the port