dev-python/sqlalchemy: add sqlalchemy-2.0.5_p1, drop old

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-03-09 18:52:54 +01:00 committed by Andreas Billmeier
parent 281bb658f0
commit 5119b14162
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 41 additions and 18 deletions

View File

@ -573,12 +573,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 1811 Ebuilds in total, 1800 of them have in total 1805 (34 different) licenses assigned.
There are 1809 Ebuilds in total, 1798 of them have in total 1803 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1052|
|Apache-2.0|398|
|Apache-2.0|396|
|GPL-3|112|
|BSD|94|
|LGPL-3|26|
@ -612,9 +612,9 @@ There are 1811 Ebuilds in total, 1800 of them have in total 1805 (34 different)
|CC0-1.0|1|
|GPL-2+|1|
(Last counted: 04/03/2023)
(Last counted: 09/03/2023)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 04/03/2023
Last updated: 09/03/2023

View File

@ -1,5 +1,5 @@
DIST SQLAlchemy-1.4.38.tar.gz 8211925 BLAKE2B c65a8bddfc77bb6262e24a9b191344da312641dcd759de8541439e13cc532d9c2ef92da50c0b46ace60f2fd8582dfa6ea37b2f393fd979b3f122d962c688ede8 SHA512 4f54873fe2ba14b00cfa900251bc81d4fbbd62ed2b0f5f35bd3d5157796b869a3b7a9acf162f65da3f05b4b43cfc8bba437600f7fb81887a1839043a6ad516b4
DIST SQLAlchemy-1.4.45.tar.gz 8535958 BLAKE2B 09e777584067532ed77d8dca9d86996b22317395338aa056d91d7ae1600d6b7111ef714d04980f87ab517007dd6a581c5552efa9c4a676e88c567f339f227fe6 SHA512 4c6e9ef84c6517f47493ad6ce6d366bc0e7222e7a668d43c7b9f4919e87076a5f7687dc525060e430be23c5d9f12e7ef9d97d679040ff132244aa2b3418974a9
EBUILD sqlalchemy-1.4.38.ebuild 2625 BLAKE2B cb12c0a41a713cad62ed92c4232a24a3ef0293e5d48488ed3ebf9cb70106a9febab2caa70bfbbb7c22e281d6db222f1a0e3cc5ce782272880effeda6a4ae2fd8 SHA512 dec936b66e10c04ce2c9eb2af65cf48c64a5e9b04ef1279c1133fb56d9a424853544ef5c3e7412d5cd5bc58c36c3697f34e2ce05cf847335872891d5f397e16c
EBUILD sqlalchemy-1.4.45.ebuild 2860 BLAKE2B 8fc052f4930f2369bbbbd336fbfdbf6b2a19b12d51e16f1876262ef1aa344f5d5db75597148a9d46f4144495c2f41a7e735c099bc059c27991f5c4c0c9d73495 SHA512 f043f2491f60baeb6db0055dc2cbe5d0d073e843a9784b8859baebdd37f0300be9b93a83c3910fc0f08e1cd3931b7d35f8a833f8c97f9737f9481dbee6f86087
DIST SQLAlchemy-2.0.5.post1.tar.gz 9287722 BLAKE2B 11aeb2a753f45524082392c748cd1357b8e973d6d9a27821aab44e53781844b1a7cf02d9e7dff2b66f994862ea178830bcfd09beee48b3afa95a313d1fb63cb3 SHA512 50c5d2d44bd28ed50a56e34c2e4cac92940ab591c952a3a201c27f497be8f4f835fdddb355e48353e1426d3962e26f5e2c9efa5598bfed76f9602cb833878e22
EBUILD sqlalchemy-1.4.45.ebuild 2729 BLAKE2B a4a1a364563eaba1ead93ac25c3707a6bca7263fba782f5b594a3214f0de245d377e59425008f9a72968fb224effc983c03ca232b23401d74cefda9197ff7b65 SHA512 22d9d1252086187c0e38ecbca099dda8b8fec6747107035a5604f21c6941252ca84ff35310853a9fb23985618d94b4057805895ae2fd4d17def17da8c000dc24
EBUILD sqlalchemy-2.0.5_p1.ebuild 4123 BLAKE2B 0c530abaf345c1ca739b592e91c2744b0055437224da6f71c64c7d9c6b1de7eb5c90375d99f0be43ccffa72b5ab52961d80250f86ecdacfcbc18854e0e06774f SHA512 2ef07f2fcf565aa79c30b0210b2bcfbded4863a25ad05153a00449977fd68aa816614a2a96c534abf17bd01367eda4000582a93cf07d557d2ba40d95801ee15d
MISC metadata.xml 444 BLAKE2B 5fbfcf8f16e52ab5bb691b0b33a8491d94e42a80409114cd9b306af7d4b0eb8b6660fabc663adee53080c635217961301b78df536995b91afe9288d255f73d62 SHA512 b432b65ed3033d34ac0784d007909eb838b309b6a4785eebb1a3f808e43dfc41c786cd55e4dd048776c65127aac170bdd9fb9e5a8ae63accb5f65e300bca9676

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{9..11} )
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 optfeature
@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="amd64 arm arm64 x86"
IUSE="examples +sqlite test"
BDEPEND="

View File

@ -1,31 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# 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_{8..11} )
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 optfeature
inherit distutils-r1 optfeature pypi
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/
https://github.com/sqlalchemy/sqlalchemy/
"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")"
S="${WORKDIR}"/${MY_PN}-${PV/_p/.post}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="amd64 arm arm64 x86"
IUSE="examples +sqlite test"
RDEPEND="
>=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
@ -45,18 +46,40 @@ src_prepare() {
}
python_test() {
local EPYTEST_IGNORE=(
test/ext/mypy/test_mypy_plugin_py3k.py
)
local EPYTEST_DESELECT=(
# warning tests are unreliable
test/base/test_warnings.py
# TODO
test/orm/test_versioning.py::ServerVersioningTest_sqlite+pysqlite_3_40_1::test_sql_expr_w_mods_bump
test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_3_41_0::test_pickle_rows_other_process
)
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access
test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg
test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg
test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string
test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string
test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string
test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_3_40_1::test_cant_parse_datetime_message
test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_3_41_0::test_cant_parse_datetime_message
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_delete_single
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_insert_single
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_update_single
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_delete_single
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_insert_single
test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_update_single
test/base/test_utils.py::ImmutableDictTest::test_pep584
)
if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution
test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]"
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]"
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]"
"test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]"
)
fi