pkgsrc-WIP-changes archive

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

Import wip/py-mininet to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Aug 23 00:04:24 2021 +0100
Changeset:	563d205229637509d5ddc15288b36663b3659bbd

Modified Files:
	Makefile
Added Files:
	py-mininet/DESCR
	py-mininet/Makefile
	py-mininet/PLIST
	py-mininet/distinfo
	py-mininet/patches/patch-setup.py

Log Message:
Import wip/py-mininet to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=563d205229637509d5ddc15288b36663b3659bbd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |   1 +
 py-mininet/DESCR                  |   4 +
 py-mininet/Makefile               |  18 +++++
 py-mininet/PLIST                  | 157 ++++++++++++++++++++++++++++++++++++++
 py-mininet/distinfo               |   7 ++
 py-mininet/patches/patch-setup.py |  13 ++++
 6 files changed, 200 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 10432e5c38..2eafd32d81 100644
--- a/Makefile
+++ b/Makefile
@@ -4039,6 +4039,7 @@ SUBDIR+=	py-milksnake
 SUBDIR+=	py-minecraft
 SUBDIR+=	py-minepy
 SUBDIR+=	py-minidb
+SUBDIR+=	py-mininet
 SUBDIR+=	py-mipp
 SUBDIR+=	py-mishkal
 SUBDIR+=	py-mkdocs-material
