summaryrefslogtreecommitdiff
path: root/dev-python/flask-migrate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-06 12:11:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-06 12:11:06 +0000
commit29efd7db303b443e103311cc0e458ee5c134e8e5 (patch)
treecb6e3ef15df82575a93cae8bd11b635d473f3796 /dev-python/flask-migrate
parent19a808581ca18addf4b12d09f7e440b7244679e5 (diff)
gentoo auto-resync : 06:01:2023 - 12:11:06
Diffstat (limited to 'dev-python/flask-migrate')
-rw-r--r--dev-python/flask-migrate/Manifest2
-rw-r--r--dev-python/flask-migrate/flask-migrate-4.0.1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest
index 9530145af151..24f58f0637b1 100644
--- a/dev-python/flask-migrate/Manifest
+++ b/dev-python/flask-migrate/Manifest
@@ -1,3 +1,5 @@
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
EBUILD flask-migrate-4.0.0.ebuild 988 BLAKE2B 6854c4c589ccde56e65e1769d691d9c2f4dc2a875f626fb83844f25059e6ee1ded5a5eaf99f20c8c68027e858d472cdf5e233098290606320f0397bb471f8d94 SHA512 f33accf38649bf9a844e11af41e82b679f2ac507553c2b29c4ec06bd67f378b40a1e8df840daba170c8539efa896840fb261adae88ed5b903fd401a2cde235d4
+EBUILD flask-migrate-4.0.1.ebuild 990 BLAKE2B e645d13fbe4e0546ad5662d9094dd95ca05812d6b7415a9a9fa9007deff47cf73c476394a6676dde6c944852353b1add436f8c8265e7af38ce3410e848ad0bc9 SHA512 14031f0b598e482ff89f9be6516c352ebb2d56e326c6c2ece0ee5a89bb9d8facb17fb90c1ea0fa747a1586e5efd6dbeb9b2d7f5c6db93b467ff7a6f23e8e8f96
MISC metadata.xml 409 BLAKE2B 9f06845d3f34458a9a970ed8ab5c731d7c035a3102a83f7bc8aa933bf542eb653db53912f482ac98a788ad7495397794f225f5b7721185224a111f1b5eaf5af5 SHA512 aecbdc0c0c005ba8fd33b04f0fee14673ade20bbdd695ced33d36649c0314ed201d822f944d58eea3d4761b60402302663f168a3f4bc14620328807b7466402b
diff --git a/dev-python/flask-migrate/flask-migrate-4.0.1.ebuild b/dev-python/flask-migrate/flask-migrate-4.0.1.ebuild
new file mode 100644
index 000000000000..3f583edfd43e
--- /dev/null
+++ b/dev-python/flask-migrate/flask-migrate-4.0.1.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_{8..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-0.7[${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
+}