From 7c84443456e12d80998a8b77484a7054b0bfa17c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 30 Jul 2023 18:14:27 +0000 Subject: Adding metadata --- dev-python/cli_helpers/cli_helpers-2.3.0.ebuild | 2 +- dev-python/flake8/Manifest | 3 +- dev-python/flake8/flake8-5.0.4.ebuild | 39 -------- dev-python/flake8/flake8-6.0.0.ebuild | 41 +++++---- dev-python/flake8/metadata.xml | 6 +- dev-python/graph-tool/Manifest | 2 +- dev-python/graph-tool/graph-tool-2.56.ebuild | 84 ----------------- dev-python/graph-tool/graph-tool-2.57.ebuild | 84 +++++++++++++++++ dev-python/langdetect/Manifest | 2 + dev-python/langdetect/metadata.xml | 10 +- .../peewee/files/peewee-3.16.2-cython3.patch | 102 +++++++++++++++++++++ dev-python/peewee/peewee-3.16.2-r1.ebuild | 60 ++++++++++++ dev-python/peewee/peewee-3.16.2.ebuild | 3 +- .../pybind11/files/pybind11-2.10.4_macOS-GCC.patch | 3 +- dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild | 40 ++++++++ dev-python/sqlglot/sqlglot-17.8.6.ebuild | 2 +- 16 files changed, 327 insertions(+), 156 deletions(-) delete mode 100644 dev-python/flake8/flake8-5.0.4.ebuild delete mode 100644 dev-python/graph-tool/graph-tool-2.56.ebuild create mode 100644 dev-python/graph-tool/graph-tool-2.57.ebuild create mode 100644 dev-python/peewee/files/peewee-3.16.2-cython3.patch create mode 100644 dev-python/peewee/peewee-3.16.2-r1.ebuild create mode 100644 dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild (limited to 'dev-python') diff --git a/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild b/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild index 73cce23e6e70..9160aa115421 100644 --- a/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild +++ b/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 6907d9b88a58..468a0ce739e2 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,2 +1 @@ -DIST flake8-5.0.4.tar.gz 145862 BLAKE2B 9cf163879bb06638898fe734ea3414373d0bc940e35cdade5d4440ae0da634066c4191c21897852706f29a15f1f8e85766a182c681a78955b531f020086bc4c3 SHA512 522ae2e15d963740712eba03ac1a844d5da23fd55dfef81423d7c0447f638b4d3e0e5683b5d7153fae14f6776a4e1e480b2f4d476403dd96064e6daa3e222731 -DIST flake8-6.0.0.tar.gz 138524 BLAKE2B b96a8798b8dbdb51aa853e4a49108cf82609c5a90601d433b3bb8a2006b23247b4261f6adf01cf2df5692d1a67612b53bf795c450a35e4f87b9a58b1a7cb7cb0 SHA512 d326659a4dc73e72b07611c3ddbd2c8526b65372ef17a273eadf7f56dd3eedada39d2edd187e207175d688ec155b5b8b6ca8c76ad2a768667350ad516cff1725 +DIST flake8-6.0.0.gh.tar.gz 139138 BLAKE2B 87590594a95f48a9e532ca545d4ae17a098cba81a7708066d63180b27e1cd0e0b648a2362d16b3818ef1b91cbe9ecf51810d45136fb42f188fc09083e9b31921 SHA512 27de4632332ee72bb5deedfcb7ea59e31a3e7fbfd6c165adf019b06cccaba51b776f4310219d8b27cf4894ed2597330fe9c0e381187353d4dc239f102eedd26a diff --git a/dev-python/flake8/flake8-5.0.4.ebuild b/dev-python/flake8/flake8-5.0.4.ebuild deleted file mode 100644 index 406c708c35b2..000000000000 --- a/dev-python/flake8/flake8-5.0.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] -" -PDEPEND=" - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - -" -BDEPEND="${RDEPEND} - test? ( - ${PDEPEND} - ) -" - -distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -src_prepare() { - # remove version-limited dep - sed -i -e '/importlib-metadata/d' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/flake8/flake8-6.0.0.ebuild b/dev-python/flake8/flake8-6.0.0.ebuild index ab99b6db5cfa..1ff488747df9 100644 --- a/dev-python/flake8/flake8-6.0.0.ebuild +++ b/dev-python/flake8/flake8-6.0.0.ebuild @@ -1,39 +1,48 @@ -# Copyright 2022 Liguros Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + inherit distutils-r1 DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE=" + https://github.com/PyCQA/flake8/ + https://pypi.org/project/flake8/ +" +SRC_URI=" + https://github.com/PyCQA/flake8/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -# requires.txt inc. mccabe however that creates a circular dep RDEPEND=" - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] + =dev-python/pyflakes-3.0.0[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.10.0[${PYTHON_USEDEP}] " PDEPEND=" >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - + - - dev@liguros.net - Development - python@gentoo.org Python - ports + gentoo-staging \ No newline at end of file diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index fd4b3cd342cb..7d305330310f 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1 +1 @@ -DIST graph-tool-2.56.tar.bz2 15194737 BLAKE2B d28c2056eeeedf37480c042f9b5bfc2fe1f7df35c8f7c69b7431afde9b22fa4b5a79f6e8c8a8d8e9cf48f6607d34472d57c757c32e2c6b8a6c5f7ced79349579 SHA512 4db3711a87067e98095cb2cf49a5a7edb45723ecd238de8b4ff4ca13c34133c5552a29f6b5100e5b8b10a15ec1cac4d0e31578374ed73261d1e18b90980eef1c +DIST graph-tool-2.57.tar.bz2 15192391 BLAKE2B bc124371dc4e60d95fb5ab7df8b79b785efe1684c3305bc1d15f17b120dbdda15c63e5996c8497ceaa89f77cfc38dcf90cb6c806d5bb3853a755be301a085f9a SHA512 48d0cf269abaa3124f69e3d67cad6e68db17953806a474905b450e0a203a95903ac17aaba4d7edfe6934e518fc9a6b1a894a6e99f72ea6fbffe5ad80b4efd77d diff --git a/dev-python/graph-tool/graph-tool-2.56.ebuild b/dev-python/graph-tool/graph-tool-2.56.ebuild deleted file mode 100644 index 8da407771469..000000000000 --- a/dev-python/graph-tool/graph-tool-2.56.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit check-reqs python-r1 toolchain-funcs - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" - inherit autotools git-r3 -else - SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" - KEYWORDS="~amd64" -fi - -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs" -HOMEPAGE="https://graph-tool.skewed.de/" - -LICENSE="GPL-3" -SLOT="0" -IUSE="+cairo openmp" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/boost:=[context,python,${PYTHON_USEDEP}] - dev-libs/expat - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - sci-mathematics/cgal:= - dev-python/matplotlib[${PYTHON_USEDEP}] - cairo? ( - dev-cpp/cairomm:0 - dev-python/pycairo[${PYTHON_USEDEP}] - x11-libs/cairo[X] - )" -DEPEND="${RDEPEND} - dev-cpp/sparsehash" -BDEPEND="virtual/pkgconfig" - -# bug 453544 -CHECKREQS_DISK_BUILD="6G" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - check-reqs_pkg_pretend -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - [[ ${PV} == *9999 ]] && eautoreconf - python_copy_sources -} - -src_configure() { - my_configure() { - econf \ - --disable-static \ - $(use_enable openmp) \ - $(use_enable cairo) \ - --with-boost-python="boost_${EPYTHON/./}" - } - python_foreach_impl run_in_build_dir my_configure -} - -src_compile() { - python_foreach_impl run_in_build_dir emake -} - -src_install() { - my_python_install() { - default - python_optimize - } - python_foreach_impl run_in_build_dir my_python_install - - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-python/graph-tool/graph-tool-2.57.ebuild b/dev-python/graph-tool/graph-tool-2.57.ebuild new file mode 100644 index 000000000000..8da407771469 --- /dev/null +++ b/dev-python/graph-tool/graph-tool-2.57.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit check-reqs python-r1 toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" + inherit autotools git-r3 +else + SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs" +HOMEPAGE="https://graph-tool.skewed.de/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+cairo openmp" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/boost:=[context,python,${PYTHON_USEDEP}] + dev-libs/expat + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + sci-mathematics/cgal:= + dev-python/matplotlib[${PYTHON_USEDEP}] + cairo? ( + dev-cpp/cairomm:0 + dev-python/pycairo[${PYTHON_USEDEP}] + x11-libs/cairo[X] + )" +DEPEND="${RDEPEND} + dev-cpp/sparsehash" +BDEPEND="virtual/pkgconfig" + +# bug 453544 +CHECKREQS_DISK_BUILD="6G" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + check-reqs_pkg_pretend +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf + python_copy_sources +} + +src_configure() { + my_configure() { + econf \ + --disable-static \ + $(use_enable openmp) \ + $(use_enable cairo) \ + --with-boost-python="boost_${EPYTHON/./}" + } + python_foreach_impl run_in_build_dir my_configure +} + +src_compile() { + python_foreach_impl run_in_build_dir emake +} + +src_install() { + my_python_install() { + default + python_optimize + } + python_foreach_impl run_in_build_dir my_python_install + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index ddb5b0f1787e..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ - cyber+gentoo@sysrq.in - Anna + marcin.deranek@slonko.net + Marcin Deranek - - gentoo-guru-overlay + + https://github.com/Mimino666/langdetect/issues + + slonko-overlay \ No newline at end of file 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 +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 = 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 = pBase + object table_func_cls = (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 = pBase + peewee_cursor *pCur = 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 = pBase + object table_func = 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 = pBase + object table_func = 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 = 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 = pBase + pRowid[0] = 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 = 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 = pBase + object table_func = 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..ace03e957e67 --- /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_{7,8,9,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 cc31b5fcb56b..62ab379b8c13 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} " +# 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..6330eb5666f7 --- /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_{7,8,9,10,11} ) + +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=" +