diff --git a/dev-python/buildbot_slave/buildbot_slave-0.8.8.recipe b/dev-python/buildbot_slave/buildbot_slave-0.8.8.recipe new file mode 100644 index 000000000..f1211fc9a --- /dev/null +++ b/dev-python/buildbot_slave/buildbot_slave-0.8.8.recipe @@ -0,0 +1,66 @@ +SUMMARY="Python-based continuous integration testing framework." +DESCRIPTION=" +Buildbot is a continuous integration system designed to automate the \ +build/test cycle. By automatically rebuilding and testing the tree each time \ +something has changed, build problems are pinpointed quickly, before other \ +developers are inconvenienced by the failure. Features + +* Buildbot is easy to set up, but very extensible and customizable. It \ + supports arbitrary build processes, and is not limited to common build \ + processes for particular languages (e.g., autotools or ant) + +* Buildbot supports building and testing on a variety of platforms. \ + Developers, who do not have the facilities to test their changes everywhere \ + before committing, will know shortly afterwards whether they have broken the \ + build or not. + +* Buildbot has minimal requirements for slaves: using virtualenv, only a \ + Python installation is required. + +* Slaves can be run behind a NAT firewall and communicate with the master + +* Buildbot has a variety of status-reporting tools to get information about \ + builds in front of developers in a timely manner. + +This package contains the slave implementation, i.e. the part that is \ +executing builds and/or tests. +" +HOMEPAGE="http://www.buildbot.net" +SRC_URI="https://buildbot.googlecode.com/files/buildbot-slave-0.8.8.tar.gz" +CHECKSUM_SHA256="8b7532d4d34527aea41e353d1bc3c35291ec335d3224c27800d2cc0cfc9837cc" +LICENSE="GNU GPL v2" +COPYRIGHT="2005-2013 Bryan Warner and the Buildbot team members" +REVISION="1" + +ARCHITECTURES="any" + +SOURCE_DIR="buildbot-slave-$portVersion" + +PROVIDES=" + buildbot_slave = $portVersion + cmd:buildslave = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + cmd:python + python_twisted + " + +BUILD_REQUIRES="" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:python + " + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +} diff --git a/dev-python/mock/python_mock-1.0.1.recipe b/dev-python/mock/python_mock-1.0.1.recipe new file mode 100644 index 000000000..ba2d9764c --- /dev/null +++ b/dev-python/mock/python_mock-1.0.1.recipe @@ -0,0 +1,51 @@ +SUMMARY="A library for testing in Python" +DESCRIPTION=" +Mock allows you to replace parts of your system under test with mock objects \ +and make assertions about how they have been used. + +Mock provides a core 'MagicMock' class removing the need to create a host of \ +stubs throughout your test suite. After performing an action, you can make \ +assertions about which methods / attributes were used and arguments they were \ +called with. You can also specify return values and set needed attributes in \ +the normal way. + +The mock module also provides utility functions / objects to assist with \ +testing, particularly monkey patching. +" +HOMEPAGE="http://pypi.python.org/pypi/mock" +SRC_URI="https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz" +CHECKSUM_SHA256="b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f" +LICENSE="BSD (2-clause)" +COPYRIGHT="2003-2012, Michael Foord" +REVISION="1" + +ARCHITECTURES="any" + +SOURCE_DIR="mock-$portVersion" + +PROVIDES=" + python_mock = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + cmd:python + " + +BUILD_REQUIRES="" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:python + " + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +} diff --git a/dev-python/twisted/python_twisted-13.2.0.recipe b/dev-python/twisted/python_twisted-13.2.0.recipe new file mode 100644 index 000000000..64dc3b0e3 --- /dev/null +++ b/dev-python/twisted/python_twisted-13.2.0.recipe @@ -0,0 +1,80 @@ +SUMMARY="An event-driven networking engine written in Python" +DESCRIPTION=" +Twisted is an event-based framework for internet applications. It includes \ +modules for many different purposes, including the following: + +- twisted.application + A "Service" system that allows you to organize your application in \ + hierarchies with well-defined startup and dependency semantics, + +- twisted.cred + A general credentials and authentication system that facilitates \ + pluggable authentication backends, + +- twisted.enterprise + Asynchronous database access, compatible with any Python DBAPI2.0 \ + modules, + +- twisted.internet + Low-level asynchronous networking APIs that allow you to define \ + your own protocols that run over certain transports, + +- twisted.manhole + A tool for remote debugging of your services which gives you a \ + Python interactive interpreter, + +- twisted.protocols + Basic protocol implementations and helpers for your own protocol \ + implementations, + +- twisted.python + A large set of utilities for Python tricks, reflection, text \ + processing, and anything else, + +- twisted.spread + A secure, fast remote object system, + +- twisted.trial + A unit testing framework that integrates well with Twisted-based code. +" +HOMEPAGE="http://twistedmatrix.com" +SRC_URI="https://twistedmatrix.com/Releases/Twisted/13.2/Twisted-13.2.0.tar.bz2" +CHECKSUM_SHA256="095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3" +LICENSE="MIT" +COPYRIGHT="2001-2013 Twisted project members" +REVISION="1" + +ARCHITECTURES="x86 x86_gcc2 x86_64" + +SOURCE_DIR="Twisted-$portVersion" + +PROVIDES=" + python_twisted = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + python_zope.interface >= 3.6.0 + cmd:python + " + +BUILD_REQUIRES=" + python_zope.interface >= 3.6.0 + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:python + cmd:gcc + " + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +} diff --git a/dev-python/zope.interface/licenses/ZPL 2.1 b/dev-python/zope.interface/licenses/ZPL 2.1 new file mode 100644 index 000000000..e1f9ad7b3 --- /dev/null +++ b/dev-python/zope.interface/licenses/ZPL 2.1 @@ -0,0 +1,44 @@ +Zope Public License (ZPL) Version 2.1 + +A copyright notice accompanies this license document that identifies the +copyright holders. + +This license has been certified as open source. It has also been designated as +GPL compatible by the Free Software Foundation (FSF). + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions in source code must retain the accompanying copyright +notice, this list of conditions, and the following disclaimer. + +2. Redistributions in binary form must reproduce the accompanying copyright +notice, this list of conditions, and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +3. Names of the copyright holders must not be used to endorse or promote +products derived from this software without prior written permission from the +copyright holders. + +4. The right to distribute this software or to use it for any purpose does not +give you the right to use Servicemarks (sm) or Trademarks (tm) of the +copyright +holders. Use of them is covered by separate agreement with the copyright +holders. + +5. If any files are modified, you must cause the modified files to carry +prominent notices stating that you changed the files and the date of any +change. + +Disclaimer + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED +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 HOLDERS 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. diff --git a/dev-python/zope.interface/python_zope.interface-4.1.1.recipe b/dev-python/zope.interface/python_zope.interface-4.1.1.recipe new file mode 100644 index 000000000..b5c078533 --- /dev/null +++ b/dev-python/zope.interface/python_zope.interface-4.1.1.recipe @@ -0,0 +1,46 @@ +SUMMARY="Interfaces for Python" +DESCRIPTION=" +This package provides an implementation of 'object interfaces' for Python. \ +Interfaces are a mechanism for labeling objects as conforming to a given \ +API or contract. So, this package can be considered as implementation of the \ +Design By Contract methodology support in Python. + +For detailed documentation, please see http://docs.zope.org/zope.interface +" +HOMEPAGE="http://pypi.python.org/pypi/zope.interface" +SRC_URI="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.1.tar.gz" +CHECKSUM_SHA256="91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da" +LICENSE="ZPL 2.1" +COPYRIGHT="2004-2014 Zope Foundation and Contributors" +REVISION="1" + +ARCHITECTURES="any" + +SOURCE_DIR="zope.interface-$portVersion" + +PROVIDES=" + python_zope.interface = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + cmd:python + " + +BUILD_REQUIRES="" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:python + " + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +}