From a14be3350a832e70959d0b2386bc43c3b95f82e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 5 Aug 2023 09:19:42 +0100 Subject: gentoo auto-resync : 05:08:2023 - 09:19:42 --- dev-python/alembic/Manifest | 2 ++ dev-python/alembic/alembic-1.11.2.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/alembic/alembic-1.11.2.ebuild (limited to 'dev-python/alembic') diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 4cc765a62225..a6e9d5e45072 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,3 +1,5 @@ DIST alembic-1.11.1.tar.gz 1176522 BLAKE2B 5a4185cb59b48301d350db3c44487408ca6c8d88b47ddd22e4c19fad57d0961cb3968652ba15986cf42adb9bb38542a79b11ddd980c9841a071844d26fed56fd SHA512 d068d581df952c2d304534218bd8f948407e288005514501816e60600b186bf03bcc60f485c4c6d5c80caf718210c2bf619f1758327bc592663f160c3bd21e65 +DIST alembic-1.11.2.tar.gz 1192900 BLAKE2B 47919a02bfabc51caf13b70d7598bd54c63e2f3deea0a6547677433cb4dfab2fea7b199ad5288109c970386a3f318bf29ac2d931d2299dfed63883c3c4dde179 SHA512 7a3c2c723134d7d3048596dc7a98993edf737e09cea0b7df5cf5a05fbc37b9c7eb7fa28e4f1ce2adbb9c4683f838227b760feae148fbc617bc9fdd8e52c667c1 EBUILD alembic-1.11.1.ebuild 998 BLAKE2B 69697924982fa2b17d0d5d3c6ae9d0c6003476b0237e4c41baeeff185a12dc073b4bac03c77d4ea73c838a9c28d26351873c00dd4962e45677bb8afda0d993ff SHA512 a9d83e9b1cebc916f06f8fc32820c5bfc315b2de915f5f7e4af21c5ef6180430be357672ec01ee89bf3eaa76e2a37bcc067fd6d19721b8776737eb45dd4ddbde +EBUILD alembic-1.11.2.ebuild 1000 BLAKE2B 6137d44f26f5620e1af375b3370935f943a547e62c5cbf7e142975db2754498afc968718ab6acdac542bd1569f79ee8ba088e24db05dd655d278bb6588257d0a SHA512 3bd4650599df3ea40b8b15deffef4f7bc5682863f0e716eb40e32f8bbd44638d788b8819bf7cea640f1390e4164f3bc9d32aadbe4c365640ba2ed9222c48103d MISC metadata.xml 516 BLAKE2B 08b11ebed2913b00e0a8c0044a50e3ca7bc0e51fcad180725c90445227fed1aed58ed89b4bed58ef5c050c3eee3c19da33aabce5cd1f7835f4b560e67ccc7744 SHA512 b4afb6af57562e6065f03db71da0dbdfc9c4337e54cbaddfa257ee7bad48dbeecfaccd765901bf65279e34cf96be3975f983017858904716a36bf8c18f33db79 diff --git a/dev-python/alembic/alembic-1.11.2.ebuild b/dev-python/alembic/alembic-1.11.2.ebuild new file mode 100644 index 000000000000..0fb0d2348c60 --- /dev/null +++ b/dev-python/alembic/alembic-1.11.2.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 +} -- cgit v1.2.3