- Cleanup spec file - Use upstream tarball OBS-URL: https://build.opensuse.org/request/show/94249 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlalchemy-migrate?expand=0&rev=6
61 lines
2.0 KiB
RPMSpec
61 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package python-sqlalchemy-migrate
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# Copyright 2011 LISA GmbH, Bingen, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: python-sqlalchemy-migrate
|
|
Version: 0.7.1
|
|
Release: 1
|
|
License: MIT
|
|
Summary: Database schema migration for SQLAlchemy
|
|
Url: http://pypi.python.org/pypi/sqlalchemy-migrate
|
|
Group: Development/Libraries/Python
|
|
Source: http://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.7.1.tar.gz
|
|
BuildRequires: python-py
|
|
BuildRequires: python-setuptools
|
|
Requires: python-decorator
|
|
Requires: python-nose >= 0.10
|
|
Requires: python-sphinx >= 0.5
|
|
Requires: python-sqlalchemy >= 0.5
|
|
Requires: python-tempita
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%py_requires
|
|
|
|
%description
|
|
Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with
|
|
database schema changes in SQLAlchemy projects.
|
|
|
|
Migrate extends SQLAlchemy to have database changeset handling. It provides a
|
|
database change repository mechanism which can be used from the command line as
|
|
well as from inside python code.
|
|
|
|
%prep
|
|
%setup -q -n sqlalchemy-migrate-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=filelist
|
|
|
|
%files -f filelist
|
|
%defattr(-,root,root)
|
|
%doc PKG-INFO README docs
|
|
|
|
%changelog
|