remove old sqlalchemy-1.4.27

This commit is contained in:
2022-06-07 04:03:19 +02:00
committed by onkelbeh
parent 0f8ef2b4f3
commit 147eda27c9
5 changed files with 7 additions and 139 deletions
+7 -7
View File
@@ -67,18 +67,18 @@ Since homeassistant-0.115.3 the **Main Ebuild** is released in three different s
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
[![emerge ha-min on 3.10](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-p310-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-p310-min.yml)
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **87** USE Flags.
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **88** USE Flags.
### `app-misc/homeassistant`
[![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg?branch=master)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml)
The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **283** USE Flags.
The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **284** USE Flags.
### `app-misc/homeassistant-full`
WARNING: This one currently breaks (caused by shell limitations) emerge with an 'Argument list too long' error. It compiles with a [kernel hack](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/190#issuecomment-1002). Thanks to @gcampagnoli.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **845** USE Flags.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **846** USE Flags.
A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md)
@@ -524,12 +524,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1770 Ebuilds in total, 1763 of them have in total 1770 (35 different) licenses assigned.
There are 1773 Ebuilds in total, 1766 of them have in total 1773 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1078|
|Apache-2.0|321|
|MIT|1077|
|Apache-2.0|324|
|GPL-3|108|
|BSD|99|
|LGPL-3|28|
@@ -538,8 +538,8 @@ There are 1770 Ebuilds in total, 1763 of them have in total 1770 (35 different)
|GPL-3+|14|
|all-rights-reserved|13|
|BSD-2|9|
|LGPL-2.1|7|
|Unlicense|6|
|LGPL-2.1|6|
|EPL-1.0|5|
|public-domain|4|
|LGPL-2+|3|
-4
View File
@@ -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 =
-18
View File
@@ -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
}