diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-24 03:10:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-24 03:10:41 +0200 |
commit | 588c2e20e4fc90dc0a454b354c8fee6968f3035b (patch) | |
tree | aef381228133c34f5e574804d7697e5e2bdf3934 /dev-python/uv | |
parent | dev-python/redis: Bump to 5.0.4 (diff) | |
download | gentoo-588c2e20e4fc90dc0a454b354c8fee6968f3035b.tar.gz gentoo-588c2e20e4fc90dc0a454b354c8fee6968f3035b.tar.bz2 gentoo-588c2e20e4fc90dc0a454b354c8fee6968f3035b.zip |
dev-python/uv: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/uv')
-rw-r--r-- | dev-python/uv/Manifest | 8 | ||||
-rw-r--r-- | dev-python/uv/files/uv-0.1.28-skip-tests.patch | 144 | ||||
-rw-r--r-- | dev-python/uv/files/uv-0.1.32-skip-tests.patch | 12 | ||||
-rw-r--r-- | dev-python/uv/uv-0.1.31.ebuild | 109 | ||||
-rw-r--r-- | dev-python/uv/uv-0.1.32.ebuild | 121 | ||||
-rw-r--r-- | dev-python/uv/uv-0.1.33.ebuild | 111 | ||||
-rw-r--r-- | dev-python/uv/uv-0.1.35.ebuild | 111 |
7 files changed, 0 insertions, 616 deletions
diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index b11c9576ebb1..510ceb7c9cfa 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -4,13 +4,5 @@ DIST rs-async-zip-1dcb40cfe1bf5325a6fd4bfcf9894db40241f585.gh.tar.gz 96766 BLAKE DIST rs-async-zip-d76801da0943de985254fc6255c0e476b57c5836.gh.tar.gz 95906 BLAKE2B a5a0e4d20926d637cbfa25cb486580de6682365c588a9653c873622424ec28ac8c7380d1c99ec260cd342b214aacd5124b51fc5e5646f15f76db4148aada2f41 SHA512 dd5b61bfc913a94822d74f1dac3b30f7a3979a641c3b08ccb5fa84cfbb2bfd8c0f807a30cc4ae0abfe5df7079011c20e1f8a642fd439ce6ba2c404ddee06baf5 DIST uv-0.1.24-crates.tar.xz 64420840 BLAKE2B 7324461092a07c86aadaddf051aaa7454ec08085940f34d07d8a8dc7171abcbf94409df5cd8afd71f1022adb2e76c0aeb1eabe9190598cad4d06e390ccd612f4 SHA512 6701a768a8a1d48ac43038e5161b578b684abed1c2055cc4b7fb5656ec40118287893ee2674b7161292ce7c3e4c062c32ff0038f1548c8f79f4df473d8d26f30 DIST uv-0.1.24.gh.tar.gz 899637 BLAKE2B fab26ba9934fc5f586505b5ac1fa386c11f07e51ca2bb2a79f46d5dec9475ba8d75ad8587223d5149df5f2a225146d020a49b7ff81ed26b949cff55892738c2d SHA512 520b47a096b50fce9e7b7af5bca203df9bf4c2d0aafbe28a3dcfe0592d8ddcaa7b58d52300c67454f6aeecfd196f1592be18e45c95b7c67257361917cdb0154d -DIST uv-0.1.31-crates.tar.xz 64759920 BLAKE2B 9404847d0a4bdaf77778fe7e75de4a6167c43a5f786357653f45f613984b2297f07a30dbd782d49ffd4f936276f2da61ecc543c6942c58ae2f3b6a5cb77212b0 SHA512 8c7440e52649b9a749d36ef5e7ed0a2be5df590d2cd6486559bc0ab289e87f5533927ddd82e86268b8cb86a41056557ec3acb3e4eface63439837243a2ab0b7a -DIST uv-0.1.31.gh.tar.gz 938923 BLAKE2B c6be91911b557260df546bd708e572d4ea6688e40a0c978a598070e71bb989b77fdace1e5507dcc829e9e21714962c8e76ee2ec5dc95ae10a1ccaa562e4c70e7 SHA512 687f622bc93a0b4c967d53ab068d3f5442f7a3566495f89da252d3beb41a17be3dcf410f260f7e68bb1f5595f633ea61da7a68423f190d879e809c25e9e297cb -DIST uv-0.1.32-crates.tar.xz 64975300 BLAKE2B cb07eb6ed0c65b538554cd2fdf455a25cddbefe07e3718f83820c1faf40795c0da6397a31e138c6f01dad9fb4e48dbe1a2fd4be76f1ab94f096e915d34ec1ac7 SHA512 83e208e54322d467cedd1463157d413ad8a5a6012a8d0219aa31b5213466fc4caef86a22e90bc0695811ab1f5e7428f3306a8845785f472e941a758242e775db -DIST uv-0.1.32.gh.tar.gz 976905 BLAKE2B c59f4a76a3a9335429ddfa1a6fc96a13ba68ad2950a5664762d6b48c3dc67c78ee075ff723fd049733bc3240924a5ede522ce973ab37b44784f54322f6c8039f SHA512 fefd8cac2630c1c061a54abf5ad7bfe34f93176dd5fa69fc8ba39e6cea6a786527cd7e22481449d987dbd567ee4f59b3ef2a13620de3049f7066aaddb1ee4593 -DIST uv-0.1.33-crates.tar.xz 65532672 BLAKE2B 9e3499eef5cf746287f725ab3f2c2a35441d851ba734305abd7f8d9ebcb6bd8f857f6ec5371108cc4f1b5c9043424a3583a62093d84f596a522db59e9d50a133 SHA512 01b150770074880436db8e34ec4f2416c2948a43828ee84ca05ad1c244927022aa503b4e03b6bd525932bcde12eb961228877af232589d5c57a121cee66fb5a1 -DIST uv-0.1.33.gh.tar.gz 987063 BLAKE2B 56dfc8e7a1bfb63e0a6278499cb62ef764b4734af14bf01a213b7a11d442d4629d440ac218a4bc2750405c402236b382b07560919211b51c300e07c3c15a9496 SHA512 a05a38f8c1abc572ad2c6823f74a2c076ad267636f5f435f04bf8a02b059c25b82b5fa3b5250137d4077ff721294b34c6d2d57ac0e0c907e211e8cfdcdc8169c -DIST uv-0.1.35-crates.tar.xz 65640928 BLAKE2B 97135ce844dc7af3c424a9b8ea7419b4c392e44a87ab960e59401f0075308001287fc42acd9bc21b300fba3d73fa65e292b55e612b92db05cad183577866a7d8 SHA512 7d862992d2ea92acaa24758cb5425b3053941e1312db1f27ee318049ac68fcd64dc614ba7fa21521cdb9ad11545cc5e8dcc2a2781f0164297229f35768e0776e -DIST uv-0.1.35.gh.tar.gz 1010370 BLAKE2B 0b07f4de6d07969d8721f94b3d21e2797b8425f26db5744f7ee2a90ed3769f3d8245552d8b8db6d8716e45dc88461a9543419191a4b71497019862860d76e728 SHA512 08f224b317d5aa3d9941ee0add791340f41a01e70d2a4e1e9b986e501d666a40e1a04bdeb2120e178bbedb2a91501e608d240a9ac56f509021d6377c278fbfcc DIST uv-0.1.36-crates.tar.xz 65852268 BLAKE2B f9dac75dc992d37c54554c25e0ce0895aa017753a6688754acee5b6a99822e0f55923a539fcd67a8d30332abf1d2b2ed333b8b1125eef5061da2d8f57307004b SHA512 c0dd2171416333f8267592c75699fd35f686d04b3b81241e51cbf4b9f8d1e0def54ab9336b2e62e1fb5e40d3ad73146eba7dd6c0093fa23230d23c4fa73d8f74 DIST uv-0.1.36.gh.tar.gz 1018114 BLAKE2B c57a3362940803df34f45c0dd2bcc176fb4928d1b0c168adc89d150ffb59a39d0fb57b41c063485a7c324a2101b9f4334cf29e175f910122842f893c6be9970a SHA512 39a4ec3b17803a13a53f331185bfb4fa321f9ee2c158828ad9f88aa7214ee72a58a87dcef74eaeac7a1e3a989909f0d50a457431ce22a72703db0e8c3fc4a6c2 diff --git a/dev-python/uv/files/uv-0.1.28-skip-tests.patch b/dev-python/uv/files/uv-0.1.28-skip-tests.patch deleted file mode 100644 index 037ac6addb99..000000000000 --- a/dev-python/uv/files/uv-0.1.28-skip-tests.patch +++ /dev/null @@ -1,144 +0,0 @@ -diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs -index 281c8b7f..19df83c2 100644 ---- a/crates/uv/tests/pip_compile.rs -+++ b/crates/uv/tests/pip_compile.rs -@@ -5509,3 +5509,2 @@ fn expand_env_var_requirements_txt() -> Result<()> { - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -5763,3 +5762,2 @@ fn no_stream() -> Result<()> { - /// Raise an error when a direct URL dependency's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs -index ee987fb0..a73e2f25 100644 ---- a/crates/uv/tests/pip_install.rs -+++ b/crates/uv/tests/pip_install.rs -@@ -952,3 +952,2 @@ fn install_no_index_version() { - /// Ref: <https://github.com/astral-sh/uv/issues/1600> --#[test] - fn install_extra_index_url_has_priority() { -@@ -2362,3 +2361,2 @@ requires-python = ">=3.11,<3.13" - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -2811,3 +2809,2 @@ fn dry_run_install_then_upgrade() -> std::result::Result<(), Box<dyn std::error: - /// Raise an error when a direct URL's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/pip_install_scenarios.rs b/crates/uv/tests/pip_install_scenarios.rs -index e9e85a94..353b3c62 100644 ---- a/crates/uv/tests/pip_install_scenarios.rs -+++ b/crates/uv/tests/pip_install_scenarios.rs -@@ -2246,3 +2246,2 @@ fn post_greater_than_or_equal_post() { - /// ``` --#[test] - fn post_less_than_or_equal() { -@@ -2285,3 +2284,2 @@ fn post_less_than_or_equal() { - /// ``` --#[test] - fn post_less_than() { -@@ -2322,3 +2320,2 @@ fn post_less_than() { - /// ``` --#[test] - fn post_local_greater_than() { -@@ -2363,3 +2360,2 @@ fn post_local_greater_than() { - /// ``` --#[test] - fn post_local_greater_than_post() { -@@ -2531,3 +2527,2 @@ fn post_greater_than_post_not_available() { - /// ``` --#[test] - fn package_only_prereleases() { -@@ -3654,3 +3649,2 @@ fn package_prereleases_specifier_boundary() { - /// ``` --#[test] - fn python_version_does_not_exist() { -@@ -3696,3 +3690,2 @@ fn python_version_does_not_exist() { - /// ``` --#[test] - fn python_less_than_current() { -@@ -3738,3 +3731,2 @@ fn python_less_than_current() { - /// ``` --#[test] - fn python_greater_than_current() { -@@ -3780,3 +3772,2 @@ fn python_greater_than_current() { - /// ``` --#[test] - fn python_greater_than_current_patch() { -@@ -3944,3 +3935,2 @@ fn python_greater_than_current_backtrack() { - /// ``` --#[test] - fn python_greater_than_current_excluded() { -diff --git a/crates/uv/tests/pip_list.rs b/crates/uv/tests/pip_list.rs -index 9b545ee2..5b202b9c 100644 ---- a/crates/uv/tests/pip_list.rs -+++ b/crates/uv/tests/pip_list.rs -@@ -101,3 +101,2 @@ fn list_single_no_editable() -> Result<()> { - --#[test] - fn list_editable() { -@@ -153,3 +152,2 @@ fn list_editable() { - --#[test] - fn list_editable_only() { -@@ -241,3 +239,2 @@ fn list_editable_only() { - --#[test] - fn list_exclude() { -diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs -index 7964d2cc..e0a14a91 100644 ---- a/crates/uv/tests/pip_sync.rs -+++ b/crates/uv/tests/pip_sync.rs -@@ -1423,3 +1423,2 @@ fn install_git_source_dist_cached() -> Result<()> { - /// Check that we show the right messages on cached, registry source distribution installs. --#[test] - fn install_registry_source_dist_cached() -> Result<()> { -@@ -2920,3 +2919,2 @@ fn compile_invalid_pyc_invalidation_mode() -> Result<()> { - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -2988,3 +2986,2 @@ fn no_stream() -> Result<()> { - /// Raise an error when a direct URL dependency's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/venv.rs b/crates/uv/tests/venv.rs -index 94e79ae7..f79ea4e6 100644 ---- a/crates/uv/tests/venv.rs -+++ b/crates/uv/tests/venv.rs -@@ -76,3 +76,2 @@ impl VenvTestContext { - --#[test] - fn create_venv() { -@@ -118,3 +117,2 @@ fn create_venv() { - --#[test] - fn create_venv_defaults_to_cwd() { -@@ -139,3 +137,2 @@ fn create_venv_defaults_to_cwd() { - --#[test] - fn seed() { -@@ -163,3 +160,2 @@ fn seed() { - --#[test] - fn seed_older_python_version() { -@@ -255,3 +251,2 @@ fn create_venv_unknown_python_patch() { - --#[test] - fn create_venv_python_patch() { -@@ -278,3 +273,2 @@ fn create_venv_python_patch() { - --#[test] - fn file_exists() -> Result<()> { -@@ -307,3 +301,2 @@ fn file_exists() -> Result<()> { - --#[test] - fn empty_dir_exists() -> Result<()> { -@@ -334,3 +327,2 @@ fn empty_dir_exists() -> Result<()> { - --#[test] - fn non_empty_dir_exists() -> Result<()> { -@@ -408,3 +400,2 @@ fn windows_shims() -> Result<()> { - --#[test] - fn virtualenv_compatibility() { diff --git a/dev-python/uv/files/uv-0.1.32-skip-tests.patch b/dev-python/uv/files/uv-0.1.32-skip-tests.patch deleted file mode 100644 index dd672fdd16cf..000000000000 --- a/dev-python/uv/files/uv-0.1.32-skip-tests.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs -index 7cecbba5..f7385dbf 100644 ---- a/crates/uv/tests/pip_sync.rs -+++ b/crates/uv/tests/pip_sync.rs -@@ -1396,7 +1396,6 @@ fn install_git_source_dist_cached() -> Result<()> { - } - - /// Check that we show the right messages on cached, registry source distribution installs. --#[test] - fn install_registry_source_dist_cached() -> Result<()> { - let context = TestContext::new("3.12"); - diff --git a/dev-python/uv/uv-0.1.31.ebuild b/dev-python/uv/uv-0.1.31.ebuild deleted file mode 100644 index 24a6f44759c7..000000000000 --- a/dev-python/uv/uv-0.1.31.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - local PATCHES=( - # skip broken tests: - # - requiring pinned CPython versions (3.8.12, 3.11.7, 3.12.1) - # - requiring specific terminal width (COLUMNS don't seem to work) - # - other (perhaps failing because of other skipped tests?) - "${FILESDIR}/uv-0.1.28-skip-tests.patch" - ) - - rm crates/uv/tests/pip_compile_scenarios.rs || die - default -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.1.32.ebuild b/dev-python/uv/uv-0.1.32.ebuild deleted file mode 100644 index 7287532bc9ca..000000000000 --- a/dev-python/uv/uv-0.1.32.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - local PATCHES=( - # skip broken test - # https://github.com/astral-sh/uv/issues/3051 - "${FILESDIR}/uv-0.1.32-skip-tests.patch" - ) - - default -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.1.33.ebuild b/dev-python/uv/uv-0.1.33.ebuild deleted file mode 100644 index 793b60d2c541..000000000000 --- a/dev-python/uv/uv-0.1.33.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.1.35.ebuild b/dev-python/uv/uv-0.1.35.ebuild deleted file mode 100644 index 793b60d2c541..000000000000 --- a/dev-python/uv/uv-0.1.35.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} |