From 7f7fe6bb146e4a3b6ae2db1de1665f96b3bb79a709e288a4a1c8e6205b6fc0c0 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 25 Apr 2013 12:33:04 +0000 Subject: [PATCH] - 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 --- python3-alembic.changes | 6 ++++++ python3-alembic.spec | 12 +++++++----- zzzeek-alembic-5c05656a0f81.zip | 3 +++ 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 zzzeek-alembic-5c05656a0f81.zip diff --git a/python3-alembic.changes b/python3-alembic.changes index ad7fd52..c0f0252 100644 --- a/python3-alembic.changes +++ b/python3-alembic.changes @@ -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 diff --git a/python3-alembic.spec b/python3-alembic.spec index 39295df..07b649d 100644 --- a/python3-alembic.spec +++ b/python3-alembic.spec @@ -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 diff --git a/zzzeek-alembic-5c05656a0f81.zip b/zzzeek-alembic-5c05656a0f81.zip new file mode 100644 index 0000000..4a70248 --- /dev/null +++ b/zzzeek-alembic-5c05656a0f81.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f3bf28566d22f87ed6d07483fe9d95100159d2e43f95435920052bd11d123a0 +size 198686