diff options
-rw-r--r-- | dev-python/flask-migrate/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-migrate/flask-migrate-2.5.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest index a3b109c54e12..9cf3ed1324f2 100644 --- a/dev-python/flask-migrate/Manifest +++ b/dev-python/flask-migrate/Manifest @@ -1 +1,2 @@ DIST Flask-Migrate-2.5.2.tar.gz 12127 BLAKE2B 4c30cd5a3e59c890b0b3e397845cfd1424cdbdec1340793f406fb2e77cc3dc1c7eda777498d75e2250d09a310f28aea1b6ff5248df1ea151ff62bd7c7acabe72 SHA512 9c20fef77c1e0cd2a3ff14bdac48117e3d1610fe9417c928e111fa9c5761a63e67154dedbe83247bbea0f62796203bac61f4193478431607e26bdb253ee0892b +DIST Flask-Migrate-2.5.3.tar.gz 12652 BLAKE2B 4a43cb3849ffa31afa00031ffbdfc130d07a8282184ca43c58a9b49fe94c456ee46a735fd6df9f9e3fa00ae0c82c1688852a68f2bf278afc5b08d64b31a473e7 SHA512 f26db1c6ceddceb635cce4259b4508ecc8dc26dbfa67397205668883129835840050d909337a73712d3b1ff3e0bbfab74f5ac94c2ac472ec64f86e64789107ac diff --git a/dev-python/flask-migrate/flask-migrate-2.5.3.ebuild b/dev-python/flask-migrate/flask-migrate-2.5.3.ebuild new file mode 100644 index 000000000000..d684926f496b --- /dev/null +++ b/dev-python/flask-migrate/flask-migrate-2.5.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit distutils-r1 + +MY_PN="Flask-Migrate" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic" +HOMEPAGE="https://pypi.org/project/Flask-Migrate/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/alembic-0.7[${PYTHON_USEDEP}] + >=dev-python/flask-0.9[${PYTHON_USEDEP}] + >=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/flask-script-0.6[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/${MY_P}" + +python_test() { + esetup.py test || die "Testing failed with ${EPYTHON}" +} |