summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-19 06:22:28 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-19 07:08:18 +0100
commit97dc4632a6e03fdce3a4f78ee39c5245b50a52a3 (patch)
treea45c8440a396fe2d9846cf273dfbe75e2b144bdc /dev-python/flask-migrate
parentdev-python/xarray: Bump to 2023.1.0 (diff)
downloadgentoo-97dc4632a6e03fdce3a4f78ee39c5245b50a52a3.tar.gz
gentoo-97dc4632a6e03fdce3a4f78ee39c5245b50a52a3.tar.bz2
gentoo-97dc4632a6e03fdce3a4f78ee39c5245b50a52a3.zip
dev-python/flask-migrate: Bump to 4.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-migrate')
-rw-r--r--dev-python/flask-migrate/Manifest1
-rw-r--r--dev-python/flask-migrate/flask-migrate-4.0.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest
index 7c09b0dba76e..1d22ffe4bc02 100644
--- a/dev-python/flask-migrate/Manifest
+++ b/dev-python/flask-migrate/Manifest
@@ -1,2 +1,3 @@
DIST Flask-Migrate-4.0.0.gh.tar.gz 25945 BLAKE2B 79619b5b3a64b5f1e9ad887e58c135a122961527725b468ab0c95871e4b582d306706db2b3840d33b9150ef52e60a8bf1f3db516ee1434ffcd529df02bfd29d8 SHA512 199f97f87c6dbc1b3dce3cd85a8a2ce75155f359394e86dea66c9166aadc01bb03627afff20ff8478e12fd63147f28dd5898c8354e6a053d5908b1bb7f2cc192
DIST Flask-Migrate-4.0.1.gh.tar.gz 26019 BLAKE2B 7c85a5c655c0fc0a5e522801e8ebce705deb760505720e2ab28c64da87d1b9cac683c137e29f7022009effd751fdecd9d6f1932dc88ee278d428272576684921 SHA512 099a2f4387a4ec5d7a37b3fbfa8a631dbdcc83533b2ebbc907150b080e01b6f3e9e7503ae5a276ae488bf0143ca3b42dd2555704b9c81bc7c31842130e604d81
+DIST Flask-Migrate-4.0.2.gh.tar.gz 26225 BLAKE2B da9339a0798c363394405630560d3816e26cffef4a483065294d7349a29804ba4997ab890baeae4862af3c8a76a764ca57b82037477dafe44bcc9274e27feac5 SHA512 3c7c65d70af42038b02a50a95d6de5735303b6f1b42bddf03afe25518e6d5aeeecb61ccb58fa2df2c8a67fe7bf77dc8bb58eaaf37184652a224310adef0e626f
diff --git a/dev-python/flask-migrate/flask-migrate-4.0.2.ebuild b/dev-python/flask-migrate/flask-migrate-4.0.2.ebuild
new file mode 100644
index 000000000000..744044d9acbd
--- /dev/null
+++ b/dev-python/flask-migrate/flask-migrate-4.0.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+MY_P="Flask-Migrate-${PV}"
+DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic"
+HOMEPAGE="
+ https://github.com/miguelgrinberg/Flask-Migrate/
+ https://pypi.org/project/Flask-Migrate/
+"
+SRC_URI="
+ https://github.com/miguelgrinberg/Flask-Migrate/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/alembic-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/flask-0.9[${PYTHON_USEDEP}]
+ >=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+ local -x PATH=${T}/bin:${PATH}
+
+ mkdir -p "${T}"/bin || die
+ cat > "${T}"/bin/flask <<-EOF || die
+ #!/bin/sh
+ exec ${EPYTHON} -m flask "\${@}"
+ EOF
+ chmod +x "${T}"/bin/flask || die
+
+ eunittest
+}