commit:     7fef5c735bb94f3cf23642618ea57228101fa451
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 18:13:30 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 17 18:40:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fef5c73

dev-python/flask-whooshalchemy: 0.56->0.5.6, to future proof versions

Rename the current version 0.56 to 0.5.6, to account for the fact that
the next upstream releases are 0.7, 0.8... This allows us to keep the
old version around while providing a clear upgrade path for ~arch users.

 ...k-whooshalchemy-0.56.ebuild => flask-whooshalchemy-0.5.6.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.56.ebuild 
b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild
similarity index 87%
rename from dev-python/flask-whooshalchemy/flask-whooshalchemy-0.56.ebuild
rename to dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild
index 5d38d40b19c..1976762e785 100644
--- a/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.56.ebuild
+++ b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,10 +6,10 @@ PYTHON_COMPAT=( python{2_7,3_4} pypy )
 
 RESTRICT="test"                # appears pretty borken
 
-inherit distutils-r1
+inherit distutils-r1 versionator
 
 MY_PN="Flask-WhooshAlchemy"
-MY_P="${MY_PN}-${PV}"
+MY_P="${MY_PN}-$(replace_version_separator 2 '')"
 
 DESCRIPTION="Whoosh extension to Flask/SQLAlchemy"
 HOMEPAGE="https://github.com/gyllstromk/Flask-WhooshAlchemy 
https://pypi.python.org/pypi/${MY_PN}";

Reply via email to