From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9BDDE158003 for ; Mon, 15 Nov 2021 04:59:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9E76E0875; Mon, 15 Nov 2021 04:59:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC355E0875 for ; Mon, 15 Nov 2021 04:59:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46B8F3431A0 for ; Mon, 15 Nov 2021 04:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE08D29 for ; Mon, 15 Nov 2021 04:59:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1636952321.85cae71fdf4b2c3f946c8d7f87c5305b6163c751.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sqlalchemy/sqlalchemy-1.4.27-r1.ebuild X-VCS-Directories: dev-python/sqlalchemy/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 85cae71fdf4b2c3f946c8d7f87c5305b6163c751 X-VCS-Branch: master Date: Mon, 15 Nov 2021 04:59:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b0533497-42c0-4ee4-982a-55b0a2325a53 X-Archives-Hash: fdb6bcdacaef6a9e48a63dddb140c97c commit: 85cae71fdf4b2c3f946c8d7f87c5305b6163c751 Author: Sam James gentoo org> AuthorDate: Mon Nov 15 04:53:38 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Nov 15 04:58:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85cae71f dev-python/sqlalchemy: add eventlet dependency Closes: https://bugs.gentoo.org/823794 Signed-off-by: Sam James gentoo.org> dev-python/sqlalchemy/sqlalchemy-1.4.27-r1.ebuild | 54 +++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.27-r1.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r1.ebuild new file mode 100644 index 000000000000..50d5210e918a --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Dropped pypy3, python3.10 for now b/c of eventlet dependency +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +# eventlet for bug #823794 +RDEPEND="dev-python/eventlet[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "mssql support" dev-python/pymssql + optfeature "postgresql support" dev-python/psycopg:2 +}