Skip to content

Commit

Permalink
dev-python/astroid: add 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelbeh committed Oct 27, 2024
1 parent 13f1a40 commit d7a37df
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ 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 2256 Ebuilds in total, 2242 of them have in total 2281 (43 different) licenses assigned.
There are 2257 Ebuilds in total, 2243 of them have in total 2282 (43 different) licenses assigned.

|License| Ebuilds using it|
|-------|-----|
Expand All @@ -626,10 +626,10 @@ There are 2256 Ebuilds in total, 2242 of them have in total 2281 (43 different)
|MPL-2.0|6|
|ZPL|6|
|AGPL-3|4|
|LGPL-2.1+|4|
|0BSD|3|
|CC-BY-4.0|3|
|PYTHON|3|
|LGPL-2.1+|3|
|LGPL-2.1|3|
|EPL-1.0|3|
|CC0-1.0|3|
Expand Down
4 changes: 3 additions & 1 deletion dev-python/astroid/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DIST astroid-3.0.1.gh.tar.gz 461593 BLAKE2B de3458bcd9ba111020132e89b6e2fdf18b81b82cba68c986e84af91c910e6c70e7d13ff024b7947f3fa08e2491ba211a77a35421b3d5cd184b94e6a833c0da42 SHA512 2c8a4cf22959aef1eb9510430bcc55d00fcda76d022575786c9a59c093fe4196b67c0b9401f9226595a4cbf1fb9444bdfbb9ac2d83c115ec1d7d46cb7dd75dbd
EBUILD astroid-3.0.1.ebuild 1451 BLAKE2B 7e606691877a47fd3ee64c22626d3c62566357ba2ecf350dc73088616a9e758a9464e52ebe81fc333494d9e9801833373d9438a2b4d515eed12336c26ecd4ad5 SHA512 8d8909b99eed607f353e4c7081c987fc5d95602883d9656cdbe585d316f786c3e7cd3ae2905cb772a9aa73e29176c4ace1b9cb3032f34352ea20d0c7d853bf1a
DIST astroid-3.3.4.gh.tar.gz 465703 BLAKE2B a6ee3a02196e1fe67177339c235aa43419459f9b82d98e0cdf681e24321bf77517074ed756693b6f8d66e167f6d567e01694cb9678b4f60857fc6cd80365104f SHA512 fd826d8d08f3031670959eb0ef27108c6df632d951d47e75ee870d866b80da37e3880bfc51843ec7cf0a6441d6f9a85a16757a6b0c777844dd7ee0445fb8ef76
EBUILD astroid-3.0.1.ebuild 1451 BLAKE2B 35cab01289b9bd7b342ce1636d771fbee9febcf04506d5f099016c81c6c290e977725aa7f72b1fedd2a237525aa325e40e10d8a8024984ed0807129e01b5fbef SHA512 facde9268a641b330ae3db7da2c6d59595f7bce31c407c91174f2f7642459cb01a9fd8f41a07975bf3783f334debfeb0863d42b43cd9b06a1558920289d39aa3
EBUILD astroid-3.3.4.ebuild 1451 BLAKE2B 35cab01289b9bd7b342ce1636d771fbee9febcf04506d5f099016c81c6c290e977725aa7f72b1fedd2a237525aa325e40e10d8a8024984ed0807129e01b5fbef SHA512 facde9268a641b330ae3db7da2c6d59595f7bce31c407c91174f2f7642459cb01a9fd8f41a07975bf3783f334debfeb0863d42b43cd9b06a1558920289d39aa3
MISC metadata.xml 386 BLAKE2B 0fdb35ff12eee31b0eec240328dad835b4119b00c4be0fd3924b7b0053c7cd139f39ab33efcbc9cc0bd5db237ee886003f19aeeda389a1ae7344da6ab5ad8156 SHA512 53748a52d3aa42d8d48c3543eeda99bd13c08e8d2569f712a1af0de686c1a153c7c2850baed61f987d6ec838b3f63be8a9553d9b85b900790c9103cc908539c0
4 changes: 2 additions & 2 deletions dev-python/astroid/astroid-3.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..13} )

inherit distutils-r1

Expand Down
58 changes: 58 additions & 0 deletions dev-python/astroid/astroid-3.3.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )

inherit distutils-r1

DESCRIPTION="Abstract Syntax Tree for logilab packages"
HOMEPAGE="
https://github.com/pylint-dev/astroid/
https://pypi.org/project/astroid/
"
SRC_URI="
https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"

LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"

# Version specified in pyproject.toml
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
' 3.10)
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/attrs[${PYTHON_USEDEP}]
>=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
)
"

distutils_enable_tests pytest

export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

python_test() {
local EPYTEST_DESELECT=(
# no clue why they're broken
tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils
# pydantic-2?
tests/brain/test_dataclasses.py::test_pydantic_field
# requires urllib3 with bundled six (skipped with urllib3>=2)
tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter
)

local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

0 comments on commit d7a37df

Please sign in to comment.