remove old sqlalchemy-1.4.27
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
AUX sqlalchemy-1.4.27-drop-greenlet.patch 1422 BLAKE2B 7ed9aae160a3b2d3a68c08f32d7a271f5c6ec1b2d93dd9afdb77b73655b1245feeb2982e8dfa9ae7ef0e5e55bd2e2ac7146c95e9eb605a067ee309df5115b28c SHA512 abcc4a546a879fcf7b491259cc520365ead64948fefc47847f6761501a463577a9787f024360d25c2061829e431866d309f5c28b4e2af592f9b4224f583229b7
|
||||
DIST SQLAlchemy-1.4.27.tar.gz 7907686 BLAKE2B a9751a82e81bcdcf1bd344f0275c0ff89df38c7e9eda4470d147f4b50b0a2a0d7e9861d932fb6382328ec0e2024d72279ea889e4dadd61a4a33fc3e085521604 SHA512 8d1d76596b1698e320305a07e3f0a56607568ef60b6be36c86c0cabc843c8d6d62034d7446eef69f0cd0687de474d34ce1161c1adb9fdeea8c0b47af372015be
|
||||
EBUILD sqlalchemy-1.4.27-r3.ebuild 1472 BLAKE2B d45922e80d523fad78967aa258ca4cf957879f1825e63da154a59796365cb3d7c1be2cd3bf2406c84563d89fe77006e71177ce5308d7f069c551d8be68d170f4 SHA512 98a219ef3b8520fd1ec0e6aa4897dedc92ec81cb8e7cf00ff52857326bc0d1de1d1b753a3e4fa5eea30eaf55e3dc5cb81ee5cc41813bf40e649a109d9c23d70c
|
||||
MISC metadata.xml 533 BLAKE2B f1b9dbb7eff5d36567855fc45d48d173dcffe4477f5b204b2cd12c9d35392d8882f5968c0236436d9bf9d75c0ad372dc9c77aded612ad8b13ece51a64038c87b SHA512 734bae52323ff7c2e9dedff7f9b22480cffbb266880fcce3e939f3b8e2c95ec51a325eac2139577e4845c0d79e265d814066422d8d06d843d9f5edb7b37ff904
|
||||
@@ -1,49 +0,0 @@
|
||||
Not available on all arches we support and is only needed for
|
||||
a few consumers.
|
||||
|
||||
https://bugs.gentoo.org/828482
|
||||
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Wed, 8 Dec 2021 00:31:01 +0000
|
||||
Subject: [PATCH] Drop greenlet dependency
|
||||
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -36,11 +36,8 @@ package_dir =
|
||||
=lib
|
||||
install_requires =
|
||||
importlib-metadata;python_version<"3.8"
|
||||
- greenlet != 0.4.17;python_version>='3' and (platform_machine=='aarch64' or (platform_machine=='ppc64le' or (platform_machine=='x86_64' or (platform_machine=='amd64' or (platform_machine=='AMD64' or (platform_machine=='win32' or platform_machine=='WIN32'))))))
|
||||
|
||||
[options.extras_require]
|
||||
-asyncio =
|
||||
- greenlet!=0.4.17;python_version>="3"
|
||||
mypy =
|
||||
mypy >= 0.910;python_version>="3"
|
||||
sqlalchemy2-stubs
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index b7f69e9..91993f7 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -57,7 +57,6 @@ oracle =
|
||||
postgresql = psycopg2>=2.7
|
||||
postgresql_pg8000 = pg8000>=1.16.6
|
||||
postgresql_asyncpg =
|
||||
- %(asyncio)s
|
||||
asyncpg;python_version>="3"
|
||||
postgresql_psycopg2binary = psycopg2-binary
|
||||
postgresql_psycopg2cffi = psycopg2cffi
|
||||
@@ -65,13 +64,10 @@ pymysql =
|
||||
pymysql;python_version>="3"
|
||||
pymysql<1;python_version<"3"
|
||||
aiomysql =
|
||||
- %(asyncio)s
|
||||
aiomysql;python_version>="3"
|
||||
asyncmy =
|
||||
- %(asyncio)s
|
||||
asyncmy>=0.2.3;python_version>="3"
|
||||
aiosqlite =
|
||||
- %(asyncio)s
|
||||
aiosqlite;python_version>="3"
|
||||
typing_extensions!=3.10.0.1
|
||||
sqlcipher =
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">SQLAlchemy</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>mike_mp@zzzcomputing.com</email>
|
||||
<name>Mike Bayer</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="asyncio">add asyncio helper support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||
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="~alpha amd64 arm arm64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="asyncio examples +sqlite test"
|
||||
|
||||
# greenlet for bug #823794
|
||||
RDEPEND="asyncio? ( virtual/python-greenlet[${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
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if ! use asyncio ; then
|
||||
eapply "${FILESDIR}/${PN}-1.4.27-drop-greenlet.patch"
|
||||
fi
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user