dev-python/flask-whooshalchemy: 0.56->0.5.6, to future proof versions
authorMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 18:13:30 +0000 (20:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 18:40:00 +0000 (20:40 +0200)
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.

dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild [moved from dev-python/flask-whooshalchemy/flask-whooshalchemy-0.56.ebuild with 87% similarity]

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 5d38d40b19ccfaa5683417f9937a031d032a5789..1976762e785d2b2f2d4b63219a4f6d3f06d44f3a 100644 (file)
@@ -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}"