commit:     6de81d81ec1d27db57a91a16ae37c0a375470ce1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 04:38:08 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 05:06:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de81d81

dev-python/alembic: Bump to 1.12.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/alembic/Manifest              |  1 +
 dev-python/alembic/alembic-1.12.0.ebuild | 41 ++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index 41d8e24f2a32..06397f4fab38 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1,3 +1,4 @@
 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
+DIST alembic-1.12.0.tar.gz 1196597 BLAKE2B 
ff4bc1b94a32ab510b617befb039cb373f266fc891d355a1166a5559d4c053c57a834d9509a05bd5fbcb53a6ac0348038b2314907249ea9139a00c378b293bcb
 SHA512 
170031efe7864835234f55123bff7496337ed1ce666fdaaa8a5040353dc23f98a0e2e6eaf95791f8be052b675015acb7e59b58436a470df9b4ce803c1ac5296b

diff --git a/dev-python/alembic/alembic-1.12.0.ebuild 
b/dev-python/alembic/alembic-1.12.0.ebuild
new file mode 100644
index 000000000000..0fb0d2348c60
--- /dev/null
+++ b/dev-python/alembic/alembic-1.12.0.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
+}

Reply via email to