pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-libdnet add pkg for the Python binding of libdn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfcd35b827c5
branches:  trunk
changeset: 498021:bfcd35b827c5
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Aug 10 13:52:52 2005 +0000

description:
add pkg for the Python binding of libdnet (part of the libdnet
distribution)

diffstat:

 net/py-libdnet/DESCR            |   8 ++++++++
 net/py-libdnet/Makefile         |  19 +++++++++++++++++++
 net/py-libdnet/PLIST            |   2 ++
 net/py-libdnet/buildlink3.mk    |  21 +++++++++++++++++++++
 net/py-libdnet/distinfo         |   6 ++++++
 net/py-libdnet/patches/patch-aa |  13 +++++++++++++
 6 files changed, 69 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/DESCR      Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,8 @@
+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
diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/Makefile   Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+#
+
+DISTNAME=      libdnet-1.10
+PKGNAME=       ${PYPKGPREFIX}-libdnet-1.10
+CATEGORIES=    devel net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libdnet/}
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://libdnet.sourceforge.net/
+COMMENT=       Python wrapper for libdnet
+
+GNU_CONFIGURE= yes
+PYDISTUTILSPKG=        yes
+PYSETUPSUBDIR= python
+
+.include "../../lang/python/extension.mk"
+.include "../../net/libdnet/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/PLIST      Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+${PYSITELIB}/dnet.so
diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/buildlink3.mk      Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+PYLIBDNET_BUILDLINK3_MK:=      ${PYLIBDNET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    pylibdnet
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npylibdnet}
+BUILDLINK_PACKAGES+=   pylibdnet
+
+.if !empty(PYLIBDNET_BUILDLINK3_MK:M+)
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_DEPENDS.pylibdnet+=  ${PYPKGPREFIX}-libdnet>=1.7
+BUILDLINK_PKGSRCDIR.pylibdnet?=        ../../net/py-libdnet
+.endif # PYLIBDNET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/distinfo   Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+
+SHA1 (libdnet-1.10.tar.gz) = 1dd9594adb5a3af121960abd6960bcedfc815f37
+RMD160 (libdnet-1.10.tar.gz) = 167cf841b3fdd061ec8d6a56d53c341678ee5a9e
+Size (libdnet-1.10.tar.gz) = 419752 bytes
+SHA1 (patch-aa) = 34258a63fc9f3866920b7529e8d8b4ea94d36445
diff -r 9aa02bb8ac3d -r bfcd35b827c5 net/py-libdnet/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/patches/patch-aa   Wed Aug 10 13:52:52 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+
+--- python/setup.py.in.orig    2005-08-10 13:33:42.000000000 +0200
++++ python/setup.py.in
+@@ -6,7 +6,7 @@ from distutils.core import setup, Extens
+ dnet_srcs = [ './dnet.c' ]
+ dnet_incdirs = [ '../include' ]
+ dnet_libdirs = []
+-dnet_libs = []
++dnet_libs = [ 'dnet' ]
+ dnet_extargs = []
+ dnet_extobj = []
+ 



Home | Main Index | Thread Index | Old Index