15
0

- Ship hg exported tarball until 0.6.0 is released. Fixes Python-3.3

compatibility issues

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=18
This commit is contained in:
Sascha Peilicke
2013-04-25 12:33:04 +00:00
committed by Git OBS Bridge
parent 82981d5d7d
commit 7f7fe6bb14
3 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 25 12:35:26 UTC 2013 - speilicke@suse.com
- Ship hg exported tarball until 0.6.0 is released. Fixes Python-3.3
compatibility issues
-------------------------------------------------------------------
Tue Apr 23 08:16:36 UTC 2013 - speilicke@suse.com

View File

@@ -23,10 +23,14 @@ Url: http://bitbucket.org/zzzeek/alembic
Summary: A database migration tool for SQLAlchemy
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/a/alembic/alembic-%{version}.tar.gz
#Source: http://pypi.python.org/packages/source/a/alembic/alembic-%{version}.tar.gz
#NOTE(saschpe): Temporarily use hg version until 0.6.0 is released.
# To fix Python-3 compat issues
Source: zzzeek-alembic-5c05656a0f81.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: unzip
# Test requirements:
BuildRequires: python3-Mako
BuildRequires: python3-SQLAlchemy >= 0.7.5
@@ -49,11 +53,9 @@ offers the following functionality:
* Allows the scripts to execute in some sequential manner.
%prep
%setup -q -n alembic-%{version}
#%%setup -q -n alembic-%{version}
%setup -q -n zzzeek-alembic-5c05656a0f81
mv docs html && rm -rf html/build
2to3 -w .
#NOTE(saschpe): EncodingTest breaks with Python3, could fix it actually..
rm tests/test_sql_script.py
%build
python3 setup.py build

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f3bf28566d22f87ed6d07483fe9d95100159d2e43f95435920052bd11d123a0
size 198686