From 24ee8c58752f0dc4376961a28f7364e6d7c7a7aa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2024 17:40:43 +0000 Subject: gentoo auto-resync : 24:02:2024 - 17:40:43 --- dev-python/watchfiles/Manifest | 4 +- dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild | 120 ++++++++++++++++++++++ dev-python/watchfiles/watchfiles-0.20.0.ebuild | 114 -------------------- dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild | 4 +- 4 files changed, 124 insertions(+), 118 deletions(-) create mode 100644 dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild delete mode 100644 dev-python/watchfiles/watchfiles-0.20.0.ebuild (limited to 'dev-python/watchfiles') diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index 3d283df9a2d8..7bdae01ac8cc 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -63,6 +63,6 @@ DIST windows_i686_msvc-0.42.2.crate 724951 BLAKE2B b084286cd4927efd2889b149abf8a DIST windows_x86_64_gnu-0.42.2.crate 699373 BLAKE2B 01c70809d564b16b268656e47295e99c992d8f9839fac8a51338a0e7c3b9cdcd0429c456ca8c1c139a8c687ed7ed6c43a82250889d881aadaa65bd037223e0a6 SHA512 5767af3c86e717f93137a89d442230e6b60a649057edb3ab104b1f82c0bcd64fe089dcdf2f4fd486a799bece1ddb5f0449641536b678211945e749ae24f35c1f DIST windows_x86_64_gnullvm-0.42.2.crate 364068 BLAKE2B 64bc53e98eb3fc649c9b43a6e734de4e65088e41edacabd49f7afcc5dc6e1065c563ecfc682747dda05978dea2dba4f45c16fcc18c3b00684c3d93681e5a7deb SHA512 d39a8bc948110fe612d3f8d6628b3f0d56620df11d8a49e0fabb6c90389ad407582b3af10e4eab46c79b3d11d2e10753d73d9e55963fbeac085f41e9749bdba3 DIST windows_x86_64_msvc-0.42.2.crate 666936 BLAKE2B bc3a456e7f8bc272f8978ec69506ec9d89f97b7582ebbe05d8bd57bdf8156ef62d0d2dc6137a97e81d54059d70db97a24af9a038adff357f5dfd28805d6193b5 SHA512 53a35f438903fceb59e36bd2ac331773fb8e6c8c5a6d984e79021761f91b3b4a23efe49d219667a4d0d23dcdbf906da9c24e74fb1cff93395b5c55ff524e3788 -EBUILD watchfiles-0.20.0.ebuild 2319 BLAKE2B 7d6c39b47df4f722b41ca76190014ed52437425e51ac629fa8fbcb50afdcc7c563baea47c8d1a5a5e867231eedaef47840ca41ddd2039e4c5a111b21ff7eac10 SHA512 d4c8d048481f0a015e4685f5c4ec6320cbbd054ac3aed7c967c730986c41ef0b3481d28049aec3417814daee4cfc8bcceb09979c52cf417e53a1914472d29588 -EBUILD watchfiles-0.21.0-r1.ebuild 2525 BLAKE2B 9feb2444293ae8dbb35e4c7c12d246369a2a54274f3aa5f11c50f4220f9aca4183fcdcdb7b9d33856f1b681b6ad213b11a9c530e8b75008e443fad5af7c237b8 SHA512 62e955b86173677326c5c46d7253b71dd30cee12d37c882b1c932dba732577796c167493200f0443d56458ad6079ee310ef5c8e253180fc82f4e9eb070ff686d +EBUILD watchfiles-0.20.0-r1.ebuild 2493 BLAKE2B 02516459e6fa71061aa97b82c151adeee8fb4c1be39d96257e9091ad13484b19fe51edde78b35bbd075e85d9d87cf17ae59540784b5396b84d3e78bdd14fd977 SHA512 865764a0e6744f350ad94bc2882ab980cac8d8394eb0b13a89cb1182816b5473e5e0b589a0735ec3980cf6eecb8702e86eacd894bdcff4491227298ed10408d1 +EBUILD watchfiles-0.21.0-r1.ebuild 2525 BLAKE2B 3f2a07da23d932668adb1377bbefc5f2f78aaaf7c70cf1c2a4a99393b2f9144157f52f41fcce323d08095b9b90c99d23d212a8b086c52e1b1bf3c572245e7827 SHA512 a0ca68face23b38b429218ea8663a2808dece5d3cf5acb5603c452e534e1c8885554fb34c544096aee1c97dd3b330560bdbc1b9017b91732f5f4da9b510a5424 MISC metadata.xml 355 BLAKE2B 95253406e11c30a7a3b5462d3c835010313bed3122f9d16ff73d6959a5c1f4c8922e324c839fcae9f541c7b1d84544cd38718ffcaba039b8c61292eaefa37447 SHA512 e1c11224e0129eb696e4e92a41ec0e35819febee2eb967982e016f7a0d02d95df8465867e0202d8e7ac59cc579f73c79d9ed6b87eebd44b3b64d63a5642ac458 diff --git a/dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild b/dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild new file mode 100644 index 000000000000..3a6bd618da05 --- /dev/null +++ b/dev-python/watchfiles/watchfiles-0.20.0-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + crossbeam-channel@0.5.7 + crossbeam-utils@0.8.15 + filetime@0.2.20 + fsevent-sys@4.1.0 + indoc@1.0.9 + inotify-sys@0.1.5 + inotify@0.9.6 + kqueue-sys@1.0.3 + kqueue@1.0.7 + libc@0.2.140 + lock_api@0.4.9 + log@0.4.17 + memoffset@0.9.0 + mio@0.8.6 + notify@5.1.0 + once_cell@1.17.1 + parking_lot@0.12.1 + parking_lot_core@0.9.7 + proc-macro2@1.0.53 + pyo3-build-config@0.19.2 + pyo3-ffi@0.19.2 + pyo3-macros-backend@0.19.2 + pyo3-macros@0.19.2 + pyo3@0.19.2 + quote@1.0.26 + redox_syscall@0.2.16 + same-file@1.0.6 + scopeguard@1.1.0 + smallvec@1.10.0 + syn@1.0.109 + target-lexicon@0.12.6 + unicode-ident@1.0.8 + unindent@0.1.11 + walkdir@2.3.3 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.42.0 + windows-sys@0.45.0 + windows-targets@0.42.2 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_msvc@0.42.2 + windows_i686_gnu@0.42.2 + windows_i686_msvc@0.42.2 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_msvc@0.42.2 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-DFS-2016 + || ( Artistic-2 CC0-1.0 ) +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/watchfiles/watchfiles-0.20.0.ebuild b/dev-python/watchfiles/watchfiles-0.20.0.ebuild deleted file mode 100644 index c0b2338ef6cb..000000000000 --- a/dev-python/watchfiles/watchfiles-0.20.0.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-channel@0.5.7 - crossbeam-utils@0.8.15 - filetime@0.2.20 - fsevent-sys@4.1.0 - indoc@1.0.9 - inotify-sys@0.1.5 - inotify@0.9.6 - kqueue-sys@1.0.3 - kqueue@1.0.7 - libc@0.2.140 - lock_api@0.4.9 - log@0.4.17 - memoffset@0.9.0 - mio@0.8.6 - notify@5.1.0 - once_cell@1.17.1 - parking_lot@0.12.1 - parking_lot_core@0.9.7 - proc-macro2@1.0.53 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.26 - redox_syscall@0.2.16 - same-file@1.0.6 - scopeguard@1.1.0 - smallvec@1.10.0 - syn@1.0.109 - target-lexicon@0.12.6 - unicode-ident@1.0.8 - unindent@0.1.11 - walkdir@2.3.3 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.5 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows-sys@0.45.0 - windows-targets@0.42.2 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_msvc@0.42.2 - windows_i686_gnu@0.42.2 - windows_i686_msvc@0.42.2 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_msvc@0.42.2 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Simple, modern file watching and code reload in Python" -HOMEPAGE=" - https://pypi.org/project/watchfiles/ - https://github.com/samuelcolvin/watchfiles/ -" -SRC_URI=" - https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-DFS-2016 - || ( Artistic-2 CC0-1.0 ) -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - =dev-python/anyio-3*[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -# enjoy Rust -QA_FLAGS_IGNORED=".*/_rust_notify.*" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # fix version number - sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die -} - -python_test() { - rm -rf watchfiles || die - epytest -} diff --git a/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild b/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild index b59dcfee7280..be9a6d699ce6 100644 --- a/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild +++ b/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -88,7 +88,7 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" - >=dev-python/anyio-3.0.0[${PYTHON_USEDEP}] + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-rust[${PYTHON_USEDEP}] -- cgit v1.2.3