debian/0000755000000000000000000000000012261463474007177 5ustar debian/watch0000644000000000000000000000016011763676345010236 0ustar version=3 opts=dversionmangle=s/\+ds// \ http://pypi.python.org/packages/source/a/alembic/alembic-(.+)\.tar\.gz debian/copyright0000644000000000000000000000254211744031033011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: alembic Upstream-Contact: Mike Bayer Source: http://pypi.python.org/pypi/alembic Files: * Copyright: 2009-2012, Michael Bayer License: MIT Files: debian/* Copyright: 2012, Matthias Kümmerer License: MIT License: MIT 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. debian/patches/0000755000000000000000000000000012261463372010623 5ustar debian/patches/series0000644000000000000000000000004512261461202012025 0ustar 01disable_sphinx_changelog_ext.patch debian/patches/01disable_sphinx_changelog_ext.patch0000644000000000000000000000120412261461202017653 0ustar Author: Thomas Bechtold Description: Disable the Sphinx changelog module because it's currently not packaged for Debian. Forwarded: no --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -30,8 +30,7 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', - 'changelog'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',] # tags to sort on inside of sections changelog_sections = ["feature", "bug", "moved", "changed", "removed"] debian/alembic.doc-base0000644000000000000000000000040212236365426012166 0ustar Document: alembic Title: Alembic Manual Author: Emil Brink Abstract: This manual describes what Alembic is, and how it can be used. Section: Data Management Format: HTML Index: /usr/share/doc/alembic/html/index.html Files: /usr/share/doc/alembic/html/*.htmldebian/compat0000644000000000000000000000000211744031033010360 0ustar 8 debian/changelog0000644000000000000000000000565412261463066011060 0ustar alembic (0.6.2+ds-1) unstable; urgency=low [ Jackson Doak ] * New upstream release (closes: #734021) * Incorporate NMU changes * debian/control: - Bump standards-version to 3.9.5 - Add X-Python-Version * Add doc-base [ Thomas Bechtold ] * Team upload. * debian/patches: Add 01disable_sphinx_changelog_ext.patch to disable Sphinx changelog extension which is currently not packaged for Debian. * debian/control: Add python-mock to Build-Depends according to setup.py. * debian/rules: Add http_proxy='localhost' to disable internet access during documentation build. * debian/alembic.1: Updated with help2man target from debian/rules. -- Thomas Bechtold Fri, 03 Jan 2014 08:25:50 +0100 alembic (0.4.2+ds-3.1) unstable; urgency=low * Non-maintainer upload. * Restore changes from 0.4.2+ds-2.1 that were dropped in -3 (closes: #715429). -- Julien Cristau Thu, 12 Sep 2013 20:14:35 +0200 alembic (0.4.2+ds-3) unstable; urgency=low * Team upload. * Rebuliding so that it handles the new version of sqlalchemy. -- Thomas Goirand Mon, 08 Jul 2013 15:30:56 +0000 alembic (0.4.2+ds-2.1) unstable; urgency=low * Non maintainer upload * Remove build-dependency and suggestion on python2.6-argparse. Closes: #707804. -- Matthias Klose Thu, 16 May 2013 14:38:51 +0200 alembic (0.4.2+ds-2) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Thomas Goirand ] * Uploading to SID. * Added rm -rf build so that the package can be built twice. -- Thomas Goirand Sat, 11 May 2013 02:34:02 +0000 alembic (0.4.2+ds-1) experimental; urgency=low * Team upload. * New upstream release. * Uploading to experimental (during Wheezy freeze). -- Thomas Goirand Thu, 14 Feb 2013 14:40:33 +0000 alembic (0.3.4+ds-3) unstable; urgency=low * Team upload * Build-depend on python2.6-argparse to support python2.6 tests (Closes: #680854) * Suggest python2.6-argparse as it is needed to run with python2.6, but multiple depends require python2.7 to be installed - running with python2.6 should be very unusual and pulling in the non-standard argparse on all installations for this is not a good thing * Fix copy/paste error in debian/changelog from previous upload -- Scott Kitterman Mon, 16 Jul 2012 15:42:34 -0400 alembic (0.3.4+ds-2) unstable; urgency=low * Team upload * Drop python3-sphinx as an alternate build-depend to python-sphinx to fix FTBFS (Closes: #680855 - The package only has a python version anyway, so python3-sphinx as a build-dep is clearly wrong -- Scott Kitterman Mon, 16 Jul 2012 14:51:28 -0400 alembic (0.3.4+ds-1) unstable; urgency=low * Initial release. (Closes: #669404) -- Matthias Kümmerer Wed, 06 Jun 2012 17:29:23 +0200 debian/control0000644000000000000000000000263412261461202010572 0ustar Source: alembic Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Matthias Kümmerer Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/alembic/trunk/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/alembic/trunk/ Standards-Version: 3.9.5 Homepage: http://www.bitbucket.org/zzzeek/alembic Build-Depends: debhelper (>= 8), python-all, python-setuptools, python-nose, python-sqlalchemy, python-mako, python-sphinx (>= 1.0.7+dfsg), python-mock X-Python-Version: >= 2.6 Package: alembic Architecture: all Depends: ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends}, python-sqlalchemy, python-mako Recommends: python-pkg-resources Description: lightweight database migration tool for SQLAlchemy Alembic is a new database migration tool, written by the author of SQLAlchemy. A migration tool offers the following functionality: . * Can emit ALTER statements to a database in order to change the structure of tables and other constructs * Provides a system whereby "migration scripts" may be constructed; each script indicates a particular series of steps that can "upgrade" a target database to a new version, and optionally a series of steps that can "downgrade" similarly, doing the same steps in reverse. * Allows the scripts to execute in some sequential manner. debian/clean0000644000000000000000000000002311744031033010162 0ustar alembic.egg-info/* debian/alembic.docs0000644000000000000000000000002711756727217011452 0ustar docs/build/output/html debian/rules0000755000000000000000000000217712261461202010251 0ustar #!/usr/bin/make -f VERSION=0.6.2 PYVERS:=$(shell pyversions -vr) %: dh $@ --with=python2,sphinxdoc override_dh_auto_build: dh_auto_build http_proxy='localhost' make -C docs/build html override_dh_auto_clean: dh_auto_clean make -C docs/build clean rm -rf build override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) set -e; for py in $(PYVERS); do \ python$$py setup.py test ;\ done endif get-orig-source: wget http://pypi.python.org/packages/source/a/alembic/alembic-$(VERSION).tar.gz tar xvzf alembic-$(VERSION).tar.gz rm alembic-$(VERSION).tar.gz rm -rf alembic-$(VERSION)/docs/*.html alembic-$(VERSION)/docs/*.js alembic-$(VERSION)/docs/*.inv alembic-$(VERSION)/docs/_sources alembic-$(VERSION)/docs/_images alembic-$(VERSION)/docs/_static rm alembic-$(VERSION)/distribute_setup.py mv alembic-$(VERSION) alembic-$(VERSION).orig tar czfv alembic_$(VERSION)+ds.orig.tar.gz alembic-$(VERSION).orig rm -rf alembic-$(VERSION).orig help2man: help2man --version-string=$(VERSION) -n "lightweight database migration tool for usage with the SQLAlchemy" -N alembic > alembic.1 sed -i "s/,\(\w\)/, \1/g" alembic.1 debian/alembic.manpages0000644000000000000000000000002111744631566012305 0ustar debian/alembic.1 debian/alembic.10000644000000000000000000000272412261461202010645 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH ALEMBIC "1" "January 2014" "alembic 0.6.2" "User Commands" .SH NAME alembic \- lightweight database migration tool for usage with the SQLAlchemy .SH DESCRIPTION usage: alembic [\-h] [\-c CONFIG] [\-n NAME] [\-x X] .IP {branches, current, downgrade, history, init, list_templates, revision, splice, stamp, upgrade} \&... .SS "positional arguments:" .IP {branches, current, downgrade, history, init, list_templates, revision, splice, stamp, upgrade} .TP branches Show current un\-spliced branch points .TP current Display the current revision for each database. .TP downgrade Revert to a previous version. .TP history List changeset scripts in chronological order. .TP init Initialize a new scripts directory. .TP list_templates List available templates .TP revision Create a new revision file. .TP splice \&'splice' two branches, creating a new revision file. this command isn't implemented right now. .TP stamp \&'stamp' the revision table with the given revision; don't run any migrations. .TP upgrade Upgrade to a later version. .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG Alternate config file .TP \fB\-n\fR NAME, \fB\-\-name\fR NAME Name of section in .ini file to use for Alembic config .TP \fB\-x\fR X Additional arguments consumed by custom env.py scripts, e.g. \fB\-x\fR setting1=somesetting \fB\-x\fR setting2=somesetting debian/source/0000755000000000000000000000000012261463372010474 5ustar debian/source/format0000644000000000000000000000001411744031033011670 0ustar 3.0 (quilt)