Skip to content

Commit

Permalink
Add debian packaging for ptf (p4lang#49)
Browse files Browse the repository at this point in the history
* Add debian packaging for ptf

* Don't use /etc/ptf/platforms
  • Loading branch information
pavel-shirshov authored and antoninbas committed Nov 4, 2016
1 parent 580c537 commit 206fdb3
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ptf (0.9-1) unstable; urgency=low

* source package automatically created by stdeb 0.8.2

-- Guohan Lu <[email protected]> Mon, 19 Oct 2015 12:49:43 -0700
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: ptf
Maintainer: Guohan Lu <[email protected]>
Section: python
Priority: optional
Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 9)
Standards-Version: 3.9.1

Package: python-ptf
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-scapy
Description: PTF is a Python based dataplane test framework.
.
PTF is a Python based dataplane test framework. It is based on unittest, which is included in the standard Python distribution.
.
This document is meant to provide an introduction to the framework, discuss the basics of running tests and to provide examples of how to add tests.
.
Most of the code was taken from the OFTest framework. However, PTF focuses on the dataplane and is independent of OpenFlow. We also made a few additions to oftest.
.

1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ptf /usr/bin/
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.8.2 at
# Mon, 19 Oct 2015 12:49:43 -0700
export PYBUILD_NAME=ptf
%:
dh $@ --with python2 --buildsystem=pybuild

override_dh_auto_test:

0 comments on commit 206fdb3

Please sign in to comment.