diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-06 01:15:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-06 01:15:36 +0000 |
| commit | 9519861e1deaaa22bd2c1b021dba8f67421e56a2 (patch) | |
| tree | 1b2b4f74a56bea467eb88bd946e626ea08b71119 /dev-python | |
| parent | 8488ab42f07541592e47934cff6fd50ce69a0673 (diff) | |
| download | baldeagleos-repo-9519861e1deaaa22bd2c1b021dba8f67421e56a2.tar.gz baldeagleos-repo-9519861e1deaaa22bd2c1b021dba8f67421e56a2.tar.xz baldeagleos-repo-9519861e1deaaa22bd2c1b021dba8f67421e56a2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
46 files changed, 480 insertions, 1257 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 46d34e13e8c8..8ce7c3b50bd7 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -5,4 +5,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.0.src.tar.xz 117933476 BLAKE2B fa09cd8f647ce0daf5a7eae9ac03b99594a9b3193b12065f43f9a6731875243f2f5b354136bcadcb31622b246054e94f880eec3dab0bcd6ae89973fa9dca845c SHA512 3f040abc1b03205693824aeff2ee6efb0cff25fe04bd5265141c093f294655a1f3fcda73cab9c57cbed7523c8f186a7e2484afce0792c55e90e3fb80450fabb7 DIST llvm-project-16.0.0.src.tar.xz.sig 566 BLAKE2B daba130aa5662fbf7cc2e7aa8fa6b64f9cb355a72330f7a01a21b86389c6f2f85ae93de19ff08ba3f1cfe2834d9a2b7648bdf659caba3afdb2a0d13984774a54 SHA512 38e2449dce20cfbf813d1a9a68b36807722ac8ebb5ee07360fa215b2de8534d2329d3e41cfc3ed33e59e36714b94a6683a6d8077950bcf0037973492e0820fb3 +DIST llvm-project-16.0.1.src.tar.xz 117990772 BLAKE2B 298189ce6d7245711e5bd3e03fa74d603dda5a458463ca0cb261fe6949290c46a70abbd1ad1c556e08da3adc5df577305e267c1135214b900d78502e39b46bc5 SHA512 98fc11c0ad90d5e5a2cb123b497b89a1583fe7f91b3ff05c335037801ef66cbfab08f6d2eff539f0da238e9685d4bc7a9fb2578e28864fc9e9357b84129cefaa +DIST llvm-project-16.0.1.src.tar.xz.sig 566 BLAKE2B 06c03d789e63ab30bba4c56ba9ec91400d804448482d6a7fd395252b3b9166a5ee7a42a94c2074aa0d1809a3327f993d8932211f3fc05ad281db64c17b2a7094 SHA512 f42db28eb8280db06b1c78fa7a7aaea3a79499cecee1a64ce18c49b90c755b3a78fc93f01d1855887c7918ccc927c3b6147cfc916520f05d4cef65381ca6fe60 DIST llvm-project-4bf004e07e2b9d6e04e3f33e1b02628c679de664.tar.gz 180304467 BLAKE2B 6750855453b575eb8fcc861d5b24b144497bba62df9b9292ac586cf340e04b2b58290fe9df6d89142f29b56aa37ddeb3bd11cc3337e4dc985a4487954d1e2ffa SHA512 d8a87064ba0f92967df019e9345222b87cda81852a9599902cedc4a49ec7d9e2175c972b7fa6d19920489c1d309822f9c31c23bdce0376a8d40c71d57bcd5068 diff --git a/dev-python/clang-python/clang-python-16.0.1.ebuild b/dev-python/clang-python/clang-python-16.0.1.ebuild new file mode 100644 index 000000000000..5546637dec76 --- /dev/null +++ b/dev-python/clang-python/clang-python-16.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild index 0285c704f9af..605ec96a0196 100644 --- a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild +++ b/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-python-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest index df88c1015056..3582052ef939 100644 --- a/dev-python/elasticsearch-py/Manifest +++ b/dev-python/elasticsearch-py/Manifest @@ -1,6 +1,2 @@ -DIST elasticsearch-7.17.6-no-jdk-linux-x86_64.tar.gz 167439665 BLAKE2B a0f2a57fbdd5bce1d476e410ec31555be7ebffa5961ad9b51d65753b50f05833e5991ee41c4b00906a8253146f72dc24895d5790a9d6afeea722d4b9b1a12443 SHA512 d3d1a16c2276d7ede911fc53915c988e17532a6481f9e4827677f6b40e6ccade6a9655a28bdb6460e98a4229f7cef807441e20afcdc161010f674ce1483da4f4 -DIST elasticsearch-7.17.9-linux-x86_64.tar.gz 315244963 BLAKE2B d08e99a857de9cf3b2d1db4b1788c7340b0efdfe2e0b0ea0ed172a4c13dfafb67d6337e18f65ee7dedb217296ef4aff01dcf8a47c8855504fb2249ac48f0d5a2 SHA512 f49d8fce010db83e6a89462535c71ba11a1153589038a7db430fc7db44178a55d5538dea80e6d4c690f4f0e838168965297c6a3ae31fbc5020af4d966067a90c DIST elasticsearch-8.6.2-linux-x86_64.tar.gz 581745209 BLAKE2B c5d76e8fd2b7b28d50a0b81950c5d824f5000d3239efef9c3312e153829f09d98ba1394dceff2f147c29e2cd24be2ea4aaf0e0dc830e51989b87c8c7b48e3b3c SHA512 4c5ea98af53861d6c7f06f855f3bd4f4f52136d8149347e43f633a23ba56d3237f6ff7346bf849090f4e52b28fc21c98df8d9b0f0f845a330834367705cd366a -DIST elasticsearch-py-7.17.6.gh.tar.gz 330159 BLAKE2B c72cf21ece1cc74c08f5f9a6718333bd89b6aece5902c4a053182bf63378b56afa84bb72cd7b07e7daba9eb19ac52f6c7f801124871cb4f555e456a66773218b SHA512 cb5f96e4e7a6c7a6bf52c55bcf3a4a3456574cea9815b002482a6e47a86c492d18aa85b3046ed6741361bd7e4e6fbc67c95a57b5a52e8320f102d3a5c1f4c719 -DIST elasticsearch-py-7.17.9.gh.tar.gz 330550 BLAKE2B 09f468e94408646cf8fe182137c50253852bdf4c79c2d6d90774bbc13f7c1ed1b08a5c52298873e986d8863b24527350ac0ec06b463047cb3b605573c732e0d9 SHA512 c05f22b5083da01833fbcfa4c0446efb19d0a8e5b541a07b8126c0597e6d513c2f5ead14f6d01d0f5ab29a7d20bcf80213576690fd66daa337ea555c6eaafae5 DIST elasticsearch-py-8.6.2.gh.tar.gz 517674 BLAKE2B c498f1e1efaea4c24f595f7e496f576372d6075da107b2f84a7d4a42c02de4e00d1459df6f965384f5880b4d8f910c4a7a49a773cb38361618ca7a74e5c4ec5a SHA512 53c03c9c8da4eb303e8f9cd5752bbef5a360d1e1a6fea4e98a8d576299f2ae4175c1da09429049cedf53a78bf86a4647fe4f4f9c7735a5a29977ada7db49e5fb diff --git a/dev-python/elasticsearch-py/elasticsearch-py-7.17.6.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-7.17.6.ebuild deleted file mode 100644 index 9fb39c65f7ee..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-7.17.6.ebuild +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-no-jdk-linux-x86_64.tar.gz - ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="async doc" - -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - <dev-python/urllib3-2.0.0[${PYTHON_USEDEP}] - async? ( - >=dev-python/aiohttp-3[${PYTHON_USEDEP}] - <dev-python/aiohttp-4[${PYTHON_USEDEP}] - )" -BDEPEND=" - test? ( - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - virtual/jre:* - async? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) - )" - -distutils_enable_sphinx docs/sphinx \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_prepare() { - default_src_prepare - - sed -e '/addopts/d' -i setup.cfg || die -} - -src_test() { - local es_port="25124" - - export ES_DIR="${WORKDIR}/elasticsearch-${PV}" - export ES_INSTANCE="gentoo-es-py-test" - export ES_JAVA_HOME=$(java-config -g JAVA_HOME || die) - export ELASTIC_PASSWORD="changeme" - export ELASTICSEARCH_URL="https://elastic:${ELASTIC_PASSWORD}@localhost:${es_port}" - - cp -r "${S}/.ci/certs" "${ES_DIR}/config" || die - - cat > "${ES_DIR}/config/elasticsearch.yml" <<-EOF || die - # Run elasticsearch on custom port - http.port: ${es_port} - cluster.routing.allocation.disk.threshold_enabled: false - bootstrap.memory_lock: true - node.attr.testattr: test - repositories.url.allowed_urls: http://snapshot.test* - action.destructive_requires_name: false - ingest.geoip.downloader.enabled: false - - xpack.license.self_generated.type: basic - xpack.security.enabled: true - xpack.security.http.ssl.enabled: true - xpack.security.http.ssl.verification_mode: certificate - xpack.security.http.ssl.key: certs/testnode.key - xpack.security.http.ssl.certificate: certs/testnode.crt - xpack.security.http.ssl.certificate_authorities: certs/ca.crt - xpack.security.transport.ssl.enabled: true - xpack.security.transport.ssl.verification_mode: certificate - xpack.security.transport.ssl.key: certs/testnode.key - xpack.security.transport.ssl.certificate: certs/testnode.crt - xpack.security.transport.ssl.certificate_authorities: certs/ca.crt - EOF - - # Set password in keystore - printf "y\n${ELASTIC_PASSWORD}\n" | ${ES_DIR}/bin/elasticsearch-keystore add "bootstrap.password" || die - - # Deselect tests which require a non-free license in the server to succeed - local EPYTEST_DESELECT=( - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[token/11_invalidation[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[token/10_basic[{1..4}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_record[{1..6}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_influencer[{1..8}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/datafeed_cat_apis[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/filter_crud[10] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/preview_data_frame_analytics[{3..5}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/custom_all_field[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/data_frame_analytics_crud[{1,5,6,13,29,38,39,40,42,62,76,77,78,80,81,82,83}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/start_data_frame_analytics[{0,1,2,3,4,6,7,8}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_categories[{0,1,2,3,4,5,6,7}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/forecast[{1,2,3,4,5,6}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/explain_data_frame_analytics[{3,5,6,7,8}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/delete_expired_data[{0,1,2,3}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/upgrade_job_snapshot[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/inference_processor[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_buckets[{0,1,2,3,4,5,6,7,8,9,10,11}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/trained_model_cat_apis[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/revert_model_snapshot[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/calendar_crud[{0,7,8,12,13,17,18}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/stop_data_frame_analytics[{0,1,2,3,4,5}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get[{0,1,2,3,4}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/preview_datafeed[{0,1,2,3,7,8,9}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/data_frame_analytics_cat_apis[{0,1,2,3}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/reset_job[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/ml_anomalies_default_mappings[{0,1}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/get_model_snapshots[{0,1,2,3,4,5,6,7}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/get_datafeeds[{0,1,2,3}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/job_cat_apis[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[change_password/11_token[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[searchable_snapshots/10_usage[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[graph/10_basic[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[data_stream/10_data_stream_resolvability[4] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[xpack/20_info[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[authenticate/10_field_level_security[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[set_security_user/10_small_users_one_index[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[terms_enum/10_basic[{0..9}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[security/hidden-index/14_security-tokens-7_read[{0,1,2}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[security/hidden-index/13_security-tokens_read[{0,1,2}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_records[{0..6}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[ml/jobs_get_result_influencers[{0..8}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[license/20_put_license[{5,7,8}] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[license/30_enterprise_license[0] - test_elasticsearch/test_server/test_rest_api_spec.py::test_rest_api_spec[token/10_basic[0] - ) - - use async || EPYTEST_DESELECT+=( - test_elasticsearch/test_async test_elasticsearch/test_types/async_types.py - ) - - distutils-r1_src_test -} - -python_test() { - local es_instance="gentoo-py-test" - local es_log="${ES_DIR}/logs/${es_instance}-${EPYTHON}.log" - local es_temp="${T}/es_temp-${EPYTHON}" - local pid="${ES_DIR}/elasticsearch.pid" - - mkdir ${es_temp} || die - - ebegin "Starting Elasticsearch for ${EPYTHON}" - - # start local instance of elasticsearch - "${ES_DIR}"/bin/elasticsearch -d -p "${pid}" -Ecluster.name="${es_instance}-${EPYTHON}" -Epath.repo="${es_temp}" || die - - local i es_started=0 - for i in {1..20}; do - grep -q "started" ${es_log} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${es_log}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - sleep 2 - continue - fi - done - - [[ ${es_started} -eq 0 ]] && die "Elasticsearch failed to start" - - epytest - - pkill -F ${pid} || die -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-7.17.9.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-7.17.9.ebuild deleted file mode 100644 index 57b371bb2a6e..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-7.17.9.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Official Elasticsearch client library for Python" -HOMEPAGE=" - https://ela.st/es-python - https://github.com/elastic/elasticsearch-py - https://pypi.org/project/elasticsearch/ -" -# Use bundled jdk for the test elasticsearch as there is no convenient way to ensure system jdk17 is used -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz - test? ( - amd64? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-linux-x86_64.tar.gz ) - ) -" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~x86" - -RESTRICT=" - !amd64? ( test ) - !test? ( test ) -" - -RDEPEND=" - >=dev-python/aiohttp-3[${PYTHON_USEDEP}] <dev-python/aiohttp-4[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] <dev-python/urllib3-2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] - dev-python/multidict[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2[${PYTHON_USEDEP}] <dev-python/requests-3[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # REST api tests are a black hole for effort. It downloads the tests so its an ever moving target - # It also requires effort to blacklist tests for apis which are license restricted. - "test_elasticsearch/test_server/test_rest_api_spec.py" - # Counting deprecation warnings from python is bound to fail even if all are fixed in this package - # Not worth it - "test_elasticsearch/test_client/test_deprecated_options.py" - # Requires a network connection. I could've used PROPERTIES=test_network, - # but it would complicate the RESTRICT statement with the elasticsearch binary being limited to amd64 and arm64 - "test_elasticsearch/test_connection.py" - "test_elasticsearch/test_async/test_connection.py" -) - -EPYTEST_DESELECT=( - # Not motivated to figure these out, upstream CI doesnt test with the daemon running so it hasnt been caught there - - ## elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', - ## 'index [.ds-ilm-history-5-2023.02.17-000001] is the write index for data stream [ilm-history-5] and cannot be deleted') - "test_elasticsearch/test_server/test_clients.py::TestUnicode::test_indices_analyze" - ## elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', - ## 'unable to remove composable templates [.deprecation-indexing-template] as they are in use by a data streams [.logs-deprecation.elasticsearch-default]') - "test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream[create]" - ## elasticsearch.exceptions.NotFoundError: NotFoundError(404, 'index_template_missing_exception', - ## 'index_template [.deprecation-indexing-template] missing') - "test_elasticsearch/test_async/test_server/test_helpers.py::TestScan::test_scan_auth_kwargs_forwarded" - ## elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', - ## 'Cannot delete policy [.deprecation-indexing-ilm-policy]. It is in use by one or more indices: - ## [.ds-.logs-deprecation.elasticsearch-default-2023.02.17-000001]') - "test_elasticsearch/test_async/test_server/test_helpers.py::TestParentChildReindex::test_children_are_reindexed_correctly" - ## elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', - ## 'Cannot delete policy [.deprecation-indexing-ilm-policy]. It is in use by one or more indices: - ## [.ds-.logs-deprecation.elasticsearch-default-2023.02.17-000001]') - "test_elasticsearch/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index" -) - -distutils_enable_sphinx docs/sphinx dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_prepare() { - # Replace added pytest options with setting asyncio_mode to auto. - # Test suite hasnt set asyncio parameters so its needed here. - sed -i '/[tool:pytest]/,/^$/ { s/addopts.*/asyncio_mode = auto/ }' setup.cfg || die - - # Catches warnings from other tests causing the assertation to fail unduly - sed -i '/TestStreamingBulk/,/class/ { /test_all_documents_get_inserted/,/async def/ { /assert w == \[\]/ d } }' \ - test_elasticsearch/test_async/test_server/test_helpers.py || die - - default -} - -src_test() { - local es_port="25124" - - export ES_DIR="${WORKDIR}/elasticsearch-${PV}" - export ES_INSTANCE="gentoo-es-py-test" - export ELASTIC_PASSWORD="changeme" - export ELASTICSEARCH_URL="https://elastic:${ELASTIC_PASSWORD}@localhost:${es_port}" - - # Default behavior sets these depending on available memory. - # On my system its not reliable and leads to an instant OOM :D - # So lets add a reasonable limit - export ES_JAVA_OPTS="-Xmx4g" - - cp -r "${S}/.ci/certs" "${ES_DIR}/config" || die - - cat > "${ES_DIR}/config/elasticsearch.yml" <<-EOF || die - # Run elasticsearch on custom port - http.port: ${es_port} - cluster.routing.allocation.disk.threshold_enabled: false - bootstrap.memory_lock: true - node.attr.testattr: test - repositories.url.allowed_urls: http://snapshot.test* - action.destructive_requires_name: false - ingest.geoip.downloader.enabled: false - - xpack.license.self_generated.type: basic - xpack.security.enabled: true - xpack.security.http.ssl.enabled: true - xpack.security.http.ssl.verification_mode: certificate - xpack.security.http.ssl.key: certs/testnode.key - xpack.security.http.ssl.certificate: certs/testnode.crt - xpack.security.http.ssl.certificate_authorities: certs/ca.crt - xpack.security.transport.ssl.enabled: true - xpack.security.transport.ssl.verification_mode: certificate - xpack.security.transport.ssl.key: certs/testnode.key - xpack.security.transport.ssl.certificate: certs/testnode.crt - xpack.security.transport.ssl.certificate_authorities: certs/ca.crt - EOF - - # Set password in keystore - printf "y\n${ELASTIC_PASSWORD}\n" | ${ES_DIR}/bin/elasticsearch-keystore add "bootstrap.password" || die - - local es_instance="gentoo-py-test" - local es_log="${ES_DIR}/logs/${es_instance}.log" - local es_temp="${T}/es_temp" - local pid="${ES_DIR}/elasticsearch.pid" - - mkdir ${es_temp} || die - - ebegin "Starting Elasticsearch for ${EPYTHON}" - - # start local instance of elasticsearch - "${ES_DIR}"/bin/elasticsearch -d -v -p "${pid}" \ - -Ecluster.name="${es_instance}" -Epath.repo="${es_temp}" || die - - local i es_started=0 - for i in {1..20}; do - grep -q "\] started" ${es_log} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${es_log}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - sleep 2 - continue - fi - done - - [[ ${es_started} -eq 0 ]] && die "Elasticsearch failed to start" - - distutils-r1_src_test - - pkill -F ${pid} || die - -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild index c5b8888e7840..2082d3a43ff4 100644 --- a/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild +++ b/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RESTRICT=" !amd64? ( test ) diff --git a/dev-python/elasticsearch-py/metadata.xml b/dev-python/elasticsearch-py/metadata.xml index df2a46b39fc9..ed6fa7c59727 100644 --- a/dev-python/elasticsearch-py/metadata.xml +++ b/dev-python/elasticsearch-py/metadata.xml @@ -10,8 +10,5 @@ <name>Proxy Maintainers</name> </maintainer> - <use> - <flag name="async">Add async support</flag> - </use> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/kiwisolver/kiwisolver-1.4.4-r1.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.4-r1.ebuild index d47451c42bf2..08c77075b017 100644 --- a/dev-python/kiwisolver/kiwisolver-1.4.4-r1.ebuild +++ b/dev-python/kiwisolver/kiwisolver-1.4.4-r1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Clear-BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" COMMON_DEPEND=" >=dev-python/cppy-1.2.0[${PYTHON_USEDEP}] @@ -36,7 +36,7 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}/${PN}-1.4.4-pypy3-tests.patch" + "${FILESDIR}/${PN}-1.4.4-pypy3-tests.patch" ) distutils_enable_tests pytest diff --git a/dev-python/kiwisolver/kiwisolver-1.4.4.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.4.ebuild deleted file mode 100644 index 7b6963cec004..000000000000 --- a/dev-python/kiwisolver/kiwisolver-1.4.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -MY_P=kiwi-${PV} -DESCRIPTION="An efficient C++ implementation of the Cassowary constraint solving algorithm" -HOMEPAGE=" - https://github.com/nucleic/kiwi/ - https://pypi.org/project/kiwisolver/ -" -SRC_URI=" - https://github.com/nucleic/kiwi/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Clear-BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -COMMON_DEPEND=" - >=dev-python/cppy-1.2.0[${PYTHON_USEDEP}] -" - -RDEPEND=" - ${COMMON_DEPEND} -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-python/setuptools-scm-3.4.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 46d34e13e8c8..8ce7c3b50bd7 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -5,4 +5,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.0.src.tar.xz 117933476 BLAKE2B fa09cd8f647ce0daf5a7eae9ac03b99594a9b3193b12065f43f9a6731875243f2f5b354136bcadcb31622b246054e94f880eec3dab0bcd6ae89973fa9dca845c SHA512 3f040abc1b03205693824aeff2ee6efb0cff25fe04bd5265141c093f294655a1f3fcda73cab9c57cbed7523c8f186a7e2484afce0792c55e90e3fb80450fabb7 DIST llvm-project-16.0.0.src.tar.xz.sig 566 BLAKE2B daba130aa5662fbf7cc2e7aa8fa6b64f9cb355a72330f7a01a21b86389c6f2f85ae93de19ff08ba3f1cfe2834d9a2b7648bdf659caba3afdb2a0d13984774a54 SHA512 38e2449dce20cfbf813d1a9a68b36807722ac8ebb5ee07360fa215b2de8534d2329d3e41cfc3ed33e59e36714b94a6683a6d8077950bcf0037973492e0820fb3 +DIST llvm-project-16.0.1.src.tar.xz 117990772 BLAKE2B 298189ce6d7245711e5bd3e03fa74d603dda5a458463ca0cb261fe6949290c46a70abbd1ad1c556e08da3adc5df577305e267c1135214b900d78502e39b46bc5 SHA512 98fc11c0ad90d5e5a2cb123b497b89a1583fe7f91b3ff05c335037801ef66cbfab08f6d2eff539f0da238e9685d4bc7a9fb2578e28864fc9e9357b84129cefaa +DIST llvm-project-16.0.1.src.tar.xz.sig 566 BLAKE2B 06c03d789e63ab30bba4c56ba9ec91400d804448482d6a7fd395252b3b9166a5ee7a42a94c2074aa0d1809a3327f993d8932211f3fc05ad281db64c17b2a7094 SHA512 f42db28eb8280db06b1c78fa7a7aaea3a79499cecee1a64ce18c49b90c755b3a78fc93f01d1855887c7918ccc927c3b6147cfc916520f05d4cef65381ca6fe60 DIST llvm-project-4bf004e07e2b9d6e04e3f33e1b02628c679de664.tar.gz 180304467 BLAKE2B 6750855453b575eb8fcc861d5b24b144497bba62df9b9292ac586cf340e04b2b58290fe9df6d89142f29b56aa37ddeb3bd11cc3337e4dc985a4487954d1e2ffa SHA512 d8a87064ba0f92967df019e9345222b87cda81852a9599902cedc4a49ec7d9e2175c972b7fa6d19920489c1d309822f9c31c23bdce0376a8d40c71d57bcd5068 diff --git a/dev-python/lit/lit-16.0.1.ebuild b/dev-python/lit/lit-16.0.1.ebuild new file mode 100644 index 000000000000..41e94fc739e0 --- /dev/null +++ b/dev-python/lit/lit-16.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild index 825b308adb80..954b43d4cfd2 100644 --- a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild +++ b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/tilezen/mapbox-vector-tile/archive/refs/tags/v${PV}. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/protobuf-python[${PYTHON_USEDEP}] diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest index 8f1544872239..00271ecfd23d 100644 --- a/dev-python/pooch/Manifest +++ b/dev-python/pooch/Manifest @@ -1,2 +1 @@ -DIST pooch-1.6.0.tar.gz 52318 BLAKE2B c5cdf04a27a5754accee5a4522d5e6a51c4e71b7034cd570c6a2f30bc580ba9c15e0717be792e7cdd020ca745e6813a63681ce966ad61c0ed4aaa8b84829b920 SHA512 e1b6253b8879ef172bd6370139a7807355c7e1c03a1626ac46cb083b1f7d8beb5a8adb08c0828eb34e96a7164211d2dc7da214fd0176eb0606fe4ff47911257c DIST pooch-1.7.0.tar.gz 57457 BLAKE2B d85fc3cc707bfa639f46bf75b89dd31714f7a4f64a90ff7a6c92b792a8209e66a5fffb62912a336cd481330c37c0037df116d27ea06808bf02f1039e2aac930b SHA512 60126b893a9a1422aad12349143fbe72e485004f79b06da752f51ae374f375efae693304210c8d62b211433d7ce75fab53a50a6f267b1952df83fdccc2de13a7 diff --git a/dev-python/pooch/pooch-1.6.0.ebuild b/dev-python/pooch/pooch-1.6.0.ebuild deleted file mode 100644 index 3129515d8897..000000000000 --- a/dev-python/pooch/pooch-1.6.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Manage your Python library's sample data files" -HOMEPAGE="https://github.com/fatiando/pooch" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}]" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/pytest-localftpserver[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Needs network - "pooch/tests/test_core.py::test_check_availability_on_ftp" - "pooch/tests/test_downloaders.py::test_invalid_doi_repository" - "pooch/tests/test_downloaders.py::test_doi_url_not_found" - "pooch/tests/test_downloaders.py::test_figshare_url_file_not_found[figshare]" - "pooch/tests/test_downloaders.py::test_figshare_url_file_not_found[zenodo]" - "pooch/tests/test_downloaders.py::test_doi_downloader[figshare]" - "pooch/tests/test_downloaders.py::test_doi_downloader[zenodo]" -) - -### docs no included in pypi tarball -# distutils_enable_sphinx doc \ -# dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - epytest -k "not network" -} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index b8fb1bcc3515..cbf0fcbcb49c 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,6 +1,2 @@ -DIST pylint-2.16.2.gh.tar.gz 1382056 BLAKE2B 35c4c07fb750c884d62c9ec563e5133654b9ecef41d320976214a1cae25cd28f1681dcc3053cc358276cfc3cc76df770fbb2f7691e387bb07b6ff803f4a21d0b SHA512 36a76fa7a5ae9c4fead66a0964dd40963c51db8225ec112b0557d04ddf2f89ea9649e390c005ccc35341b2ac5f69f6ccf17652d08cba223fdcd36ccf433659bb -DIST pylint-2.16.3.gh.tar.gz 1382318 BLAKE2B 67e2e7b6facde79268267e44081e1b71e391654b959e39c0d3893e1d6ffd0a79423d3c9663e0aeaadd4321669e17799af4351bcbd2cbd51518ec5f1b4db940ab SHA512 3918c15bbf94de7a4150652dc1fc8cc2929255470198d52bcbfe1205017192e748a852aa0174bf864165ce5e9eac70e4f1a23ca3275fea3f584216c32b224b61 -DIST pylint-2.16.4.gh.tar.gz 1382902 BLAKE2B 515078d2677e4374041de563ec2a98cf877848a0f1042c26f331a21335e030e15a3d6ba4eb539c18cc3835fc9505270c540b9c64f61c037759171deec41f5f10 SHA512 144a7b048340c65082f02f34d511e0066019ac08d28eb5f8c114086b66a471355631355b24f291916fa2e6b9db8e0e69a4649ad9ce036bbf2418fd6a73089fc5 -DIST pylint-2.17.0.gh.tar.gz 1406740 BLAKE2B 55176ca794f182886c93eb1461599792df90f948c09a8c4084138a7319f8127d9037d9b4535be90d5ad19227b1ce36ae07f5aaf532298aa92be97832baaba64e SHA512 2796cf670b2aa6cc448e5e26b4899804ebfdea6df3730cab06f2c72fdf57ee07b08e63f0748bce991175c67c22d040ededa19c967a2f74e14d44e54323aff945 DIST pylint-2.17.1.gh.tar.gz 1408063 BLAKE2B 0d4ab42ea4465787ff0bb6768b20800797d76caeddda475a08372a6b174975fec36a48acecea80898b3ba1c36ad6eb6c540678338c84ce48b78e0f6f9553e190 SHA512 e467c48349f49c2a9ef68d6a70748bf9144ff589adc1d04eb1822b28511d5a1a0027536fc61a5d33955fb0e7ffbbdecea47e8196844f33985a43e8c1886af21e DIST pylint-2.17.2.gh.tar.gz 1408818 BLAKE2B 678fc98ac583e86e98856713bbfbf975be9f3c51ec1516d2a2df54369af1bba76db6c53d43a09494d08409bb3829df958037ba716ed6880460c2cbbc2ca4b38b SHA512 9c3063332ffc102ba4a7177cca4c440ce89a8ba6fa4252eb1fa401a6e6c10e49afcbbe76127aedccc30dfe5f0dfe7b19cd9aadf4f5ffaa2494a4743d2e0d6a33 diff --git a/dev-python/pylint/pylint-2.16.2.ebuild b/dev-python/pylint/pylint-2.16.2.ebuild deleted file mode 100644 index 263d8ed60023..000000000000 --- a/dev-python/pylint/pylint-2.16.2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/PyCQA/pylint/ -" -SRC_URI=" - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps -# Adjust dep bounds! -RDEPEND=" - <dev-python/astroid-2.16[${PYTHON_USEDEP}] - >=dev-python/astroid-2.14.2[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - <dev-python/isort-6[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - >=dev-python/GitPython-3[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - rm -rf pylint || die - - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg - tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config - - # apparently fragile, needs unpickleable plugin - tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pylint/pylint-2.16.3.ebuild b/dev-python/pylint/pylint-2.16.3.ebuild deleted file mode 100644 index 3ce07cad21fe..000000000000 --- a/dev-python/pylint/pylint-2.16.3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/PyCQA/pylint/ -" -SRC_URI=" - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps -# Adjust dep bounds! -RDEPEND=" - <dev-python/astroid-2.16[${PYTHON_USEDEP}] - >=dev-python/astroid-2.14.2[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - <dev-python/isort-6[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - >=dev-python/GitPython-3[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - rm -rf pylint || die - - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg - tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config - - # apparently fragile, needs unpickleable plugin - tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pylint/pylint-2.16.4.ebuild b/dev-python/pylint/pylint-2.16.4.ebuild deleted file mode 100644 index 3ce07cad21fe..000000000000 --- a/dev-python/pylint/pylint-2.16.4.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/PyCQA/pylint/ -" -SRC_URI=" - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps -# Adjust dep bounds! -RDEPEND=" - <dev-python/astroid-2.16[${PYTHON_USEDEP}] - >=dev-python/astroid-2.14.2[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - <dev-python/isort-6[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - >=dev-python/GitPython-3[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - rm -rf pylint || die - - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg - tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config - - # apparently fragile, needs unpickleable plugin - tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pylint/pylint-2.17.0.ebuild b/dev-python/pylint/pylint-2.17.0.ebuild deleted file mode 100644 index e6a0256574fd..000000000000 --- a/dev-python/pylint/pylint-2.17.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/PyCQA/pylint/ -" -SRC_URI=" - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps -# Adjust dep bounds! -RDEPEND=" - <dev-python/astroid-2.17[${PYTHON_USEDEP}] - >=dev-python/astroid-2.15.0[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - <dev-python/isort-6[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - >=dev-python/GitPython-3[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - rm -rf pylint || die - - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg - tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg - tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config - - # apparently fragile, needs unpickleable plugin - tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pylint/pylint-2.17.1.ebuild b/dev-python/pylint/pylint-2.17.1.ebuild index e6a0256574fd..fa0ace22194c 100644 --- a/dev-python/pylint/pylint-2.17.1.ebuild +++ b/dev-python/pylint/pylint-2.17.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="examples" # Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps diff --git a/dev-python/pylint/pylint-2.17.2.ebuild b/dev-python/pylint/pylint-2.17.2.ebuild index 1db6595b1a29..cdea73d42178 100644 --- a/dev-python/pylint/pylint-2.17.2.ebuild +++ b/dev-python/pylint/pylint-2.17.2.ebuild @@ -12,10 +12,10 @@ inherit distutils-r1 DESCRIPTION="Python code static checker" HOMEPAGE=" https://pypi.org/project/pylint/ - https://github.com/PyCQA/pylint/ + https://github.com/pylint-dev/pylint/ " SRC_URI=" - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz + https://github.com/pylint-dev/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " @@ -24,7 +24,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="examples" -# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps # Adjust dep bounds! RDEPEND=" <dev-python/astroid-2.17[${PYTHON_USEDEP}] diff --git a/dev-python/pyproj/pyproj-3.4.1.ebuild b/dev-python/pyproj/pyproj-3.4.1.ebuild index a35f19cab53c..d52d15b7e5ac 100644 --- a/dev-python/pyproj/pyproj-3.4.1.ebuild +++ b/dev-python/pyproj/pyproj-3.4.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" RDEPEND=" >=sci-libs/proj-8.2.0:= diff --git a/dev-python/pytest-order/Manifest b/dev-python/pytest-order/Manifest new file mode 100644 index 000000000000..f5d10edcee2d --- /dev/null +++ b/dev-python/pytest-order/Manifest @@ -0,0 +1 @@ +DIST pytest-order-1.1.0.tar.gz 43385 BLAKE2B e0bb40d89dbbb382dec2828d024b9a9a8353c87a89d0d9fce517df2be248dc3d9f24672a91f6a9dd82e473d41fb677cc13ef1201563e25402288d5144a8742c0 SHA512 0ce0e0b0437031e672acb838f9e2bb40c2ee8afcc8463c779959309ace125b3a4c92efcf5e156c97037fa6b8d51c255e7cf272427e44587608c2a370289dd3c3 diff --git a/dev-python/pytest-order/metadata.xml b/dev-python/pytest-order/metadata.xml new file mode 100644 index 000000000000..f4c4fc90a218 --- /dev/null +++ b/dev-python/pytest-order/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-order/pytest-order-1.1.0.ebuild b/dev-python/pytest-order/pytest-order-1.1.0.ebuild new file mode 100644 index 000000000000..d5434216c219 --- /dev/null +++ b/dev-python/pytest-order/pytest-order-1.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin to run your tests in a specific order" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-order + https://pypi.org/project/pytest-order/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/pytest-6.4.2[${PYTHON_USEDEP}]" + +EPYTEST_DESELECT=( + # Appears to fail due to extra warning in pytest 7 + "tests/test_dependency.py::test_order_dependencies_no_auto_mark" + "tests/test_dependency.py::test_order_dependencies_auto_mark" + "tests/test_order_group_scope_dep.py::test_class_group_scope_module_scope" + "tests/test_order_group_scope_named_dep.py::test_class_group_scope_module_scope" + "tests/test_xdist_handling.py::test_xdist_ordering" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 6b37297b8673..fec02711755e 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,2 +1 @@ -DIST pytest-7.2.1.tar.gz 1301901 BLAKE2B 3323e4d0dc95708733425aba808a864816d73a1d67f2f3048ab516aff9c2e5ddafab67d8596ad5693254c906e9714508e7faef591c89592fcf071698b3dbdb30 SHA512 3f09ccda91c0f14156cf558abde880279838d1a61c8f7e7138ea9fcd59be0577234da2f30410959641fd5a17490c713c0008ce2ed4b4c57196267fca69714061 DIST pytest-7.2.2.tar.gz 1320028 BLAKE2B 51742872c03ccba3b305fdb3015a1c2a8f7dbf2988f267ea13e2add438ae52e2d5a6cace483525cf37f7ea72454bb346b81196c6e043dbbc3e5c0c8a1a365ed7 SHA512 100e06a9eeb9f3f5fc4f61ab10cd83a80280dc411fddde9361f101b77e69f8600d2f4846f8611a47f441724cf8ffe6bc2cae4b75703f9b48cacf0eee83eaf3b3 diff --git a/dev-python/pytest/pytest-7.2.1.ebuild b/dev-python/pytest/pytest-7.2.1.ebuild deleted file mode 100644 index 25f1b1796c88..000000000000 --- a/dev-python/pytest/pytest-7.2.1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE=" - https://pytest.org/ - https://github.com/pytest-dev/pytest/ - https://pypi.org/project/pytest/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/iniconfig[${PYTHON_USEDEP}] - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -src_test() { - # workaround new readline defaults - echo "set enable-bracketed-paste off" > "${T}"/inputrc || die - local -x INPUTRC="${T}"/inputrc - distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x COLUMNS=80 - - local EPYTEST_DESELECT=( - # broken by epytest args - testing/test_warnings.py::test_works_with_filterwarnings - - # tend to be broken by random pytest plugins - # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) - testing/test_helpconfig.py::test_version_less_verbose - testing/test_helpconfig.py::test_version_verbose - testing/test_junitxml.py::test_random_report_log_xdist - testing/test_junitxml.py::test_runs_twice_xdist - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose - testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal - testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info - testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info - - # unstable with xdist - testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist - - # TODO (XPASS) - testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice - testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug - testing/test_debugging.py::test_pdb_suspends_fixture_capturing - ) - - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - # regressions on pypy3.9 - # https://github.com/pytest-dev/pytest/issues/9787 - testing/test_skipping.py::test_errors_in_xfail_skip_expressions - testing/test_unraisableexception.py - ) - - epytest -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/pytest/pytest-7.2.2.ebuild b/dev-python/pytest/pytest-7.2.2.ebuild index 9eca2aa8c447..93be69173d90 100644 --- a/dev-python/pytest/pytest-7.2.2.ebuild +++ b/dev-python/pytest/pytest-7.2.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" 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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/python-docs/Manifest b/dev-python/python-docs/Manifest index 671c7f86725b..e88bd39bf4a2 100644 --- a/dev-python/python-docs/Manifest +++ b/dev-python/python-docs/Manifest @@ -1,5 +1,7 @@ DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B c48e2dede15d8186231acf65709641e0844c42e924262d6ee21a55e515aaf4d023bf394681bab780ab83998de9f409685e2d5870506810432145acc6422eff9d SHA512 db39390577ec86f13c9b6b57c01cba36fe9fd89092a773dc94f1a6a19d912759d097c4d80e765d3657b572abc731c1da9e7b4cd4c38065cd444606b906744abe DIST python-3.10.10-docs-html.tar.bz2 7387634 BLAKE2B 27b340b02412fc8a6f2911c2faf1da64511955432046a8580472b0445adb8272584f99c7fe41469932c948485ccdb799aea76cc9596f5a122342afccff2f7c83 SHA512 4678fc3a33e0bd53419894e98a3132f18635693dcf91846c6911a163ebd693b9af42d78ffc27fd5e522eca7376097555271b6bd85a21d1231d6b7523f4620534 +DIST python-3.10.11-docs-html.tar.bz2 7390187 BLAKE2B 02f1cea9a25fbf764d07a909575b1bd5ab4a79c493e149a1c4e747dc20ea59cf6a4db0d9dee4f38527f6c829965bc07d45abb91c0f5cd39069ae83bc7458b426 SHA512 65941e05977391a729effaaaace979447ec4db6638b16bcf508b19ba997caa8fedaa5ab9fc7888e565d5982bdf305e4c8525074c925a60394910e3678f9eead0 DIST python-3.11.2-docs-html.tar.bz2 7779519 BLAKE2B d9e1faa1414b18923c08686097d4d65613768c404f712a8ca104f546938016afe5e47bdec25296db1792f1ec49a11ed9899b062b9fdb24e93b2f60d6f49ae82c SHA512 0a6b54b0e3579f640a78e9255ff60b6b18f36752b8949f0f19e5c2fb84c33775c761bed907fb45dc606e5bc894068086cac4935574e89421bee55e8b2127d7d8 +DIST python-3.11.3-docs-html.tar.bz2 7779259 BLAKE2B 4d8530d77df2c93f29f7c6d45c519830806c13a2df0daa651b92157ea0343cc4124e06b88c436fa4ca53c45020bee5395b166438d8ad0a757b6722e609c53792 SHA512 23cf287d2bdcfe03bb36b4f63443dbd9895ff645c418a2bd73e5145d4656b0b16ae432be2bc52a70d71f1912c5da85ebc738c07cf6b209ea7e0d0bb781e4e48f DIST python-3.8.16-docs-html.tar.bz2 6697934 BLAKE2B 99fb1b8e95c3719b1146e845051fa6b9fbf61fabfdd1fe6d93a44e6a46f4b4e44c9ce0adef89cfdeafc8b67d290adda21d295f492a8f54c069ad86fba4952c0b SHA512 aaffc1f4d56be0ff7fbd35c7ca690d9089f9686d957669852aff1406efad2bee52b2b965ffd652780da6048ff9d89e6bbc421e92588841b89d73af43ad4970fb DIST python-3.9.16-docs-html.tar.bz2 6965048 BLAKE2B 14d30cf5c444b993409751d17959bc46668d2b6e5be76e10d36adb0b8704a2a3908d829e8aa12d384efab31f8b60b462f711f2fa6adf8bc84fbdfe25e4cbc703 SHA512 38828ca880e3ed84a705dba465430f1b9623fec830662805008847c5d44ce04225ea7c2173d3eb138fd98e134fa2bb9ed84788e2b1d045bf9cf20e78e12d4472 diff --git a/dev-python/python-docs/python-docs-3.10.11.ebuild b/dev-python/python-docs/python-docs-3.10.11.ebuild new file mode 100644 index 000000000000..2ab918028481 --- /dev/null +++ b/dev-python/python-docs/python-docs-3.10.11.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/dev-python/python-docs/python-docs-3.11.3.ebuild b/dev-python/python-docs/python-docs-3.11.3.ebuild new file mode 100644 index 000000000000..2ab918028481 --- /dev/null +++ b/dev-python/python-docs/python-docs-3.11.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 2a2757aa7feb..ce1a15fce2ad 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,4 +1 @@ -DIST pyzmq-24.0.1.gh.tar.gz 404000 BLAKE2B 01928ba3c64a5afce8e7a97821658da2067a5f6c36c0173ab2f818e83a729939f346ef67bb9a39251abf365f5772abdf7e9e62afb4cc434b5603f474485a7427 SHA512 d4b6346e780f356941a624321f1619771fb2f0ef9f65a3c0a03e837ef081ece7ed59c03f57e8647ab1cd38cfc7404d597dd294768f9e9b890115b9eebc085484 -DIST pyzmq-25.0.0.gh.tar.gz 387190 BLAKE2B aba258637fa698e3e2241c36b561d76971a82d20137573ed75bacf429cd21e2f2cbf6c15c76e7c6a9f2e3d7acd7cb03e5091f71bb41d6365c93d670a2cc81392 SHA512 9a4f25f6a9f6a9e636c7d50af69ee9d4629503fd707f6cd17772430f71bd386a573e5eed19eca0419ce0a3ca1f811601c785b5b6b9749b5cf03654a97c2afaf6 -DIST pyzmq-25.0.1.gh.tar.gz 397477 BLAKE2B ee546f43a309005f256c5531e694340ff888a70e8c2bde51da62eb601eab715c2d58d155ea00b7006398e842ae96b3532ce52111be912de9bb85e6e161a192fc SHA512 b8125c7ed74685d501e3726213fb0437ce37ec62a6493a8c46018a9e0c71409fe9066b03a026a071681f76df466e46ef26963cad5f748a1fd064363159ac48d4 DIST pyzmq-25.0.2.gh.tar.gz 398050 BLAKE2B 501aea8b46ef5c06ca75489869047b2e6aefd06d121b540fdfc85c45ea2f9a40b58b84433555d8001fbfb1671ad6df1953c79567aabc8cffba26516a4a60626c SHA512 dcba8fb561d1be135ba03e28078ed68835dc20a52ef9c47be240bd1edd37eb92d4da184045e8eff666f3d84a376ae35ca08172fc207823b5255160e9e3b1ef01 diff --git a/dev-python/pyzmq/metadata.xml b/dev-python/pyzmq/metadata.xml index 997a92a588c0..a560056a3061 100644 --- a/dev-python/pyzmq/metadata.xml +++ b/dev-python/pyzmq/metadata.xml @@ -11,7 +11,6 @@ </maintainer> <use> - <flag name="draft">Enable draft API support</flag> <flag name="drafts">Enable draft API support</flag> </use> <origin>gentoo-staging</origin> diff --git a/dev-python/pyzmq/pyzmq-24.0.1.ebuild b/dev-python/pyzmq/pyzmq-24.0.1.ebuild deleted file mode 100644 index 259c2e9893f6..000000000000 --- a/dev-python/pyzmq/pyzmq-24.0.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -# TODO: Find out exactly where this error comes from -# error: '<' not supported between instances of 'str' and 'int' -#DISTUTILS_USE_PEP517=setuptools -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic distutils-r1 toolchain-funcs - -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" -HOMEPAGE=" - https://zeromq.org/languages/python/ - https://pypi.org/project/pyzmq/ - https://github.com/zeromq/pyzmq/" -SRC_URI=" - https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="+draft" - -DEPEND=" - >=net-libs/zeromq-4.2.2-r2:=[drafts] -" -# it uses cffi backend for pypy, cython backend for cpython -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] - ' pypy3) -" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-23.2.0-libdir.patch -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - "dev-python/numpydoc" - -python_configure_all() { - tc-export CC - append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0') -} - -python_compile() { - esetup.py cython --force - ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - zmq/tests/test_constants.py::TestConstants::test_draft - zmq/tests/test_cython.py::test_cython - - # hangs often - zmq/tests/test_log.py::TestPubLog::test_blank_root_topic - ) - local EPYTEST_IGNORE=( - zmq/tests/test_mypy.py - ) - - cd "${BUILD_DIR}/lib" || die - epytest -p no:flaky -} diff --git a/dev-python/pyzmq/pyzmq-25.0.0.ebuild b/dev-python/pyzmq/pyzmq-25.0.0.ebuild deleted file mode 100644 index b2590bc6dd33..000000000000 --- a/dev-python/pyzmq/pyzmq-25.0.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -# TODO: Find out exactly where this error comes from -# error: '<' not supported between instances of 'str' and 'int' -#DISTUTILS_USE_PEP517=setuptools -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" -HOMEPAGE=" - https://zeromq.org/languages/python/ - https://pypi.org/project/pyzmq/ - https://github.com/zeromq/pyzmq/" -SRC_URI=" - https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="drafts" - -# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. -DEPEND=" - >=net-libs/zeromq-4.2.2-r2:=[drafts=] -" -# It uses cffi backend for pypy, cython backend for cpython -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] - ' pypy3) -" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-23.2.0-libdir.patch -) - -EPYTEST_DESELECT=( - # TODO - zmq/tests/test_constants.py::TestConstants::test_draft - zmq/tests/test_cython.py::test_cython - - # Hangs often - zmq/tests/test_log.py::TestPubLog::test_blank_root_topic -) - -EPYTEST_IGNORE=( - # Avoid dependency on mypy - zmq/tests/test_mypy.py - - # Broken upstream - zmq/tests/test_auth.py - - # pytest-asyncio incompatibility? - zmq/tests/test_zmqstream.py -) - -distutils_enable_tests pytest -# TODO: Package enum_tools -# distutils_enable_sphinx docs/source \ -# dev-python/numpydoc \ -# dev-python/sphinx-rtd-theme \ -# dev-python/myst-parser - -python_prepare_all() { - export ZMQ_DRAFT_API=$(usex drafts '1' '0') - export ZMQ_PREFIX="${EPREFIX}/usr" - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}/lib" || die - epytest -p no:flaky -} diff --git a/dev-python/pyzmq/pyzmq-25.0.1.ebuild b/dev-python/pyzmq/pyzmq-25.0.1.ebuild deleted file mode 100644 index b2590bc6dd33..000000000000 --- a/dev-python/pyzmq/pyzmq-25.0.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -# TODO: Find out exactly where this error comes from -# error: '<' not supported between instances of 'str' and 'int' -#DISTUTILS_USE_PEP517=setuptools -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" -HOMEPAGE=" - https://zeromq.org/languages/python/ - https://pypi.org/project/pyzmq/ - https://github.com/zeromq/pyzmq/" -SRC_URI=" - https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="drafts" - -# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. -DEPEND=" - >=net-libs/zeromq-4.2.2-r2:=[drafts=] -" -# It uses cffi backend for pypy, cython backend for cpython -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] - ' pypy3) -" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-23.2.0-libdir.patch -) - -EPYTEST_DESELECT=( - # TODO - zmq/tests/test_constants.py::TestConstants::test_draft - zmq/tests/test_cython.py::test_cython - - # Hangs often - zmq/tests/test_log.py::TestPubLog::test_blank_root_topic -) - -EPYTEST_IGNORE=( - # Avoid dependency on mypy - zmq/tests/test_mypy.py - - # Broken upstream - zmq/tests/test_auth.py - - # pytest-asyncio incompatibility? - zmq/tests/test_zmqstream.py -) - -distutils_enable_tests pytest -# TODO: Package enum_tools -# distutils_enable_sphinx docs/source \ -# dev-python/numpydoc \ -# dev-python/sphinx-rtd-theme \ -# dev-python/myst-parser - -python_prepare_all() { - export ZMQ_DRAFT_API=$(usex drafts '1' '0') - export ZMQ_PREFIX="${EPREFIX}/usr" - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}/lib" || die - epytest -p no:flaky -} diff --git a/dev-python/pyzmq/pyzmq-25.0.2.ebuild b/dev-python/pyzmq/pyzmq-25.0.2.ebuild index 26a5d7cf3993..507d3302bbe8 100644 --- a/dev-python/pyzmq/pyzmq-25.0.2.ebuild +++ b/dev-python/pyzmq/pyzmq-25.0.2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest index 634391d85df1..7d938d0ac6b1 100644 --- a/dev-python/sphinx-basic-ng/Manifest +++ b/dev-python/sphinx-basic-ng/Manifest @@ -1,2 +1 @@ -DIST sphinx-basic-ng-0.0.1.a12.gh.tar.gz 23821 BLAKE2B 905186227d725d6f62c0f4c5b4df49ada8817dd44a4000b23b62e60ce5ca3bef4a4046c9543a07a7b0cc0c12dd5278dc783633324fbe113cf453ee540fa97ff7 SHA512 6df9445306b27ae4b29b338773fa4adcee631b4be04fdde674855dfcb683f7cf7ad3c40124c85353608b63523738b6bc83c6c4f4b2b212cafa41d38462ffcac4 DIST sphinx-basic-ng-1.0.0.beta1.gh.tar.gz 24059 BLAKE2B 319f27b7326acf0ad1457fcb4d9b6257fb420eaf2bf7d4ebd6e9333f992bc5d0a5fdb518f196edc342c023f3a1c9d1258de2bac5f263d35226ac3ed62d747f23 SHA512 177da348fdb2af88bbe3a269f0d468f4d8cd5710a3102ea0fdd943505bc5251a73783a12e5397750fd7bec2df7ecce6601e82a95e777cbd40540a7833982c998 diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild deleted file mode 100644 index b8306d268975..000000000000 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_alpha/.a} -DESCRIPTION="A modern skeleton for Sphinx themes" -HOMEPAGE=" - https://github.com/pradyunsg/sphinx-basic-ng/ - https://pypi.org/project/sphinx-basic-ng/ -" -SRC_URI=" - https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_alpha/.a}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/sphinx-6[${PYTHON_USEDEP}] - >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/myst-parser[${PYTHON_USEDEP}] - ) -" - -python_test() { - local HTML_DOCS=() - build_sphinx tests/barebones - rm -r tests/barebones/_build || die -} diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild index 908a84450978..35031bb4cb1e 100644 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index bcd6df115a5d..37c18910c2a2 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,2 +1,4 @@ DIST spyder-5.4.2.gh.tar.gz 24523453 BLAKE2B 9ec3652fc60c483b96f287ad39f3280e963b8bb24a6e1326f5248373ee53465b67c5660e42b4f7d876498a8ee1652fa058b038386a3dd788d46452ba1475760c SHA512 e3650cd43d14d2ce7e6f90557904d6ac1e5db5f7846e87e8a1fd8173cdef97cdee485250caf00768482611b8318eaba60259efcaccf41f0308e888ac85eeb88d +DIST spyder-5.4.3.gh.tar.gz 16207604 BLAKE2B d8111cfdda9a40c07371dd15a42bca55d47eed3cf870d21ed31836985f87d7f823574586e69ea9f5508b0b72299b834513f78a09eaed6fc0bbd3bf7ab1cd5bcc SHA512 70385d249059f60c78a401ded50a2304d260a93fa46a211e78b560310eeb84176b4886f640db5660a30f39972987d8be11cbd5664d9396d9efb3ef524abb01a5 DIST spyder-docs-3ae8705d3eba8fc30d4600d6d1e29ce0da8cd0c6.gh.tar.gz 95448945 BLAKE2B 5e130bff9fbca71e61ed96236a6964e8f34602efbb930dbc928a22eec59ebb2d2bee39f679c27dbbf88686345e5db5894f931e7ab95a3e007444b17c4e021176 SHA512 a6ebe6b6ff057616951c0075ba7c8039dc3a304b6e1bbbb40f80bb54018cee374df230e491493f18070273dded2942e14bfecc9439d33ae1bc3edd5b47067d77 +DIST spyder-docs-fa824989a085ab2c8ed449505c0e023a3c597681.gh.tar.gz 95448760 BLAKE2B d4c764ca056c738a64c1fa51f368996c612f533b8b21615fb9df8b5404623f8d6c7ed460a4729057bb5cbb66ce323c259aa33d3bc7d4a9cf1232ac0ad2c5a6cb SHA512 b41afa90e082da458a8ed2710d4fbb82d8f837dbeefd90359052641e488a18b6294e32b5ba5cabb22bcc30df53f0275f5265fa4cdebe60bd6620a74a2b2c4325 diff --git a/dev-python/spyder/spyder-5.4.3.ebuild b/dev-python/spyder/spyder-5.4.3.ebuild new file mode 100644 index 000000000000..a431f0f2e0d1 --- /dev/null +++ b/dev-python/spyder/spyder-5.4.3.ebuild @@ -0,0 +1,190 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature virtualx xdg + +# Commit of documentation to fetch +DOCS_PV="fa824989a085ab2c8ed449505c0e023a3c597681" + +DESCRIPTION="The Scientific Python Development Environment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/ +" +SRC_URI=" + https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] + >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] + >=dev-python/psutil-5.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pylint-venv-2.1.1[${PYTHON_USEDEP}] + >=dev-python/python-lsp-black-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}] + <dev-python/qdarkstyle-3.2.0[${PYTHON_USEDEP}] + >=dev-python/qstylizer-0.2.2[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.2.1[${PYTHON_USEDEP}] + >=dev-python/qtconsole-5.4.2[${PYTHON_USEDEP}] + <dev-python/qtconsole-5.5.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.1.0[${PYTHON_USEDEP},svg,webengine] + >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-2.4.3[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-2.5.0[${PYTHON_USEDEP}] + >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] + >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-order[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},pyside2,pyqt5] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + )" + +# Based on the courtesy of Arfrever +# This patch removes a call to update-desktop-database during build +# This fails because access is denied to this command during build +PATCHES=( + "${FILESDIR}/${PN}-5.0.0-build.patch" + "${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc \ + dev-python/sphinx-panels \ + dev-python/pydata-sphinx-theme \ + dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these dependencies are packaged separately: + # dev-python/spyder-kernels, + # dev-python/python-lsp-server, + # dev-python/qdarkstyle + rm -r external-deps/* || die + # runs against things packaged in external-deps dir + rm conftest.py || die + + # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5] + # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine] + # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server + # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder + # Do not depend on ipython, this dependency is carried in spyder-kernels + # The explicit version requirements only make things more complicated, if e.g. + # pyls-spyder gains compatibility with a newer version of python-lsp-server + # in a new release it will take time for this information to propagate into + # the next spyder release. So just remove the dependency and let the other + # ebuilds handle the version requirements to speed things up and prevent + # issues such as Bug 803269. + sed -i \ + -e "/'pyqt5[ 0-9<=>.,]*',/d" \ + -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ + -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ + -e "/'parso[ 0-9<=>.,]*',/d" \ + -e "/'jedi[ 0-9<=>.,]*',/d" \ + -e "/'pylint[ 0-9<=>.,]*',/d" \ + -e "/'ipython[ 0-9<=>.,]*',/d" \ + setup.py || die + sed -i \ + -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ + -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ + -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ + -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ + -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ + -e "/^IPYTHON_REQVER/c\IPYTHON_REQVER = '>=0.0.1'" \ + spyder/dependencies.py || die + + # do not check deps, fails because we removed dependencies above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # can't check for update, need network + rm spyder/workers/tests/test_update.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + distutils-r1_python_prepare_all +} + +# Calling pytest directly somehow passes the pytest arguments to spyder +# causing an invalid argument error +python_test() { + virtx "${EPYTHON}" runtests.py +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib + optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas + optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy + optfeature "Symbolic mathematics in the IPython console" dev-python/sympy + optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + optfeature "The line profiler plugin" dev-python/spyder-line-profiler + optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + optfeature "System terminal inside spyder" dev-python/spyder-terminal + optfeature "Jupyter notebook support" dev-python/spyder-notebook + # spyder-memory-profiler is not compatible with spyder-5.2+ yet + # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports + # Plugins with no release yet: + # optfeature "Manage virtual environments and packages" dev-python/spyder-env-manager + # optfeature "VCS (e.g. git) integration" dev-python/spyder-vcs +} diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest index 220814f1fb58..cb89bd05dcc7 100644 --- a/dev-python/yara-python/Manifest +++ b/dev-python/yara-python/Manifest @@ -1 +1,2 @@ DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b SHA512 588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be +DIST yara-python-4.3.0.gh.tar.gz 37826 BLAKE2B 2a06e462af5b3ef5098b650687f1953e51f53858dc9c22b0e9358641fa20f3f5c2b7f3b824b5b8195408e3e2bfaa05afedc851a326486454d9f3eadeecd3fe33 SHA512 c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e7488889a54677e10cd2bc172a1480e57f1fef diff --git a/dev-python/yara-python/yara-python-4.3.0.ebuild b/dev-python/yara-python/yara-python-4.3.0.ebuild new file mode 100644 index 000000000000..526187aab3fa --- /dev/null +++ b/dev-python/yara-python/yara-python-4.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + [build_ext] + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/yara-python/yara-python-9999.ebuild b/dev-python/yara-python/yara-python-9999.ebuild new file mode 100644 index 000000000000..526187aab3fa --- /dev/null +++ b/dev-python/yara-python/yara-python-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + [build_ext] + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}" +} |
