diff options
Diffstat (limited to 'dev-python/pdm')
-rw-r--r-- | dev-python/pdm/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pdm/pdm-2.10.0.ebuild | 76 |
2 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 9bcb81858c2a..acf4091d56c9 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,7 +1,9 @@ +DIST pdm-2.10.0.tar.gz 2587521 BLAKE2B 599262212b4e62d4039d4ea31be849717330ab0bf53c68e43132542eb39d36fbc82dd8eec3f2760793afa03338f0d687a073942e981be01a43d4331704efa07d SHA512 734d9c120de9390c0929ff9664acdcd681773a264a4aba1da294429574b8ae67ced74265227b1db0403e4acb9c4134555fd6fb780df47abc5935c1a24b9f816f DIST pdm-2.8.2.tar.gz 3014401 BLAKE2B a541339582944988b7a30d2991066287e0293845d4f15c7f6cb2fef7a8709dba537f190e5493bd3b06e7ef86fca601a9d1aab7af6ca6ae55269b374a7464ca17 SHA512 396e27902f74773070cf49c3857d93702e6678a46221b54dc03e84e2b8ccf211cbba9d24eba6bfc47ff36cbd4eb504ada5bf82071c884347026ba85c123058e9 DIST pdm-2.9.1.tar.gz 3017895 BLAKE2B 944a1cd9571f7ad2ec6b4212b29db7b6c7c5e8b12591c73dae19f099f9d511f0db3f0698d48e2e42fc81f30c876caa7c9e43467d23eee26876595e6fd6ff197e SHA512 979bf9d078747c7b8dd56555d499053b978ddf289af4bf889b2f2805255049c24bf48607b3704509d914eec59904cbdb9983af396c68ff7211cc216fd4b40118 DIST pdm-2.9.2.tar.gz 3018730 BLAKE2B 83eeab7b70efe61a515ed262e8bd1de911f111aaa22704fcce2e46824a236be663ba831cce8bb440e612e711b8cf0627b1a416e966b06b51dc6e25feb2e856b0 SHA512 1d3193dc31065a05989e9dc36518fac0d45f86945d68ff2b5e03473b97c70b0f9586849a1e2208e740921927857733c76c44b512213cb17fc6608f9d0d7bcbd9 DIST pdm-2.9.3.tar.gz 2578245 BLAKE2B f3916294d83e4731514f7009fd9e71fbd06614f46f1eeed9ad1d591e34c09877815d75b09dbb58f5765011a2e75e4182571a446c3cb8061d2408cecd272f6c75 SHA512 110e6488f8b161f7d77b9f0b1f34964f1c93ae7e8e9b2109057cfe1f507c914c9c72b3d787c768c9d371a80d8d79bbf6cad006eca2fe88e33b22f4415f2d276e +EBUILD pdm-2.10.0.ebuild 2593 BLAKE2B f2bd06ef778582faead6a673ad3ec780eddd53da490253ce89f262e05027689ea8fcc1abb296998f392fa3c8cda9421df5e380950af83633a1cab80de6d8fbf5 SHA512 dd907eeacab9cdf9ae4f589569ea333165345c435cfcc2a39cafcd8b7915cfd93d7152af61e0933f400c7ce780b12ec1246765ca286fa0e28f66d9cb149038e7 EBUILD pdm-2.8.2.ebuild 2243 BLAKE2B 793f8516d6f341fecb38d0f4f02d43290c600b67fcb7e6f9b0fabb7688a5d10d518760e21721d4731704a7eecab605eaa7cedddc79866a5d816639db65cc477b SHA512 0adae8c6ccc867216928457c705c24f0ecbf2d3b4ebb1e5c2f53968beac3379dd6aed8741d78b79e9b545891bcdf8eb57cc22f17616af828d51a83058d438d76 EBUILD pdm-2.9.1.ebuild 2284 BLAKE2B 585cb2f5262f9857cd4b0247992488a0b9af093bd053a41250348931334de29a120c309f4479cf921bf979b9538e2326672729ea278e5ce4ee8104a003ddf682 SHA512 78252feb137b368bf20da328ee9a4cb8b8032698d50fbdcc1479cbb018aafa0f8b4fc898f668b8f783ae5af5baa2482552c71c5df7813972e090b260fd0eb774 EBUILD pdm-2.9.2.ebuild 2476 BLAKE2B 1953ff32916aad5942e315711aa16a05b6a3e02172cffe674b1e1c5775a2eb449decd297d688ee762c6fe09ac1cb1bd209c6ca573db9ece87f9ff2327d11ecac SHA512 478a488e1f1aec038ac7ffdee0fbb946d818acb21fb066a1cf1fa13701647b61120676d90fd6c5ffb93f739f72d43f44814ce511b7aeac646227cda56ba64417 diff --git a/dev-python/pdm/pdm-2.10.0.ebuild b/dev-python/pdm/pdm-2.10.0.ebuild new file mode 100644 index 000000000000..67faee70f040 --- /dev/null +++ b/dev-python/pdm/pdm-2.10.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm.fming.dev/latest/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + >=dev-python/unearth-0.12.1[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.4.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' pypy3 python3_10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + epytest -m "not network and not integration and not path" +} |