summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-30 16:42:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-30 16:42:15 +0100
commitaca0af8133e724b7edf0b5c6efe12c39077a3dc9 (patch)
tree77f3ebc779dbb8fda935ed9895b424d3201f7804 /dev-python
parentd97adbb13d8d4ce3f0521498a11e3d3af2154de2 (diff)
gentoo auto-resync : 30:07:2023 - 16:42:14
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin266650 -> 266655 bytes
-rw-r--r--dev-python/graph-tool/Manifest4
-rw-r--r--dev-python/graph-tool/graph-tool-2.57.ebuild (renamed from dev-python/graph-tool/graph-tool-2.56.ebuild)0
-rw-r--r--dev-python/peewee/Manifest4
-rw-r--r--dev-python/peewee/files/peewee-3.16.2-cython3.patch102
-rw-r--r--dev-python/peewee/peewee-3.16.2-r1.ebuild60
-rw-r--r--dev-python/peewee/peewee-3.16.2.ebuild3
-rw-r--r--dev-python/pyfuse3/Manifest1
-rw-r--r--dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild40
9 files changed, 210 insertions, 4 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index e27103e8ac99..bd29c81f83bc 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest
index b1a6507ed879..257c468d43bb 100644
--- a/dev-python/graph-tool/Manifest
+++ b/dev-python/graph-tool/Manifest
@@ -1,4 +1,4 @@
-DIST graph-tool-2.56.tar.bz2 15194737 BLAKE2B d28c2056eeeedf37480c042f9b5bfc2fe1f7df35c8f7c69b7431afde9b22fa4b5a79f6e8c8a8d8e9cf48f6607d34472d57c757c32e2c6b8a6c5f7ced79349579 SHA512 4db3711a87067e98095cb2cf49a5a7edb45723ecd238de8b4ff4ca13c34133c5552a29f6b5100e5b8b10a15ec1cac4d0e31578374ed73261d1e18b90980eef1c
-EBUILD graph-tool-2.56.ebuild 1779 BLAKE2B 315840f08af610ca504f6991bde321c330d6ccd33dfca56a75cf4a48b262054a2ed61260bf28b2b0e45211d943afd915a3cbeb3ac5725dfd9b77858e60681943 SHA512 146a006f916be5f9f234bb8e26fdca55df73d89956462d43f7afae45801bf99763915a1c9d89ca8164c20ed8ed770797029ec243994f24ce852ae20290550208
+DIST graph-tool-2.57.tar.bz2 15192391 BLAKE2B bc124371dc4e60d95fb5ab7df8b79b785efe1684c3305bc1d15f17b120dbdda15c63e5996c8497ceaa89f77cfc38dcf90cb6c806d5bb3853a755be301a085f9a SHA512 48d0cf269abaa3124f69e3d67cad6e68db17953806a474905b450e0a203a95903ac17aaba4d7edfe6934e518fc9a6b1a894a6e99f72ea6fbffe5ad80b4efd77d
+EBUILD graph-tool-2.57.ebuild 1779 BLAKE2B 315840f08af610ca504f6991bde321c330d6ccd33dfca56a75cf4a48b262054a2ed61260bf28b2b0e45211d943afd915a3cbeb3ac5725dfd9b77858e60681943 SHA512 146a006f916be5f9f234bb8e26fdca55df73d89956462d43f7afae45801bf99763915a1c9d89ca8164c20ed8ed770797029ec243994f24ce852ae20290550208
EBUILD graph-tool-9999.ebuild 1779 BLAKE2B 315840f08af610ca504f6991bde321c330d6ccd33dfca56a75cf4a48b262054a2ed61260bf28b2b0e45211d943afd915a3cbeb3ac5725dfd9b77858e60681943 SHA512 146a006f916be5f9f234bb8e26fdca55df73d89956462d43f7afae45801bf99763915a1c9d89ca8164c20ed8ed770797029ec243994f24ce852ae20290550208
MISC metadata.xml 318 BLAKE2B f5a87067223b56a1c2f2a89278b2b7b8ab612a1575264999e40a3bb34853cf603a7a11546c7ff9aa4f253beeb09c2fd26abc8fda1c6f2de5bda35069e9f932bc SHA512 b3bf8fc36dd5ae8e8b773cf9a0670fa1c6a2ee3730c9f2980abf5823f52879c5ef87a357c25d025896bd75ced32ffcec82ecdb1f080babc4fe13d2a2b70624b1
diff --git a/dev-python/graph-tool/graph-tool-2.56.ebuild b/dev-python/graph-tool/graph-tool-2.57.ebuild
index a856d2584fed..a856d2584fed 100644
--- a/dev-python/graph-tool/graph-tool-2.56.ebuild
+++ b/dev-python/graph-tool/graph-tool-2.57.ebuild
diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest
index 0258fe669235..f2713ddaaf14 100644
--- a/dev-python/peewee/Manifest
+++ b/dev-python/peewee/Manifest
@@ -1,3 +1,5 @@
+AUX peewee-3.16.2-cython3.patch 4551 BLAKE2B e3c57e65250b31b5726ae5b9b4d0f3b2f01cd37b8a6adc4ab17187ab88ad2f1f8eabbd673b04a7220a13b2d994c16b5d16cc511473c1a21d057938598284351b SHA512 526d676672e7452947303a910b98fb8b3e80d98f7bf63871cbb34309e3a844db3b546d073f030ed85dabdcb65b3293e20c3020bbd9e2af25fb203c99321bed77
DIST peewee-3.16.2.gh.tar.gz 912162 BLAKE2B d865a63fb0eeff064b6655029741291ebd002ffa428fe98f87b319874713064eed9500fb45e3710b7e1223ea2537408d51dc4a6f40b525467f074f225c05bf20 SHA512 7e507d9f2ace45c5ec482d657e7722812fae10eea9a23b12caf2611d3739bc6dc70800f21d606d5e854e3209dd6d2ff73b93f004515f6549c3bbc423bce650d8
-EBUILD peewee-3.16.2.ebuild 1010 BLAKE2B 0271a903816b704cd064ed184866375ccbb72316864df3b527973e3ed99fa6aebbfae49eb58dc5c5bf5fba101ade08d3207999627aecba9fa083b6de9b2e4f07 SHA512 fcbfa932042e50ca0d0b83e77efcc3d7b00572a19a2e2af6284798ecd2e67e7add1b824376ef90e16fe06b3e5278abc270beb2dd1c4cfe82ccc76d8190c2184b
+EBUILD peewee-3.16.2-r1.ebuild 1060 BLAKE2B 26942cdd135ad2d5b4709d18b607f52c4b5c12e02041c6cc4863a44a029f5bb016f756f4646ba913905e16381da56f32718dafde5ed49f72a3b10de8c7f59d89 SHA512 17a093ffbefb2b723918fa24477393f8b42a162dcef293cea13b96177ccd8041e9f4762aa49bc0c5565bda248c015ae185f0635d46d1298692ae93b612b2ec63
+EBUILD peewee-3.16.2.ebuild 1041 BLAKE2B d198b980f25f60220cc5ed724bbbdbf3bcef209166b301a32393cecd5a26ddda84fb3fb91ad6810e3dd74666f90f9502596bdb62800cf6282495e25004a21641 SHA512 3fcaefd1eded9bf8a5050143b900bb48086408d119f00cca20e748bd4be8e03abd37d43b50115f9c14008e9b7c008f60ce8663845de945a43bf08531868ba95f
MISC metadata.xml 493 BLAKE2B 60dbc97d8a2acf239b6ae84ae48153ec7985399ef588de5fd3d5e06db137353ba8440eeb811fe90edb66aef70550c514c23f53cf8ee2c5e8146504dae71cef19 SHA512 28227e81ad41534f8dc80dc478cb72e116aa3d5259bb91dd20121fcadd803a04715a986e21d4302a0c8129a4fcafbd71645636b0e5b3384a661f3ee93d41fde2
diff --git a/dev-python/peewee/files/peewee-3.16.2-cython3.patch b/dev-python/peewee/files/peewee-3.16.2-cython3.patch
new file mode 100644
index 000000000000..5ddbd7ae9377
--- /dev/null
+++ b/dev-python/peewee/files/peewee-3.16.2-cython3.patch
@@ -0,0 +1,102 @@
+https://github.com/coleifer/peewee/commit/83c6b78bd5df2c8c942f4fc32c4daedde01e8a63
+
+From 83c6b78bd5df2c8c942f4fc32c4daedde01e8a63 Mon Sep 17 00:00:00 2001
+From: Charles Leifer <coleifer@gmail.com>
+Date: Tue, 18 Jul 2023 17:37:27 -0500
+Subject: [PATCH] Changes for Cython 3.0
+
+--- a/playhouse/_sqlite_ext.pyx
++++ b/playhouse/_sqlite_ext.pyx
+@@ -386,7 +386,7 @@ ctypedef struct peewee_cursor:
+ # We define an xConnect function, but leave xCreate NULL so that the
+ # table-function can be called eponymously.
+ cdef int pwConnect(sqlite3 *db, void *pAux, int argc, const char *const*argv,
+- sqlite3_vtab **ppVtab, char **pzErr) with gil:
++ sqlite3_vtab **ppVtab, char **pzErr) noexcept with gil:
+ cdef:
+ int rc
+ object table_func_cls = <object>pAux
+@@ -407,7 +407,7 @@ cdef int pwConnect(sqlite3 *db, void *pAux, int argc, const char *const*argv,
+ return rc
+
+
+-cdef int pwDisconnect(sqlite3_vtab *pBase) with gil:
++cdef int pwDisconnect(sqlite3_vtab *pBase) noexcept with gil:
+ cdef:
+ peewee_vtab *pVtab = <peewee_vtab *>pBase
+ object table_func_cls = <object>(pVtab.table_func_cls)
+@@ -419,7 +419,8 @@ cdef int pwDisconnect(sqlite3_vtab *pBase) with gil:
+
+ # The xOpen method is used to initialize a cursor. In this method we
+ # instantiate the TableFunction class and zero out a new cursor for iteration.
+-cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) with gil:
++cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) \
++ noexcept with gil:
+ cdef:
+ peewee_vtab *pVtab = <peewee_vtab *>pBase
+ peewee_cursor *pCur = <peewee_cursor *>0
+@@ -443,7 +444,7 @@ cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) with gil:
+ return SQLITE_OK
+
+
+-cdef int pwClose(sqlite3_vtab_cursor *pBase) with gil:
++cdef int pwClose(sqlite3_vtab_cursor *pBase) noexcept with gil:
+ cdef:
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+ object table_func = <object>pCur.table_func
+@@ -454,7 +455,7 @@ cdef int pwClose(sqlite3_vtab_cursor *pBase) with gil:
+
+ # Iterate once, advancing the cursor's index and assigning the row data to the
+ # `row_data` field on the peewee_cursor struct.
+-cdef int pwNext(sqlite3_vtab_cursor *pBase) with gil:
++cdef int pwNext(sqlite3_vtab_cursor *pBase) noexcept with gil:
+ cdef:
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+ object table_func = <object>pCur.table_func
+@@ -483,7 +484,7 @@ cdef int pwNext(sqlite3_vtab_cursor *pBase) with gil:
+
+ # Return the requested column from the current row.
+ cdef int pwColumn(sqlite3_vtab_cursor *pBase, sqlite3_context *ctx,
+- int iCol) with gil:
++ int iCol) noexcept with gil:
+ cdef:
+ bytes bval
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+@@ -502,7 +503,7 @@ cdef int pwColumn(sqlite3_vtab_cursor *pBase, sqlite3_context *ctx,
+ return python_to_sqlite(ctx, row_data[iCol])
+
+
+-cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid):
++cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid) noexcept:
+ cdef:
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+ pRowid[0] = <sqlite3_int64>pCur.idx
+@@ -510,7 +511,7 @@ cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid):
+
+
+ # Return a boolean indicating whether the cursor has been consumed.
+-cdef int pwEof(sqlite3_vtab_cursor *pBase):
++cdef int pwEof(sqlite3_vtab_cursor *pBase) noexcept:
+ cdef:
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+ return 1 if pCur.stopped else 0
+@@ -520,7 +521,8 @@ cdef int pwEof(sqlite3_vtab_cursor *pBase):
+ # get access to the parameters that the function was called with, and call the
+ # TableFunction's `initialize()` function.
+ cdef int pwFilter(sqlite3_vtab_cursor *pBase, int idxNum,
+- const char *idxStr, int argc, sqlite3_value **argv) with gil:
++ const char *idxStr, int argc, sqlite3_value **argv) \
++ noexcept with gil:
+ cdef:
+ peewee_cursor *pCur = <peewee_cursor *>pBase
+ object table_func = <object>pCur.table_func
+@@ -572,7 +574,7 @@ cdef int pwFilter(sqlite3_vtab_cursor *pBase, int idxNum,
+ # SQLite will (in some cases, repeatedly) call the xBestIndex method to try and
+ # find the best query plan.
+ cdef int pwBestIndex(sqlite3_vtab *pBase, sqlite3_index_info *pIdxInfo) \
+- with gil:
++ noexcept with gil:
+ cdef:
+ int i
+ int col_idx
+
diff --git a/dev-python/peewee/peewee-3.16.2-r1.ebuild b/dev-python/peewee/peewee-3.16.2-r1.ebuild
new file mode 100644
index 000000000000..ec4ed7a1c49d
--- /dev/null
+++ b/dev-python/peewee/peewee-3.16.2-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Small Python ORM"
+HOMEPAGE="
+ https://github.com/coleifer/peewee/
+ https://pypi.org/project/peewee/
+"
+SRC_URI="
+ https://github.com/coleifer/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="examples +native-extensions test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ native-extensions? ( dev-db/sqlite:3= )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cython3.patch
+)
+
+distutils_enable_sphinx docs
+
+src_compile() {
+ if ! use native-extensions; then
+ local -x NO_SQLITE=1
+ fi
+
+ distutils-r1_src_compile
+}
+
+python_test() {
+ "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use examples && DOCS=( examples/ )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/peewee/peewee-3.16.2.ebuild b/dev-python/peewee/peewee-3.16.2.ebuild
index fda9861f01ff..5899a2ffb369 100644
--- a/dev-python/peewee/peewee-3.16.2.ebuild
+++ b/dev-python/peewee/peewee-3.16.2.ebuild
@@ -32,8 +32,9 @@ DEPEND="
RDEPEND="
${DEPEND}
"
+# <cython-3 for bug #911412
BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
+ <dev-python/cython-3[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs
diff --git a/dev-python/pyfuse3/Manifest b/dev-python/pyfuse3/Manifest
index 5d2d80be2907..4e660d9a92db 100644
--- a/dev-python/pyfuse3/Manifest
+++ b/dev-python/pyfuse3/Manifest
@@ -1,3 +1,4 @@
DIST pyfuse3-3.2.3.tar.gz 512352 BLAKE2B 1b5826ea42a72fd5d688b4cd7617c2fd08a7f9b69381d52343e8891c90ba51f8c5c79a2b9c7c42944cd20493ea645a00a26e7c04cebec10322f71241b8b12df3 SHA512 2f35ea5e0f05af7184fe83458b976742f4f500d09098c68b71982e4b8c089485677bf1e704536e037d6f690fce3006a4fdb71697c68999ed412cc9d73aef8b13
+EBUILD pyfuse3-3.2.3-r1.ebuild 723 BLAKE2B 9d4d0ecaf01016f562b51556dfbf7430963cedd1dceb5ee92b677d1e81f43d1a6b42e311c9cb27a4fbc085fa826f5550960dbd28eb6dc92680b7fc61385b4680 SHA512 ca6e68c7560fe8ba8a2127ee322124f64cb2a1c0d1436c92926c560e4b17e144e03905cbdca62eec29bf9d765bece9e3f8771fb5ae0d0944103a9233bda83b56
EBUILD pyfuse3-3.2.3.ebuild 718 BLAKE2B 53525b250d1c5f44c50024a7f3372abdcb3a99f975bed692781e84217ea60ec2cbe89b65d64b6fc478377822eb7fc6d10315dc57922f03eac4587edb2055ebc6 SHA512 7e69417b050d7f9108f35034157ec8fbf6aeb664ea6e9ac57a6754df948ac0b370c07e264b146461de0d73266413fe4b33100ad62924a4e18d4ecc542706c4c5
MISC metadata.xml 378 BLAKE2B 1eab581597bf836c57f06347fbe9f5abea4aabffef115536e20a7ffc598e0c124197bc6edaa79c92158f1b5339a465d584501705f1f4d26857b92b2cbd518778 SHA512 7893dc5830a0707d32e907d133cb5e2a6f86bb531c31f71926790d6ad9704c9dc85693ef91aa19a5c4ce755956400c8b5d97882ae4a9f52c2d19f64e06f3bcd9
diff --git a/dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild b/dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild
new file mode 100644
index 000000000000..ac0793e4562c
--- /dev/null
+++ b/dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python 3 bindings for libfuse 3 with asynchronous API"
+HOMEPAGE="
+ https://github.com/libfuse/pyfuse3/
+ https://pypi.org/project/pyfuse3/
+"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="
+ sys-fs/fuse:3
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/trio[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ <dev-python/cython-3[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-trio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_configure() {
+ esetup.py build_cython
+}