diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-17 09:56:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-17 10:36:05 +0200 |
commit | 3f5781af292cdab1978b6a2302e57cb13392a59e (patch) | |
tree | 9956ea5e70daeef623a439f0fcce0245f1be3089 /dev-python/alembic | |
parent | dev-python/mypy: Bump to 1.5.1 (diff) | |
download | gentoo-3f5781af292cdab1978b6a2302e57cb13392a59e.tar.gz gentoo-3f5781af292cdab1978b6a2302e57cb13392a59e.tar.bz2 gentoo-3f5781af292cdab1978b6a2302e57cb13392a59e.zip |
dev-python/alembic: Bump to 1.11.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/alembic')
-rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
-rw-r--r-- | dev-python/alembic/alembic-1.11.3.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 14f432b04706..41d8e24f2a32 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1,3 @@ DIST alembic-1.11.1.tar.gz 1176522 BLAKE2B 5a4185cb59b48301d350db3c44487408ca6c8d88b47ddd22e4c19fad57d0961cb3968652ba15986cf42adb9bb38542a79b11ddd980c9841a071844d26fed56fd SHA512 d068d581df952c2d304534218bd8f948407e288005514501816e60600b186bf03bcc60f485c4c6d5c80caf718210c2bf619f1758327bc592663f160c3bd21e65 DIST alembic-1.11.2.tar.gz 1192900 BLAKE2B 47919a02bfabc51caf13b70d7598bd54c63e2f3deea0a6547677433cb4dfab2fea7b199ad5288109c970386a3f318bf29ac2d931d2299dfed63883c3c4dde179 SHA512 7a3c2c723134d7d3048596dc7a98993edf737e09cea0b7df5cf5a05fbc37b9c7eb7fa28e4f1ce2adbb9c4683f838227b760feae148fbc617bc9fdd8e52c667c1 +DIST alembic-1.11.3.tar.gz 1192079 BLAKE2B 40608e1a98aee47128ddebfbb05527cebe8d7799c65da84333bfccb92c0cf314f12646b5be61bd489fe7084197e7918cc992a6edde57baf2afaa741452110135 SHA512 66939932ab0e07595a0d97ae1591c73b90d193e9a392489e2e6059e702c7471c12ac6408e6425413a89dccd5f54ba00f1a50cede0fadbbd808caca864c5101fa diff --git a/dev-python/alembic/alembic-1.11.3.ebuild b/dev-python/alembic/alembic-1.11.3.ebuild new file mode 100644 index 000000000000..0fb0d2348c60 --- /dev/null +++ b/dev-python/alembic/alembic-1.11.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + # setup.cfg contains -p no:warnings in addopts which triggers + # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 + epytest -o addopts= +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} |