From 927f032f19ed8e24126a2bbca0413c6c81b9cabb Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Sat, 29 Dec 2012 01:40:41 -0500 Subject: [PATCH] MANIFEST.in includes some missing files: tools, README, LICENSE updated debian control structure for building source packages --- MANIFEST.in | 3 ++- tools/DEBIAN/control | 13 ------------- tools/debian/changelog | 5 +++++ tools/debian/compat | 1 + tools/debian/control | 18 ++++++++++++++++++ tools/debian/copyright | 10 ++++++++++ tools/debian/files | 1 + tools/{DEBIAN => debian}/postrm | 3 ++- tools/debian/rules | 4 ++++ tools/debian/source/format | 1 + 10 files changed, 44 insertions(+), 15 deletions(-) delete mode 100644 tools/DEBIAN/control create mode 100644 tools/debian/changelog create mode 100644 tools/debian/compat create mode 100644 tools/debian/control create mode 100644 tools/debian/copyright create mode 100644 tools/debian/files rename tools/{DEBIAN => debian}/postrm (66%) create mode 100755 tools/debian/rules create mode 100644 tools/debian/source/format diff --git a/MANIFEST.in b/MANIFEST.in index fb08e7e5..02d67f6f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,5 +3,6 @@ recursive-include tests *.py *.ui recursive-include examples *.py *.ui recursive-include doc *.rst *.py *.svg *.png *.jpg recursive-include doc/build/html * -include doc/Makefile doc/make.bat +recursive-include tools * +include doc/Makefile doc/make.bat README.txt LICENSE.txt diff --git a/tools/DEBIAN/control b/tools/DEBIAN/control deleted file mode 100644 index d7c74bc7..00000000 --- a/tools/DEBIAN/control +++ /dev/null @@ -1,13 +0,0 @@ -Package: python-pyqtgraph -Version: 0.9.0 -Section: python -Priority: optional -Architecture: all -Essential: no -Installed-Size: 5048 -Maintainer: Luke Campagnola -Homepage: http://luke.campagnola.me/code/pyqtgraph -Depends: python (>= 2.6), python-qt4 | python-pyside, python-scipy, python-numpy -Suggests: python-opengl, python-qt4-gl -Description: Scientific Graphics and GUI Library for Python - PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy. It is intended for use in mathematics / scientific / engineering applications. Despite being written entirely in python, the library is very fast due to its heavy leverage of numpy for number crunching and Qt's GraphicsView framework for fast display. diff --git a/tools/debian/changelog b/tools/debian/changelog new file mode 100644 index 00000000..1edf45f3 --- /dev/null +++ b/tools/debian/changelog @@ -0,0 +1,5 @@ +python-pyqtgraph (0.9.1-1) UNRELEASED; urgency=low + + * Initial release. + + -- Luke Sat, 29 Dec 2012 01:07:23 -0500 diff --git a/tools/debian/compat b/tools/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/tools/debian/compat @@ -0,0 +1 @@ +8 diff --git a/tools/debian/control b/tools/debian/control new file mode 100644 index 00000000..7ab6f28a --- /dev/null +++ b/tools/debian/control @@ -0,0 +1,18 @@ +Source: python-pyqtgraph +Maintainer: Luke Campagnola +Section: python +Priority: optional +Standards-Version: 3.9.3 +Build-Depends: debhelper (>= 8) + +Package: python-pyqtgraph +Architecture: all +Homepage: http://luke.campagnola.me/code/pyqtgraph +Depends: python (>= 2.6), python-support (>= 0.90), python-qt4 | python-pyside, python-scipy, python-numpy, ${misc:Depends} +Suggests: python-opengl, python-qt4-gl +Description: Scientific Graphics and GUI Library for Python + PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy. + It is intended for use in mathematics / scientific / engineering applications. + Despite being written entirely in python, the library is very fast due to its + heavy leverage of numpy for number crunching and Qt's GraphicsView framework + for fast display. diff --git a/tools/debian/copyright b/tools/debian/copyright new file mode 100644 index 00000000..22791ae3 --- /dev/null +++ b/tools/debian/copyright @@ -0,0 +1,10 @@ +Copyright (c) 2012 University of North Carolina at Chapel Hill +Luke Campagnola ('luke.campagnola@%s.com' % 'gmail') + +The MIT License +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/tools/debian/files b/tools/debian/files new file mode 100644 index 00000000..4af05533 --- /dev/null +++ b/tools/debian/files @@ -0,0 +1 @@ +python-pyqtgraph_0.9.1-1_all.deb python optional diff --git a/tools/DEBIAN/postrm b/tools/debian/postrm similarity index 66% rename from tools/DEBIAN/postrm rename to tools/debian/postrm index 35a4685c..e1eae9f2 100755 --- a/tools/DEBIAN/postrm +++ b/tools/debian/postrm @@ -1,2 +1,3 @@ -#!/bin/sh +#!/bin/sh -e +#DEBHELPER# rm -rf /usr/lib/python2.7/dist-packages/pyqtgraph diff --git a/tools/debian/rules b/tools/debian/rules new file mode 100755 index 00000000..2d33f6ac --- /dev/null +++ b/tools/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/tools/debian/source/format b/tools/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/tools/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)