summaryrefslogtreecommitdiff
path: root/dev-python/uv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-24 23:59:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-24 23:59:27 +0100
commitb987a550f067c3da93b0664cf1fdc8a624c0aa38 (patch)
tree9ad1767fad656d26471a81af6bac8400a1c75218 /dev-python/uv
parente3f21c8aff8a76afe3423721c437a088e9232840 (diff)
gentoo auto-resync : 24:04:2024 - 23:59:27
Diffstat (limited to 'dev-python/uv')
-rw-r--r--dev-python/uv/Manifest18
-rw-r--r--dev-python/uv/files/uv-0.1.28-skip-tests.patch144
-rw-r--r--dev-python/uv/files/uv-0.1.32-skip-tests.patch12
-rw-r--r--dev-python/uv/files/uv-0.1.37-test.patch22
-rw-r--r--dev-python/uv/uv-0.1.31.ebuild109
-rw-r--r--dev-python/uv/uv-0.1.32.ebuild121
-rw-r--r--dev-python/uv/uv-0.1.35.ebuild111
-rw-r--r--dev-python/uv/uv-0.1.37.ebuild (renamed from dev-python/uv/uv-0.1.33.ebuild)6
8 files changed, 32 insertions, 511 deletions
diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest
index a96a22bd2aee..d86d2247ed94 100644
--- a/dev-python/uv/Manifest
+++ b/dev-python/uv/Manifest
@@ -1,26 +1,16 @@
AUX uv-0.1.24-skip-tests.patch 6070 BLAKE2B 10c111a2782bc0de45317dc4b6d7f7d66474aec38d61992a63686678a70685aa030acc2b96cb5cced70cf2b290e6f69cdb3e5c42464e04b937a9ef9cb2d7f9f7 SHA512 84fa60b254b3d14fbae337aceba1f34e9f4cd35e0d8da7e90c4ef75c81ccc5268dbfe3e46967ba05899af7862331cade50dcd4a364acd51fcb04a0923cbf7688
-AUX uv-0.1.28-skip-tests.patch 4946 BLAKE2B 30fe6a3545b771aa6bfb3db6ff6503375295e3b4315fc9bf504cb559e5f4c13c0f79ae3399e3207d5db79d3964f582995209cd71f0b13d1113a26949d33ce029 SHA512 e113acb04d6e192e4b08de5fe3c1b5802794c9ba981b6c2669cafefb08b98b12f0c483fc5925be0ad1fc0d7bb2446ffa7c56fa05c8024bd3091dfcb16683e5c8
-AUX uv-0.1.32-skip-tests.patch 457 BLAKE2B 15c3869b2ff184206993da261329a26717e953a71324c632179282ababa789b8e05f156c5b71dbdf1e6b0b5b53d230ed86b4817b1c07e7c66af8d2e1b21b8df6 SHA512 4a5a190ba07fa11ee6095ba8a5adba444cf6db26f4eebffb780c286287f8a2e68c45ecfcb0f072f506123cb7368af137f0a49a4632660ac86db063c8ae82b53d
+AUX uv-0.1.37-test.patch 869 BLAKE2B ed0dbcc9e2aac2a66974cfa408aa6b714d3fc0cf72c94d2d84bcfe203da4b5428b51e7d2016fdca552db80a4eb260b5c10a69b798354cd7d2887647086e3aae7 SHA512 3d919a23a126a5c8612fb5ce5931bdf8953ed113ee748241c5b6526874957a7503b06bf64afa9828f5ccfd3646d9f6d4ed00fadcd6afa87875bdb09e58f0d03e
DIST pubgrub-c26e485213e39582c6f2e4d45c0328422670e7a7.gh.tar.gz 86123 BLAKE2B 743bb61460903d276f467b23bb001313598b50cb54fd1a56bcadbc732dd606bafd48a2d9960add3424bd03222450b455f9f1bc8716a80933e5ed0cfb76dcc50a SHA512 9f9c8b58dd2ddeb3ed89abcd790641bd9b7b2cf4fc66dcc4d964a1b69d879adcdaf2775545631ca20f06a8ab5d6bc1df6b2eb272207d2642584c269b358f4d76
DIST pubgrub-e981e4dfe315582e84e2fd724832fb0e0c50b7aa.gh.tar.gz 76914 BLAKE2B e7039f3b2fdc2a702f4824ff99acba9549e916c211290b79ec710060369b2c76e518c210c109103bf5ba50cbb373d0a4e3185df09935d7e47241ec25da259776 SHA512 94cfc88b6736ffd78bcbcc3f4cd9940d27c902bf2dfca38dddb470b8a6a0bb3a8e4a61dd1b2654e49327c9386c3ac2a7f090f9a6c2426b19ecf00d9f9716d400
DIST rs-async-zip-1dcb40cfe1bf5325a6fd4bfcf9894db40241f585.gh.tar.gz 96766 BLAKE2B f9efab73c65394e33e090a6292875ebf35e6669b15c356f102eb109784a4503606ae39106cd0ebe3d7d479cb0b30806d7baaaebf22d826836a24f7ed49100934 SHA512 3b845b05d97c5ab5cea286a7c11846838b40bb1fac98a51782600849a53231be8fa205094c6bdd00f6e193c807b10b28f947698696382be99cae0a8d681dabdc
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
+DIST uv-0.1.37-crates.tar.xz 65881140 BLAKE2B c1a640c44d73d5607c8d07468cefc66c150135b0f0249362148bd2b8f8c99a43c9031a642c0f76140631177df947be7637b49e99e247afbd7efbebb2ad79bcb1 SHA512 99bf6f341f9e6cf8eb0834c436b81453615725cabd3ddc4cca34edb307200bdbb71e913e8ff52a2a1d11e5f1a4abfb4dbdfe40a9c4f114079a7d9fdace0bcaab
+DIST uv-0.1.37.gh.tar.gz 1020667 BLAKE2B 4aa459b15dc06d57d5cad66ebeb5925ec833870dea17f72ef54889f8e8699719cba59bd0600263c1647f17402c002000114d603a474dbcf873ac2f2c37301fb8 SHA512 88d9233bd05e8003b75759e39bc22c469a0094a5ca5b6bd6f2bd8b266b376c44ecfa442f3cd5fff1c099234b660a871153423bacbf785863deb79df321b05574
EBUILD uv-0.1.24.ebuild 2164 BLAKE2B 3caf382115984e87a0f44b5e8f619f38b3a7503ac12738519d0edff253eafbc7474924aa1997e332738ffe316da40dd199b906b1c560f1a00a53c805a39edc75 SHA512 c0c83640c43d073a1447228993e8384eee6a4adf73760d651456899ba285d25cc83f0611f6196123125f94fa9fa5d85710308ccf603e7261a699efc2f927dad7
-EBUILD uv-0.1.31.ebuild 2205 BLAKE2B c01ef5156ecdbdf4fc161adc036f396efa7e5c73ce00afabb45738c2bebfad99bcc199c5aac0c7b05d1b952011854cfad787bc6fe17942f3cd46e88f7f74c0a8 SHA512 d8adefcd0c9184a00bcfe5a10b0b1997deedd7ba9258bbdb215eb63117d9d62d075249c1db765321a7530960b400624ebd8fbee709318cad1891306b35ffc5a9
-EBUILD uv-0.1.32.ebuild 2255 BLAKE2B 2011c15e4960441062b24453242f565c420d4d83421125d4b1dde5bccc72efd8f3c8c84a25ed06811f7f8f4cd96d04dfe88976704f988158fc55520dd6fc5925 SHA512 0fbfc156b6e9aca60e64dbd7146f20869740658a51b60938b5d47ceab0da3c2d855acb0046f3280c97ece4213be3da799537e832122e8ae4a08e178d447746b6
-EBUILD uv-0.1.33.ebuild 2094 BLAKE2B 37e23e4dc916b7dbdbc6a749601a3d363fe6b4d4f3f83cff1dfc8ba9c7444c3798fdde8422136f62e02629de599aefc5118aa51cfae819cb756eda525ce54daf SHA512 3e1094213e116c2de3bd650c8fe05b0b9b0b4d12b6db19c22378677965e6659b5c50d46260136406bf04a3c3bf422f66687fb9f829030bdfb6af38cc293a3a44
-EBUILD uv-0.1.35.ebuild 2094 BLAKE2B 37e23e4dc916b7dbdbc6a749601a3d363fe6b4d4f3f83cff1dfc8ba9c7444c3798fdde8422136f62e02629de599aefc5118aa51cfae819cb756eda525ce54daf SHA512 3e1094213e116c2de3bd650c8fe05b0b9b0b4d12b6db19c22378677965e6659b5c50d46260136406bf04a3c3bf422f66687fb9f829030bdfb6af38cc293a3a44
EBUILD uv-0.1.36.ebuild 2094 BLAKE2B 37e23e4dc916b7dbdbc6a749601a3d363fe6b4d4f3f83cff1dfc8ba9c7444c3798fdde8422136f62e02629de599aefc5118aa51cfae819cb756eda525ce54daf SHA512 3e1094213e116c2de3bd650c8fe05b0b9b0b4d12b6db19c22378677965e6659b5c50d46260136406bf04a3c3bf422f66687fb9f829030bdfb6af38cc293a3a44
+EBUILD uv-0.1.37.ebuild 2248 BLAKE2B ee8e52748ea5060ee7c9cd34c4048b561d03316f6281878071d333e795354ee6cb6358174c22e80b7aef9b57b881e1df789a71316cfaf62c95e60ecde64459a9 SHA512 0e597f311016c604687a16a2869c13e8fcc238fdd0051a44138ad91aba683803170752016c8dacc09f90f26856968782b7573e70c6be81bfe03a7b7acb288c82
MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310
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/files/uv-0.1.37-test.patch b/dev-python/uv/files/uv-0.1.37-test.patch
new file mode 100644
index 000000000000..0c39b4d3400f
--- /dev/null
+++ b/dev-python/uv/files/uv-0.1.37-test.patch
@@ -0,0 +1,22 @@
+diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs
+index de3336a5..b6884992 100644
+--- a/crates/uv/tests/pip_compile.rs
++++ b/crates/uv/tests/pip_compile.rs
+@@ -3413,7 +3413,7 @@ fn compile_html() -> Result<()> {
+ # This file was autogenerated by uv via the following command:
+ # uv pip compile requirements.in --cache-dir [CACHE_DIR]
+ jinja2==3.1.2
+- markupsafe==2.1.3
++ markupsafe==2.1.5
+ # via jinja2
+
+ ----- stderr -----
+@@ -7737,7 +7737,7 @@ fn compile_index_url_fallback_prefer_primary() -> Result<()> {
+ ----- stdout -----
+ # This file was autogenerated by uv via the following command:
+ # uv pip compile --cache-dir [CACHE_DIR] --index-strategy unsafe-any-match requirements.in --no-deps
+- jinja2==3.1.2
++ jinja2==3.1.3
+
+ ----- stderr -----
+ Resolved 1 package in [TIME]
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.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
-}
diff --git a/dev-python/uv/uv-0.1.33.ebuild b/dev-python/uv/uv-0.1.37.ebuild
index 793b60d2c541..38bbfee404a1 100644
--- a/dev-python/uv/uv-0.1.33.ebuild
+++ b/dev-python/uv/uv-0.1.37.ebuild
@@ -66,6 +66,12 @@ BDEPEND="
QA_FLAGS_IGNORED="usr/bin/.*"
+PATCHES=(
+ # tests are running on live pip index, and need to be updated
+ # whenever upstreams release new packages x_x
+ "${FILESDIR}/${P}-test.patch"
+)
+
check_space() {
local CHECKREQS_DISK_BUILD=3G
use debug && CHECKREQS_DISK_BUILD=9G