debian/0000755000000000000000000000000011344260754007174 5ustar debian/watch0000644000000000000000000000012510557502526010224 0ustar version=3 http://cheeseshop.python.org/packages/source/M/Myghty/Myghty-(.*)\.tar\.gz debian/python-myghty.dirs0000644000000000000000000000015510557502526012721 0ustar usr/share/python-support/python-myghty usr/share/doc/python-myghty/html usr/share/doc/python-myghty/examples debian/dirs0000644000000000000000000000011011337317147010051 0ustar usr/share/python-support/python-beaker usr/share/doc/python-myghty/html debian/compat0000644000000000000000000000000210557502526010373 0ustar 5 debian/python-myghty.doc-base0000644000000000000000000000142511344256735013441 0ustar Document: python-myghty Section: Programming Title: Python Paste documentation Author: Michael Bayer Abstract: Myghty is a Python based templating framework originally based on HTML::Mason, the enterprise-level framework used by Amazon.com, del.icio.us and Salon.com, among many others. Myghty fully implements Mason's templating language, component-based architecture, and caching system, and goes beyond, adding new paradigms such the Module Components controller paradigm, full Python whitespace syntax, threading support, WSGI support, session support, and much more. Myghty powers the template and caching capabilities of the fast-growing Pylons web framework. Format: HTML Index: /usr/share/doc/python-myghty/html/index.html Files: /usr/share/doc/python-myghty/html/*.html debian/source/0000755000000000000000000000000011344260754010474 5ustar debian/source/format0000644000000000000000000000001411344261033011671 0ustar 3.0 (quilt) debian/python-myghty.docs0000644000000000000000000000000710557502526012704 0ustar README debian/copyright0000644000000000000000000000302011344260706011117 0ustar This package was debianized by Oleksandr Moskalenko on Thu, 12 Oct 2006 11:20:48 -0600. It was downloaded from Upstream Author: Michael Bayer Copyright 2004-2010 Michael Bayer License: This package is licensed under 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. The Debian packaging is © 2006, Oleksandr Moskalenko and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/rules0000755000000000000000000000262411344255633010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 package=python-myghty PYVERS=$(shell pyversions -vr) -include /usr/share/python/python.mk ifeq (,$(py_libdir)) py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages endif clean: rm -f build-* dh_testdir dh_testroot rm -rf build find . -name \*.py[co] -exec rm -f {} \; rm -Rf lib/*.egg-info rm -f doc/html/*html dh_clean build: build-indep build-indep: cd doc; python ./genhtml.py touch $@ build-stamp: dh_testdir python setup.py build touch $@ install: $(PYVERS:%=install-python%) install-python%: dh_installdirs python$* setup.py install \ --no-compile $(py_setup_install_args) \ --single-version-externally-managed \ --root $(CURDIR)/debian/$(package) cp -a doc/html/* $(CURDIR)/debian/$(package)/usr/share/doc/$(package)/html cp -a examples/* $(CURDIR)/debian/$(package)/usr/share/doc/$(package)/examples find debian/$(package)/usr/share/doc/$(package)/examples -name \*.py -exec sed -i -e '1 s|/usr/local/|/usr/|' {} \; binary-indep: build install dh_testdir dh_testroot dh_installdirs dh_installchangelogs CHANGES dh_installdocs dh_installexamples dh_pysupport dh_compress -X.py dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -- -Z bzip2 binary-arch: binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/patches/0000755000000000000000000000000011344260754010623 5ustar debian/patches/import-5th-arg.diff0000644000000000000000000000166611344254221014235 0ustar Description: Add support for 5th argument of __import__(). Author: Jakub Wilk Bug-Debian: http://bugs.debian.org/571498 Index: myghty-1.1/lib/myghty/importer.py =================================================================== --- myghty-1.1.orig/lib/myghty/importer.py 2006-09-10 21:32:32.000000000 +0200 +++ myghty-1.1/lib/myghty/importer.py 2010-03-05 20:15:40.000000000 +0100 @@ -47,11 +47,11 @@ # override __import__ to look in our own local module dict first builtin_importer = __builtin__.__import__ -def import_module(name, globals = None, locals = None, fromlist = None): +def import_module(name, globals = None, locals = None, fromlist = None, level = -1): try: return modules[name].module except KeyError: - return builtin_importer(name, globals, locals, fromlist) + return builtin_importer(name, globals, locals, fromlist, level = -1) __builtin__.__import__ = import_module debian/patches/series0000644000000000000000000000002411344254221012024 0ustar import-5th-arg.diff debian/changelog0000644000000000000000000000417511344260727011055 0ustar myghty (1.1-5) unstable; urgency=low [ Jakub Wilk ] * Switch to source format 3.0 (quilt) * Remove *.pyc, *.pyo and *.egg-info in the clean target. * Fix FTBFS with Python 2.6 (closes: #571498): - apply patch adding support for 5th argument of __import__(); - bump XS-Python-Version to >= 2.5. * Fix copyright notices in debian/copyright. * Install the upstream changelog. * Fix shebangs in example Python programs not to contain /usr/local paths. * Register Myghty Documentation using doc-base. -- Debian Python Modules Team Fri, 05 Mar 2010 20:56:41 +0100 myghty (1.1-4) unstable; urgency=low [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) [ Carlos Galisteo ] * debian/control - Added Homepage field. [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Oleksandr Moskalenko ] * debian/control: - Changed maintainer to dpmt and put myself in uploaders. - Changed section to python. - Updated copyright notice. - Updated Standards-Version to 3.8.4. - Moved python depends to Build-Depends-Indep. - Updated Build-Depends-Indep. * debian/rules: - Updated build system. * debian/dirs: - Added the file to create doc and pysupport dirs. -- Oleksandr Moskalenko Thu, 18 Feb 2010 13:14:40 -0600 myghty (1.1-3) unstable; urgency=low * Piotr Ożarowski : + New python-support handles egg's directory name correctly. - bump python-support required version. - remove mv part from debian/rules. -- Oleksandr Moskalenko Mon, 14 May 2007 09:41:32 -0600 myghty (1.1-2) unstable; urgency=low * debian/control: - Added Debian Python Modules Team to Uploaders. - Added XS-Vcs-Svn and XS-Vcs-Browser control fields. -- Oleksandr Moskalenko Mon, 29 Jan 2007 16:44:02 -0700 myghty (1.1-1) unstable; urgency=low * Initial release (Closes: #317303). -- Oleksandr Moskalenko Thu, 12 Oct 2006 11:20:48 -0600 debian/control0000644000000000000000000000236711344254221010577 0ustar Source: myghty Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Oleksandr Moskalenko Build-Depends: debhelper (>= 5) Build-Depends-Indep: python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~) Standards-Version: 3.8.4 XS-Python-Version: >= 2.5 Vcs-Svn: svn://svn.debian.org/python-modules/packages/myghty/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/myghty/trunk/ Homepage: http://www.myghty.org/ Package: python-myghty Architecture: all Depends: ${python:Depends}, python, ${misc:Depends} Recommends: python-paste XB-Python-Version: ${python:Versions} Enhances: python-pylons Description: Python based templating framework originally based on HTML::Mason Myghty is a Python based templating framework originally based on HTML::Mason, the enterprise-level framework used by Amazon.com, del.icio.us and Salon.com, among many others. Myghty fully implements Mason's templating language, component-based architecture, and caching system, and goes beyond, adding new paradigms such the Module Components controller paradigm, full Python whitespace syntax, threading support, WSGI support, session support, and much more.