diff options
Diffstat (limited to 'dev-python/flask-migrate')
-rw-r--r-- | dev-python/flask-migrate/Manifest | 2 | ||||
-rw-r--r-- | dev-python/flask-migrate/flask-migrate-4.0.6.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest index 733ee8985747..f371595e6b46 100644 --- a/dev-python/flask-migrate/Manifest +++ b/dev-python/flask-migrate/Manifest @@ -1,3 +1,5 @@ DIST Flask-Migrate-4.0.5.gh.tar.gz 26827 BLAKE2B 4b674856bc1177857b1272740351e953099a22f981faf63714ac07748308c77a599ce942e273858df2b0e010a4b962e8c8c9488c3bb750f5c4e9037e4a0c58bf SHA512 cdc02e3f567119604e56e9cafed3e7b40e7335d4c3f42cffb26515a4cec12ff34c16f8d5ae036d841cf846985973980d820cdc5d87a99ebf634b3b17becaeb69 +DIST Flask-Migrate-4.0.6.gh.tar.gz 27087 BLAKE2B 73d96ec3b6483f5ecf181589263f87d2bf4f4c6f430cc7668481ce71ea1674d2a659ff48980034d4416a8891c7eaba1bab02f7eae7821ae22f31146c92b6eb61 SHA512 908668fc16a0f5dfef7a6de61b68ec350ec90c97d181f037be8906c1aa0e67464324bacd2e367462a1adc6b202eb08a203451653fca57a7d26c3e7d85676da42 EBUILD flask-migrate-4.0.5.ebuild 997 BLAKE2B 50527a27d08255ed15b262b5586dcffc63da092c6f979a6cf460f08950c4357822c5f52a70a52e69b03a83001c51fac12ad18969038cda6133497b2e81b74583 SHA512 6b5cdc12890382bde74c13843bf90ebe4dbe67ff010bd7a52eb47d58c21c5caed2c486c8bacc7f936da098307d78e091049de27e0692232eb9cfbd73af4c8b7d +EBUILD flask-migrate-4.0.6.ebuild 1000 BLAKE2B 2d39954039967e718e4c063a795de5a0f108b757ff1d04b0233d5ba31d8efa84af20416a8fd4119472dd1ae13151cb759baac9e86eabeb2a48c57046e2c7af17 SHA512 67b29bd8b63871eec36146c246a88b4cc34c1ba9c2ee311705b71c2ef3f207c7098dcb4c29938736ab79e896ae4b9a0fc77488e239d9434809ec298fc4d74ecd MISC metadata.xml 409 BLAKE2B 9f06845d3f34458a9a970ed8ab5c731d7c035a3102a83f7bc8aa933bf542eb653db53912f482ac98a788ad7495397794f225f5b7721185224a111f1b5eaf5af5 SHA512 aecbdc0c0c005ba8fd33b04f0fee14673ade20bbdd695ced33d36649c0314ed201d822f944d58eea3d4761b60402302663f168a3f4bc14620328807b7466402b diff --git a/dev-python/flask-migrate/flask-migrate-4.0.6.ebuild b/dev-python/flask-migrate/flask-migrate-4.0.6.ebuild new file mode 100644 index 000000000000..1ee6db65ab0a --- /dev/null +++ b/dev-python/flask-migrate/flask-migrate-4.0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~arm64 ~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 +} |