debian/0000755000000000000000000000000012167322175007174 5ustar debian/rules0000755000000000000000000000377512167322125010263 0ustar #!/usr/bin/make -f PY2VERS := $(shell pyversions -r) PY3VERS := $(shell py3versions -r) %: dh $(@) --with python2,python3,sphinxdoc -Spython_distutils override_dh_auto_clean: rm -rf build rm -rf docs/build/html rm -rf *.egg-info find . -name *.coverage.* -delete rm -f man/circuits.*3.1 dh_auto_clean override_dh_auto_build: set -e -x; \ for python in $(PY2VERS); do \ $$python setup.py build -e /usr/bin/python; \ done for python in $(PY3VERS); do \ $$python setup.py build -e /usr/bin/python3; \ done PYTHONPATH=. sphinx-build -N -bhtml docs/source docs/build/html # Copy manpages for Python3 scripts cp man/circuits.bench.1 man/circuits.bench3.1 cp man/circuits.web.1 man/circuits.web3.1 sed -i 's/circuits.bench/circuits.bench3/g' man/circuits.bench3.1 sed -i 's/circuits.web/circuits.web3/g' man/circuits.web3.1 override_dh_auto_install: set -e -x; \ for python2 in $(PY2VERS); do \ $$python2 setup.py install --skip-build --root debian/python-circuits \ --install-layout deb; \ done set -e -x; \ for python3 in $(PY3VERS); do \ $$python3 setup.py install --skip-build --root debian/python3-circuits \ --install-layout deb; \ done # Remove tests to not pollute namespace. rm -rf debian/python*-circuits/usr/lib/python*/dist-packages/tests # Rename scripts for Python3 mv debian/python3-circuits/usr/bin/circuits.bench \ debian/python3-circuits/usr/bin/circuits.bench3 mv debian/python3-circuits/usr/bin/circuits.web \ debian/python3-circuits/usr/bin/circuits.web3 # --excutable option in build has no effect for circuits.web's entrypoint sed -i '1c#!/usr/bin/python' debian/python-circuits/usr/bin/circuits.web sed -i '1c#!/usr/bin/python3' debian/python3-circuits/usr/bin/circuits.web3 override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) # Upstream is calling directly py.test inside a Popen so, for now, tests # are run only for the default version set -e; python setup.py test; endif override_dh_installchangelogs: dh_installchangelogs CHANGES.rst debian/compat0000644000000000000000000000000212167322125010365 0ustar 9 debian/copyright0000644000000000000000000000765612167322125011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: circuits Upstream-Contact: James Mills Source: http://pypi.python.org/pypi/circuits Files: * Copyright: 2004-2013, James Mills License: Expat Files: debian/* Copyright: 2008-2010, Sandro Tosi 2011-2013, Daniele Tricoli License: Expat Files: circuits/six.py Copyright: 2010-2011, Benjamin Peterson License: Expat Files: circuits/web/_httpauth.py Copyright: 2005, Tiago Cogumbreiro License: BSD-3-clause Files: examples/web/terminal/static/js/jquery.terminal.js Copyright: 2009, Sagie Maoz License: GPL-3 License: Expat 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. License: BSD-3-clause 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 Sylvain Hellegouarch nor the names of his 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. License: GPL-3 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file. debian/python-circuits-doc.docs0000644000000000000000000000003112167322125013742 0ustar docs/build/html examples debian/control0000644000000000000000000000753312167322125010602 0ustar Source: circuits Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Daniele Tricoli Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python-coverage, python-pyinotify, python-pytest (>= 2.3), python-setuptools, python-sphinx (>= 1.0.7+dfsg), python3-all (>= 3.1.2-7~), python3-pyinotify, python3-pytest (>= 2.3), python3-setuptools, Standards-Version: 3.9.4 Homepage: http://bitbucket.org/prologic/circuits/ X-Python-Version: >= 2.6 X-Python3-Version: >= 3.0 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/circuits/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/circuits/trunk/ Package: python-circuits Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources, python-pyinotify, python-six, Recommends: python-imaging, python-multiprocessing | python (>= 2.6), python-routes, python-serial Description: event-driven framework with a component architecture circuits is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components. . Circuits has a clean architecture and has no external dependencies on any other library. It's simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. Circuits was a core integral part of the pymills library developed in 2006 and was partly inspired by the Trac architecture. Package: python3-circuits Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-pkg-resources, python3-pyinotify, python3-six, Recommends: python3-serial Description: event-driven framework with a component architecture (Python3 version) circuits is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components. . Circuits has a clean architecture and has no external dependencies on any other library. It's simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. Circuits was a core integral part of the pymills library developed in 2006 and was partly inspired by the Trac architecture. . This package contains the Python 3 version of the library. Package: python-circuits-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery Description: event-driven framework with a component architecture (Documentation) circuits is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components. . Circuits has a clean architecture and has no external dependencies on any other library. It's simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. Circuits was a core integral part of the pymills library developed in 2006 and was partly inspired by the Trac architecture. . This package contains documentation and examples. debian/python-circuits-doc.doc-base0000644000000000000000000000047412167322125014502 0ustar Document: python-circuits-doc Title: Circuits Documentation Author: James Mills Abstract: A Lightweight, Event driven Framework with a strong Component Architecture. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-circuits-doc/html/index.html Files: /usr/share/doc/python-circuits-doc/html/* debian/watch0000644000000000000000000000012312167322125010214 0ustar version=3 http://pypi.python.org/packages/source/c/circuits/circuits-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012167322125010616 5ustar debian/patches/02_remove_templatebuiltins_js.patch0000644000000000000000000000103712167322125017577 0ustar Description: Remove templatebuiltins.js because it contains names of Django builtin tags and filters not used in circuits documentation. Author: Daniele Tricoli --- a/docs/source/_themes/om/layout.html +++ b/docs/source/_themes/om/layout.html @@ -18,7 +18,7 @@ {% block extrahead %} {{ super() }} - +