summaryrefslogtreecommitdiff
path: root/dev-python/alembic
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/alembic')
-rw-r--r--dev-python/alembic/Manifest2
-rw-r--r--dev-python/alembic/alembic-1.13.2.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index 6bda9b9cfbb6..640f8f57ea5e 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1,4 +1,6 @@
AUX alembic-1.13.1-pytest-8.patch 2119 BLAKE2B e03335427447649b710f5fc9daf1c62ecd0fb7452e301d49e74a0f8c2ce4d4a2eb7800e1e020b67c813fafe4ada27c28ae66c1f9b40f4db37dbeb9ae4ab2be33 SHA512 77146e56c15bcd04130bb68cb8a96cc25c221db9bb884215ea5f5b45e93708ee6cad639fc1db686c960cd265f3bee274784362be9409a50ffc0fc889162d5c24
DIST alembic-1.13.1.tar.gz 1213288 BLAKE2B 12c01f60a564c3021b3d2ae61f220822a0ca644af5097b72a826f48d04225c441f580204680674410e6e2570b5c7ee24053024863162d7d43bc423a86cddcea6 SHA512 2a5826461bec22c2efc244dd8394d34d39ed6e3511a32e8e460057ab34f9e559d28dda4ea7e34ccd30628e889a3cb37cb156596e37dba748c12a0195d78aa678
+DIST alembic-1.13.2.tar.gz 1206463 BLAKE2B edff3a244fa37556cd656e60940d94e7df75b6c67aa4199b673851b5b06e84dbf51e53f2ac9781465aa923c0019fcd33a9c3b4da90d64f583956e390ca1f5fa7 SHA512 c4952123ba00403bb030606c736dab8d5494b01662d02914fb0d10d0c1d99b27a97cc4a800cdfa32d53870031c46e351f97815e337c71f3a0a824b6403bd75cf
EBUILD alembic-1.13.1.ebuild 1196 BLAKE2B 4857f35f823a1741b0334e7f46a20476322e5cdd91fdb108ec8ee084e6954a4fb377c770b9d9de59379f912968841384021e40a5fa2cfc5c9c33f8a13d7db581 SHA512 d89304e4b9a6381c8ccd1c6e088df7aae03505d9d3794868bc05aeec3e920627483fd32c2296555ede93f310a619053f04d339f9be5a2eb565ff8d35cae269a6
+EBUILD alembic-1.13.2.ebuild 1062 BLAKE2B 53255b066cdc9a0f0f6f656f1255f9db9911c5167d23de18f762cba6f203523f3a87a2375d33752285e9ec10efedf9f4343cb9a7b12805a55aac37cb6b098709 SHA512 326ebc9001902109b3a7bc4cef661b5ac6c0fa8031422b5270ac53c16ed6a32af14b0e1520337ed49f90d474ec22d16328f7779aaa29d8c243c951fdfa5e263c
MISC metadata.xml 516 BLAKE2B 08b11ebed2913b00e0a8c0044a50e3ca7bc0e51fcad180725c90445227fed1aed58ed89b4bed58ef5c050c3eee3c19da33aabce5cd1f7835f4b560e67ccc7744 SHA512 b4afb6af57562e6065f03db71da0dbdfc9c4337e54cbaddfa257ee7bad48dbeecfaccd765901bf65279e34cf96be3975f983017858904716a36bf8c18f33db79
diff --git a/dev-python/alembic/alembic-1.13.2.ebuild b/dev-python/alembic/alembic-1.13.2.ebuild
new file mode 100644
index 000000000000..cf8af9852135
--- /dev/null
+++ b/dev-python/alembic/alembic-1.13.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+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/typing-extensions-4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ sys-libs/timezone-data
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ # 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
+}