diff --git a/py-mininet/DESCR b/py-mininet/DESCR
new file mode 100644
index 0000000000..6a6b6a6a25
--- /dev/null
+++ b/py-mininet/DESCR
@@ -0,0 +1,4 @@
+Mininet is a network emulator which uses lightweight
+virtualization to create virtual networks for rapid
+prototyping of Software-Defined Network (SDN) designs
+using OpenFlow.
diff --git a/py-mininet/Makefile b/py-mininet/Makefile
new file mode 100644
index 0000000000..ca184fb29f
--- /dev/null
+++ b/py-mininet/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	mininet-2.3.0.dev6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_PYPI:=m/mininet/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	http://mininet.org/
+COMMENT=	Process-based OpenFlow emulator
+LICENSE=	modified-bsd
+
+post-extract:
+	${MV} ${WRKSRC}/bin/mn	${WRKSRC}/bin/mn${PYVERSSUFFIX}
+
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-mininet/PLIST b/py-mininet/PLIST
new file mode 100644
index 0000000000..4095e68104
--- /dev/null
+++ b/py-mininet/PLIST
@@ -0,0 +1,157 @@
+@comment $NetBSD$
+bin/mn${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mininet/__init__.py
+${PYSITELIB}/mininet/__init__.pyc
+${PYSITELIB}/mininet/__init__.pyo
+${PYSITELIB}/mininet/clean.py
+${PYSITELIB}/mininet/clean.pyc
+${PYSITELIB}/mininet/clean.pyo
+${PYSITELIB}/mininet/cli.py
+${PYSITELIB}/mininet/cli.pyc
+${PYSITELIB}/mininet/cli.pyo
+${PYSITELIB}/mininet/examples/__init__.py
+${PYSITELIB}/mininet/examples/__init__.pyc
+${PYSITELIB}/mininet/examples/__init__.pyo
+${PYSITELIB}/mininet/examples/baresshd.py
+${PYSITELIB}/mininet/examples/baresshd.pyc
+${PYSITELIB}/mininet/examples/baresshd.pyo
+${PYSITELIB}/mininet/examples/bind.py
+${PYSITELIB}/mininet/examples/bind.pyc
+${PYSITELIB}/mininet/examples/bind.pyo
+${PYSITELIB}/mininet/examples/cluster.py
+${PYSITELIB}/mininet/examples/cluster.pyc
+${PYSITELIB}/mininet/examples/cluster.pyo
+${PYSITELIB}/mininet/examples/clusterSanity.py
+${PYSITELIB}/mininet/examples/clusterSanity.pyc
+${PYSITELIB}/mininet/examples/clusterSanity.pyo
+${PYSITELIB}/mininet/examples/clustercli.py
+${PYSITELIB}/mininet/examples/clustercli.pyc
+${PYSITELIB}/mininet/examples/clustercli.pyo
+${PYSITELIB}/mininet/examples/clusterdemo.py
+${PYSITELIB}/mininet/examples/clusterdemo.pyc
+${PYSITELIB}/mininet/examples/clusterdemo.pyo
+${PYSITELIB}/mininet/examples/clusterperf.py
+${PYSITELIB}/mininet/examples/clusterperf.pyc
+${PYSITELIB}/mininet/examples/clusterperf.pyo
+${PYSITELIB}/mininet/examples/consoles.py
+${PYSITELIB}/mininet/examples/consoles.pyc
+${PYSITELIB}/mininet/examples/consoles.pyo
+${PYSITELIB}/mininet/examples/controllers.py
+${PYSITELIB}/mininet/examples/controllers.pyc
+${PYSITELIB}/mininet/examples/controllers.pyo
+${PYSITELIB}/mininet/examples/controllers2.py
+${PYSITELIB}/mininet/examples/controllers2.pyc
+${PYSITELIB}/mininet/examples/controllers2.pyo
+${PYSITELIB}/mininet/examples/controlnet.py
+${PYSITELIB}/mininet/examples/controlnet.pyc
+${PYSITELIB}/mininet/examples/controlnet.pyo
+${PYSITELIB}/mininet/examples/cpu.py
+${PYSITELIB}/mininet/examples/cpu.pyc
+${PYSITELIB}/mininet/examples/cpu.pyo
+${PYSITELIB}/mininet/examples/emptynet.py
+${PYSITELIB}/mininet/examples/emptynet.pyc
+${PYSITELIB}/mininet/examples/emptynet.pyo
+${PYSITELIB}/mininet/examples/hwintf.py
+${PYSITELIB}/mininet/examples/hwintf.pyc
+${PYSITELIB}/mininet/examples/hwintf.pyo
+${PYSITELIB}/mininet/examples/intfoptions.py
+${PYSITELIB}/mininet/examples/intfoptions.pyc
+${PYSITELIB}/mininet/examples/intfoptions.pyo
+${PYSITELIB}/mininet/examples/limit.py
+${PYSITELIB}/mininet/examples/limit.pyc
+${PYSITELIB}/mininet/examples/limit.pyo
+${PYSITELIB}/mininet/examples/linearbandwidth.py
+${PYSITELIB}/mininet/examples/linearbandwidth.pyc
+${PYSITELIB}/mininet/examples/linearbandwidth.pyo
+${PYSITELIB}/mininet/examples/linuxrouter.py
+${PYSITELIB}/mininet/examples/linuxrouter.pyc
+${PYSITELIB}/mininet/examples/linuxrouter.pyo
+${PYSITELIB}/mininet/examples/miniedit.py
+${PYSITELIB}/mininet/examples/miniedit.pyc
+${PYSITELIB}/mininet/examples/miniedit.pyo
+${PYSITELIB}/mininet/examples/mobility.py
+${PYSITELIB}/mininet/examples/mobility.pyc
+${PYSITELIB}/mininet/examples/mobility.pyo
+${PYSITELIB}/mininet/examples/multilink.py
+${PYSITELIB}/mininet/examples/multilink.pyc
+${PYSITELIB}/mininet/examples/multilink.pyo
+${PYSITELIB}/mininet/examples/multiping.py
+${PYSITELIB}/mininet/examples/multiping.pyc
+${PYSITELIB}/mininet/examples/multiping.pyo
+${PYSITELIB}/mininet/examples/multipoll.py
+${PYSITELIB}/mininet/examples/multipoll.pyc
+${PYSITELIB}/mininet/examples/multipoll.pyo
+${PYSITELIB}/mininet/examples/multitest.py
+${PYSITELIB}/mininet/examples/multitest.pyc
+${PYSITELIB}/mininet/examples/multitest.pyo
+${PYSITELIB}/mininet/examples/nat.py
+${PYSITELIB}/mininet/examples/nat.pyc
+${PYSITELIB}/mininet/examples/nat.pyo
+${PYSITELIB}/mininet/examples/natnet.py
+${PYSITELIB}/mininet/examples/natnet.pyc
+${PYSITELIB}/mininet/examples/natnet.pyo
+${PYSITELIB}/mininet/examples/numberedports.py
+${PYSITELIB}/mininet/examples/numberedports.pyc
+${PYSITELIB}/mininet/examples/numberedports.pyo
+${PYSITELIB}/mininet/examples/popen.py
+${PYSITELIB}/mininet/examples/popen.pyc
+${PYSITELIB}/mininet/examples/popen.pyo
+${PYSITELIB}/mininet/examples/popenpoll.py
+${PYSITELIB}/mininet/examples/popenpoll.pyc
+${PYSITELIB}/mininet/examples/popenpoll.pyo
+${PYSITELIB}/mininet/examples/scratchnet.py
+${PYSITELIB}/mininet/examples/scratchnet.pyc
+${PYSITELIB}/mininet/examples/scratchnet.pyo
+${PYSITELIB}/mininet/examples/scratchnetuser.py
+${PYSITELIB}/mininet/examples/scratchnetuser.pyc
+${PYSITELIB}/mininet/examples/scratchnetuser.pyo
+${PYSITELIB}/mininet/examples/simpleperf.py
+${PYSITELIB}/mininet/examples/simpleperf.pyc
+${PYSITELIB}/mininet/examples/simpleperf.pyo
+${PYSITELIB}/mininet/examples/sshd.py
+${PYSITELIB}/mininet/examples/sshd.pyc
+${PYSITELIB}/mininet/examples/sshd.pyo
+${PYSITELIB}/mininet/examples/tree1024.py
+${PYSITELIB}/mininet/examples/tree1024.pyc
+${PYSITELIB}/mininet/examples/tree1024.pyo
+${PYSITELIB}/mininet/examples/treeping64.py
+${PYSITELIB}/mininet/examples/treeping64.pyc
+${PYSITELIB}/mininet/examples/treeping64.pyo
+${PYSITELIB}/mininet/examples/vlanhost.py
+${PYSITELIB}/mininet/examples/vlanhost.pyc
+${PYSITELIB}/mininet/examples/vlanhost.pyo
+${PYSITELIB}/mininet/link.py
+${PYSITELIB}/mininet/link.pyc
+${PYSITELIB}/mininet/link.pyo
+${PYSITELIB}/mininet/log.py
+${PYSITELIB}/mininet/log.pyc
+${PYSITELIB}/mininet/log.pyo
+${PYSITELIB}/mininet/moduledeps.py
+${PYSITELIB}/mininet/moduledeps.pyc
+${PYSITELIB}/mininet/moduledeps.pyo
+${PYSITELIB}/mininet/net.py
+${PYSITELIB}/mininet/net.pyc
+${PYSITELIB}/mininet/net.pyo
+${PYSITELIB}/mininet/node.py
+${PYSITELIB}/mininet/node.pyc
+${PYSITELIB}/mininet/node.pyo
+${PYSITELIB}/mininet/nodelib.py
+${PYSITELIB}/mininet/nodelib.pyc
+${PYSITELIB}/mininet/nodelib.pyo
+${PYSITELIB}/mininet/term.py
+${PYSITELIB}/mininet/term.pyc
+${PYSITELIB}/mininet/term.pyo
+${PYSITELIB}/mininet/topo.py
+${PYSITELIB}/mininet/topo.pyc
+${PYSITELIB}/mininet/topo.pyo
+${PYSITELIB}/mininet/topolib.py
+${PYSITELIB}/mininet/topolib.pyc
+${PYSITELIB}/mininet/topolib.pyo
+${PYSITELIB}/mininet/util.py
+${PYSITELIB}/mininet/util.pyc
+${PYSITELIB}/mininet/util.pyo
diff --git a/py-mininet/distinfo b/py-mininet/distinfo
new file mode 100644
index 0000000000..e19aa6baf7
--- /dev/null
+++ b/py-mininet/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (mininet-2.3.0.dev6.tar.gz) = 3993cb073a24759ae5f57ec807299332d4ffb7f7
+RMD160 (mininet-2.3.0.dev6.tar.gz) = 962c6ec4866f38077f27f7653551dfe4a6eb85ac
+SHA512 (mininet-2.3.0.dev6.tar.gz) = b12b79e8eeb7139a12e2c3fb2837508030faae4761476d9c73e58c6cf18970fe4cf2c66489d04441dc49f8f5233293e39db19320ab801d61f317ac09034de046
+Size (mininet-2.3.0.dev6.tar.gz) = 132034 bytes
+SHA1 (patch-setup.py) = 77eed0c3aafc9051394e3dd6ee9106fa2e60d05a
diff --git a/py-mininet/patches/patch-setup.py b/py-mininet/patches/patch-setup.py
new file mode 100644
index 0000000000..b97113eebd
--- /dev/null
+++ b/py-mininet/patches/patch-setup.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- setup.py.orig	2020-09-24 00:55:15.000000000 +0000
++++ setup.py
+@@ -10,7 +10,7 @@ import sys
+ sys.path.append( '.' )
+ from mininet.net import VERSION
+ 
+-scripts = [ join( 'bin', filename ) for filename in [ 'mn' ] ]
++scripts = [ join( 'bin', filename ) for filename in [ 'mn'+sys.version[0:3] ]]
+ 
+ modname = distname = 'mininet'
+ 


Home | Main Index | Thread Index | Old Index