debian/0000755000000000000000000000000011760050120007156 5ustar debian/source/0000755000000000000000000000000011760050120010456 5ustar debian/source/format0000644000000000000000000000001411760050120011664 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000034611760050120010212 0ustar version=3 # We are not using tarballs anyways -- just tracking availability. # PyPi is the first found location with clear version definition in an # href= needed for uscan http://pypi.python.org/pypi/openopt/ /pypi.*version=(.*) debian/patches/0000755000000000000000000000000011760050120010605 5ustar debian/patches/series0000644000000000000000000000003111760050120012014 0ustar deb_we_are_not_enthought debian/patches/deb_we_are_not_enthought0000644000000000000000000000047511760050120015557 0ustar --- a/openopt/__init__.py +++ b/openopt/__init__.py @@ -36,7 +36,11 @@ try: isE = False except ImportError: pass - + +# Debian: we do have enthought modules but we are not EPD, +# just skip such a blame at once +isE = False + if isE: s = """ Seems like you are using OpenOpt from debian/changelog0000644000000000000000000000650111760050120011032 0ustar openopt (0.38+svn1589-1) unstable; urgency=low * The most recent upstream release with 43 post-release commits * debian/copyright: DEP5 v.1.0 * debian/control: boosted policy compliance to 3.9.3 -- Yaroslav Halchenko Fri, 25 May 2012 23:24:16 -0400 openopt (0.34+svn1146-1) unstable; urgency=low * New upstream release + few post-release commits (docs and a enhancement) (Closes: #631097) * Patch deb_we_are_not_enthought to avoid pointless message on Debian systems -- Yaroslav Halchenko Tue, 21 Jun 2011 08:55:06 -0400 openopt (0.32-1) unstable; urgency=low * New upstream release * [c1e618d] debian/control: removed python-glpk from Suggests (per upstream recommendation) * [9b10530] deprecate use of debian-release branch -- debian will be based on upstream sources * [c3f82fd] dropping up_no_string_exceptions patch -- absorbed upstream -- Yaroslav Halchenko Wed, 15 Dec 2010 12:28:51 -0500 openopt (0.31+svn760-1) unstable; urgency=low * New upstream release (Closes: #600676) + few postrelease fixes commits (recommended by upstream) * patch up_no_string_exceptions (Closes: #585311) * [223fdf7] debian/watch: use pypi openopt page to deduce the available version of openopt * [061e89d] use 3.0 (quilt) source format * [561e515] use pysupport * [79b6176] boosted policy compliance to 3.9.1: BSD license verbatim DEP-5 rev 135 copyright * [9307d8b] Moving python-glpk into suggests -- thanks Dmitrey for pointing that out -- Yaroslav Halchenko Wed, 20 Oct 2010 09:06:20 -0400 openopt (0.27+svn364-1) unstable; urgency=low * New upstream release. * Post-release is takens since some bugs were fixed (some forbidden building a debian package with pure 0.27). -- Yaroslav Halchenko Fri, 25 Dec 2009 22:14:19 -0500 openopt (0.25+svn291-1) unstable; urgency=low * Thanks to christophe.trophime for reminding about new release of openopt and even providing NMU package. * Upstream has moved to a new location/SVN away from scikits. Therefor source/binary package/python module path name change. Adjust your python import statements accordingly. * Corresponding changes in packaging: - upstream development remains sucked into GIT repository using git-svn. Actually Debian-package git contains more complete history, including previous development - debian/copyright: updated years, removed Matthieu code's copyright since code was stripped off upstream - gbp.conf now under debian/ - debian/watch: adjusted to point new url - isn't compatible with python 2.4 * Debian policy boosted to 3.8.3 (no additional changes are due) -- Yaroslav Halchenko Sun, 29 Nov 2009 21:56:38 -0500 python-scikits-openopt (0.19+svn1555-1) unstable; urgency=low * Fresh upstream snapshot (plenty of bug fixes) * Fixed Depends (added numpy), Recommends(added scipy, glpk), Suggests (added lp-solve, no python bindings yet) -- Yaroslav Halchenko Sun, 26 Oct 2008 12:57:46 -0400 python-scikits-openopt (0.19+svn1389-1) unstable; urgency=low * Initial release (Closes: #483719) -- Yaroslav Halchenko Wed, 17 Sep 2008 14:41:33 -0400 debian/copyright0000644000000000000000000000353711760050120011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OpenOpt Upstream-Contact: Dmitrey Kroshko Source: svn://openopt.org/PythonPackages/OpenOpt Files: * Copyright: Copyright (C) 2007-2012 Dmitrey Kroshko License: BSD-3 Files: debian/* Copyright: Copyright (C) 2008-2012, Yaroslav Halchenko License: BSD-3 License: BSD-3 All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/rules0000755000000000000000000000064211760050120010240 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/class/python-distutils.mk DEB_INSTALL_EXAMPLES_python-openopt := openopt/examples/* # immediately useable documentation and examples DEB_COMPRESS_EXCLUDE := .py .pdf .html .css .jpg .txt .js .json clean:: find -iname \*.pyc -delete rm -f openopt/kernel/solverPaths.py rm -rf openopt.egg-info debian/docs0000644000000000000000000000001311760050120010023 0ustar README.txt debian/gbp.conf0000644000000000000000000000151311760050120010575 0ustar [DEFAULT] # the default build command: builder = debuild -i'\.(git\.*|gbp.conf)' # the default clean command: cleaner = fakeroot debian/rules clean # the default branch for upstream sources: upstream-branch = master # the default branch for the debian patch: debian-branch = debian # the default tag formats used: upstream-tag = upstream/%(version)s debian-tag = debian/%(version)s # Options only affecting git-buildpackage [git-buildpackage] # ignore some any non-gitted files #ignore-new = True #upstream-branch = dfsgclean # uncomment this to automatically GPG sign tags #sign-tags = True # keyid to GPG sign tags with #keyid = 0xdeadbeef # push to a remote repository after a successful tag: #posttag = git-push git.example.com # use this for more svn-buildpackage like bahaviour: export-dir = ../build-area/ tarball-dir = ../tarballs/ debian/pycompat0000644000000000000000000000000211760050120010725 0ustar 2 debian/control0000644000000000000000000000253311760050120010564 0ustar Source: openopt Section: python Priority: extra Maintainer: Yaroslav Halchenko Build-Depends: cdbs(>=0.4.49), debhelper (>= 5.0.38), python-support, python-setuptools, python, python-numpy XS-Python-Version: >= 2.5 Vcs-Browser: http://git.onerussian.com/?p=deb/openopt.git Vcs-git: http://git.onerussian.com/vcs/deb/openopt.git Homepage: http://www.openopt.org Standards-Version: 3.9.3 Package: python-openopt Architecture: all Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-numpy Recommends: python-scipy, python-cvxopt, python-matplotlib, python-setproctitle Suggests: lp-solve Replaces: python-scikits-openopt Conflicts: python-scikits-openopt XB-Python-Version: ${python:Versions} Provides: ${python:Provides} Description: Python module for numerical optimization Numerical optimization framework developed in Python which provides connections to lots of solvers with easy and unified OpenOpt syntax. Problems which can be tackled with OpenOpt * Linear Problem (LP) * Mixed-Integer Linear Problem (MILP) * Quadratic Problem (QP) * Non-Linear Problem (NLP) * Non-Smooth Problem (NSP) * Non-Linear Solve Problem (NLSP) * Least Squares Problem (LSP) * Linear Least Squares Problem (LLSP) * Mini-Max Problem (MMP) * Global Problem (GLP) . A variety of solvers is available (e.g. IPOPT, ALGENCAN). debian/compat0000644000000000000000000000000211760050120010354 0ustar 5