summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-02 11:27:13 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-02 11:35:14 +0300
commit84a4a74677ac4ce7fca1b49a530f4d04a21a8d42 (patch)
treebb207cf301b9db870f4b2f83a21913992d673fdc /dev-python/flask-migrate
parentdev-python/oslo-serialization: enable doc generation (diff)
downloadgentoo-84a4a74677ac4ce7fca1b49a530f4d04a21a8d42.tar.gz
gentoo-84a4a74677ac4ce7fca1b49a530f4d04a21a8d42.tar.bz2
gentoo-84a4a74677ac4ce7fca1b49a530f4d04a21a8d42.zip
dev-python/flask-migrate: add 3.1.0, enable py3.10, fix tests
Closes: https://bugs.gentoo.org/796437 Signed-off-by: Arthur Zamarin <arthurzam@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-3.0.1-r2.ebuild6
-rw-r--r--dev-python/flask-migrate/flask-migrate-3.1.0.ebuild29
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest
index 413b2b7fc968..fa4697dffde6 100644
--- a/dev-python/flask-migrate/Manifest
+++ b/dev-python/flask-migrate/Manifest
@@ -1 +1,2 @@
DIST Flask-Migrate-3.0.1.tar.gz 12154 BLAKE2B a6902b3ff1a369fa507d01c9c9bed13b0d93d167fa511a3b54f707e27cb48f40e30957414ae5c1443796c635894cf6ed17f72b9d3e3b0e1e7bdabfe4d5157d56 SHA512 cefad924e471730778dfca16da665b499733ff236ad2d499e27094b1caf73da5d6c8d667fe51bb5fc353ec9954e6952a22bb85c223ce9a4009d5a6e831284421
+DIST Flask-Migrate-3.1.0.gh.tar.gz 23752 BLAKE2B c668db793813658d1486dad662869b65fc5461bc7256e2ca42ca0d11da88fc3a40618946d03c7fd4f869d0eda21af2d9fe29f146dac4d364b4642c2cd26b6d96 SHA512 4e14fa04381c4217e78c3766c86891e88cd2ff4e2eb1ab3c3a51344cbbb192a083246e60cdb6cc4c1ef42bf8108420e3befa1b59c44fe0890e5202fd275b5805
diff --git a/dev-python/flask-migrate/flask-migrate-3.0.1-r2.ebuild b/dev-python/flask-migrate/flask-migrate-3.0.1-r2.ebuild
index 4e81f2756a02..91b7022f89e5 100644
--- a/dev-python/flask-migrate/flask-migrate-3.0.1-r2.ebuild
+++ b/dev-python/flask-migrate/flask-migrate-3.0.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_PN="Flask-Migrate"
@@ -12,7 +12,7 @@ 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"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
@@ -24,4 +24,4 @@ RDEPEND="
>=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}]
"
-distutils_enable_tests unittest
+distutils_enable_tests --install unittest
diff --git a/dev-python/flask-migrate/flask-migrate-3.1.0.ebuild b/dev-python/flask-migrate/flask-migrate-3.1.0.ebuild
new file mode 100644
index 000000000000..851f5f3715f2
--- /dev/null
+++ b/dev-python/flask-migrate/flask-migrate-3.1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+MY_P="Flask-Migrate-${PV}"
+
+DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic"
+HOMEPAGE="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 --install unittest