summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-09 17:47:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-01-09 17:47:18 +0000
commit60cf1faa1f17e8544346af43e472afd2530260b7 (patch)
tree4c15436f6d82a5bbb1dff267dd7645b2d43e75af /dev-python
parent9a89015ebb0aacc7bdf6068c988272c9b5d14ede (diff)
downloadbaldeagleos-repo-60cf1faa1f17e8544346af43e472afd2530260b7.tar.gz
baldeagleos-repo-60cf1faa1f17e8544346af43e472afd2530260b7.tar.xz
baldeagleos-repo-60cf1faa1f17e8544346af43e472afd2530260b7.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fonttools/fonttools-4.47.0.ebuild6
-rw-r--r--dev-python/guidata/Manifest3
-rw-r--r--dev-python/guidata/guidata-3.2.1.ebuild25
-rw-r--r--dev-python/guidata/guidata-3.2.2.ebuild (renamed from dev-python/guidata/guidata-3.1.0.ebuild)24
-rw-r--r--dev-python/langdetect/Manifest2
-rw-r--r--dev-python/langdetect/metadata.xml10
-rw-r--r--dev-python/pypy3/pypy3-7.3.14_p2.ebuild26
-rw-r--r--dev-python/pypy3_10/Manifest1
-rw-r--r--dev-python/pypy3_10/pypy3_10-7.3.14_p2.ebuild215
-rw-r--r--dev-python/python-socketio/Manifest3
-rw-r--r--dev-python/python-socketio/python-socketio-5.11.0.ebuild (renamed from dev-python/python-socketio/python-socketio-5.8.0.ebuild)0
-rw-r--r--dev-python/python-socketio/python-socketio-5.9.0.ebuild33
-rw-r--r--dev-python/sphinxcontrib-zopeext/Manifest1
-rw-r--r--dev-python/sphinxcontrib-zopeext/files/pyproject.patch28
-rw-r--r--dev-python/sphinxcontrib-zopeext/metadata.xml18
-rw-r--r--dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild36
-rw-r--r--dev-python/tulir-telethon/Manifest2
-rw-r--r--dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha3.ebuild (renamed from dev-python/tulir-telethon/tulir-telethon-1.33.0_alpha1.ebuild)11
18 files changed, 281 insertions, 163 deletions
diff --git a/dev-python/fonttools/fonttools-4.47.0.ebuild b/dev-python/fonttools/fonttools-4.47.0.ebuild
index 47b4a67a9456..5c72fd8c4b3b 100644
--- a/dev-python/fonttools/fonttools-4.47.0.ebuild
+++ b/dev-python/fonttools/fonttools-4.47.0.ebuild
@@ -72,7 +72,11 @@ src_test() {
}
python_test() {
- local EPYTEST_DESELECT=()
+ local EPYTEST_DESELECT=(
+ # flaky test
+ Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables
+ )
+
if [[ ${EPYTHON} == pypy3 ]] &&
has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" &&
{
diff --git a/dev-python/guidata/Manifest b/dev-python/guidata/Manifest
index 1d99473bf6f3..c3889d4239e2 100644
--- a/dev-python/guidata/Manifest
+++ b/dev-python/guidata/Manifest
@@ -1,3 +1,2 @@
DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86 SHA512 7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5
-DIST guidata-3.1.0.tar.gz 946229 BLAKE2B 50998faccdbb3db0128219d46aa950678628045d569b0eaa5d0e4216bcc94d6eb4c08b1000358b1ceae2593876c813cc1377bb01d2c2f95ccb8dd2197b1f9db9 SHA512 be6ba3a17b767d44371ca589fbf7eed425ebab9484afd62fa85fc485b84dd2f2cc043e0e7b041eb47663b748a1daf2b5321be3a5c81f9b94a1556cb8be349546
-DIST guidata-3.2.1.tar.gz 671793 BLAKE2B da557f74aedd1d2011056ff27f20ba4761e022e3dab458ce362aee0a2177e5e612c16cbe4a39577fd187956fff24a27eaa21f1f35958fba5ed18e9bdd961a7c1 SHA512 e9a0c7c7e0bcaaace378dcb056d1ce68afca49f607d6cb95ee640b739037c302c53fc034c948e6bca14562bdf262ece1d613c4fd28f9b04b27cc0bbe276ac449
+DIST guidata-3.2.2.tar.gz 672062 BLAKE2B ff8c06e1f97cc454136a3cb8857739cc223536456bb06a4ac3b3b86e2eaf894fc60a3bdc2d70ea62fdc2b85bbc9f546f614b5ad0b2c9bace584054377f5fbfb2 SHA512 a9f31e5c43bf203f9a5919dd574553ec14dcd317e06204be50bcd4f2cc7ac71a431145d33a6d3dfe076620d6cc753349b5fdb5436d89dfda18c9f7572aeec00f
diff --git a/dev-python/guidata/guidata-3.2.1.ebuild b/dev-python/guidata/guidata-3.2.1.ebuild
deleted file mode 100644
index a7131ad2be6b..000000000000
--- a/dev-python/guidata/guidata-3.2.1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Library for user interfaces for easy dataset editing and display"
-HOMEPAGE="https://pypi.python.org/pypi/guidata"
-LICENSE="BSD"
-
-SLOT="0"
-
-# No automated tests can be performed afaik
-RESTRICT="test"
-
-RDEPEND="
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/QtPy[${PYTHON_USEDEP}]
-"
-
-KEYWORDS="~amd64 ~x86"
diff --git a/dev-python/guidata/guidata-3.1.0.ebuild b/dev-python/guidata/guidata-3.2.2.ebuild
index 1823ef6c5372..2a5044103a49 100644
--- a/dev-python/guidata/guidata-3.1.0.ebuild
+++ b/dev-python/guidata/guidata-3.2.2.ebuild
@@ -12,15 +12,29 @@ DESCRIPTION="Library for user interfaces for easy dataset editing and display"
HOMEPAGE="https://pypi.python.org/pypi/guidata"
LICENSE="BSD"
-SLOT="0"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
-# No automated tests can be performed afaik
-RESTRICT="test"
+SLOT="0"
+IUSE="test"
RDEPEND="
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/QtPy[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/tomli[${PYTHON_USEDEP}]
"
-KEYWORDS="~amd64 ~x86"
+BDEPEND="
+ test? (
+ dev-python/pytest-qt[${PYTHON_USEDEP}]
+ dev-python/pytest-xvfb[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest -p xvfb
+}
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 736a1167c898..020e07f2a3dd 100644
--- a/dev-python/langdetect/metadata.xml
+++ b/dev-python/langdetect/metadata.xml
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
-
- <origin>gentoo-guru-overlay</origin>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to>
+ </upstream>
+ <origin>slonko-overlay</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pypy3/pypy3-7.3.14_p2.ebuild b/dev-python/pypy3/pypy3-7.3.14_p2.ebuild
new file mode 100644
index 000000000000..c8a1509c574f
--- /dev/null
+++ b/dev-python/pypy3/pypy3-7.3.14_p2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYVER=3.10
+DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language"
+HOMEPAGE="
+ https://www.pypy.org/
+ https://foss.heptapod.net/pypy/pypy/
+"
+S=${WORKDIR}
+
+LICENSE="MIT"
+SLOT="0/pypy310-pp73-384"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+gdbm ncurses sqlite tk"
+
+RDEPEND="
+ =dev-python/pypy3_10-${PV}*:${SLOT}[gdbm?,ncurses?,sqlite?,tk?]
+"
+
+src_install() {
+ dodir /usr/bin
+ dosym pypy${PYVER} /usr/bin/pypy3
+}
diff --git a/dev-python/pypy3_10/Manifest b/dev-python/pypy3_10/Manifest
index 3654121464c7..1d0f56357d9f 100644
--- a/dev-python/pypy3_10/Manifest
+++ b/dev-python/pypy3_10/Manifest
@@ -1,5 +1,6 @@
DIST pypy3.10-gentoo-patches-7.3.13_p3.tar.xz 9780 BLAKE2B a72cfc6723ad914f012309eac7606a37f2e6dd2c5f83c049c0d68466dae45a366536f2065c1ccdc9516339cb8949b146e410ab04b1cbbff3b9d62620a039040d SHA512 c1beb5c661dd0c0d94bebb23b82972ac9442caf777c377923c31b3f82b007396d0c3ef9874fc01cf765986cc7c6a941628f7e377a732a0706e99e3acb6fc5db6
DIST pypy3.10-gentoo-patches-7.3.14.tar.xz 4772 BLAKE2B 3866dd6a86f88bf10d5a9a639defea0dbe3cb301ccb23d015b147a220f0e32041dc46497e43ad03c1c486291bb56752d77eaa2703e164e58f4f6af3e6b1e2433 SHA512 5da998beefaabe1307a16f1d9d4239453b9017aaabefbdb34d70ce339bfb9f8b7a258cdfcba74e0241bf140b3d2aae500710309d1dddb667154be7c482e88daa
DIST pypy3.10-gentoo-patches-7.3.14_p1.tar.xz 5176 BLAKE2B 9cc684a9257a2855e44bed01d01020c0009dc966ff6fee7a789439e19814b1bfacc5fa0da166c8cb886f0dbadba365f6c6e2c520a4f5116e90ac637748e31e73 SHA512 11e468c2cab5e2234ffc68d98407bf7a676ea3b495a7e9ad7481f47fd39e2b1868b695da81b4edcee74cb8f01e997b72e994f18826331695427d80b2e43e926b
+DIST pypy3.10-gentoo-patches-7.3.14_p2.tar.xz 5660 BLAKE2B 0381c95df65d7b77e9bbe53f4a714737736bc766ccdfac826a98abb7f5477797394e52e301baf29e9ab94575b243c4c62fc04744b2a1d8df75ac722514a019ff SHA512 5dd6ff6d546b1107ff1af29b36d0ff4b2787aeb805f4dd9787731935238f614acc123addc6d0a27cb7d4858f9935be41790152d1690871b681eba19e311ea4d8
DIST pypy3.10-v7.3.13-src.tar.bz2 23067819 BLAKE2B 6e2bfd83bcf16feef006dad39ab6d8f452418ee6bc4043edaa590db702f39275e775004bdba762736a901da94cb5274cd34f2811461048d46ac0f4af04158702 SHA512 16fbc76558152b3eadca999d56197a6bf906cbb7bb75035ccd3501372af0f0c22533d22ba231a40b7c02afa11f0d692a6ae85ba6d5e1607b737b8c68209b7c43
DIST pypy3.10-v7.3.14-src.tar.bz2 23828709 BLAKE2B 15b3197953ff6271ddc9aad317f06094e1744111b7236447f029299dcc8a8ee089a8d91eec46d634489e0e89c94c0b18fda97dee51b3030ac62b0beeea7d6413 SHA512 4162d60d3869cfc87b1850266b9c7147413d3a7184a3c0c2edf1d1270ba3dff2db8047c7f2b5bbdd4c4d5136823adc078a5d45d575715984bab6633d1462f694
diff --git a/dev-python/pypy3_10/pypy3_10-7.3.14_p2.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.14_p2.ebuild
new file mode 100644
index 000000000000..a52369d1f04c
--- /dev/null
+++ b/dev-python/pypy3_10/pypy3_10-7.3.14_p2.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.10
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language"
+HOMEPAGE="
+ https://www.pypy.org/
+ https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+ https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+ https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy310-pp73-384"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+ || (
+ >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+ >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+ )
+ dev-lang/python-exec[python_targets_pypy3(-)]
+ dev-libs/openssl:0=
+ dev-python/gentoo-common
+ ensurepip? ( dev-python/ensurepip-wheels )
+ gdbm? ( sys-libs/gdbm:0= )
+ sqlite? ( dev-db/sqlite:3= )
+ tk? (
+ dev-lang/tk:0=
+ dev-tcltk/tix:0=
+ )
+ !~dev-python/pypy3-7.3.12_rc1
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_prepare() {
+ local PATCHES=(
+ "${WORKDIR}/${PATCHSET}"
+ )
+
+ # typo
+ mv lib_pypy/cffi{.,-}1.16.0.dist-info || die
+
+ default
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_compile() {
+ mkdir bin || die
+ # switch to the layout expected for cffi module builds
+ mkdir include/pypy${PYVER} || die
+ # copy over to make sys.prefix happy
+ cp -p "${BROOT}"/usr/bin/pypy${PYVER}-c-${PYPY_PV} pypy${PYVER}-c || die
+ cp -p "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/* include/pypy${PYVER}/ || die
+ # (not installed by pypy-exe)
+ rm pypy/module/cpyext/include/_numpypy/numpy/README || die
+ mv pypy/module/cpyext/include/* include/pypy${PYVER}/ || die
+ mv pypy/module/cpyext/parse/*.h include/pypy${PYVER}/ || die
+ pax-mark m pypy${PYVER}-c
+
+ # verify the subslot
+ local soabi=$(
+ ./pypy${PYVER}-c - <<-EOF
+ import importlib.util
+ import sysconfig
+ soabi = sysconfig.get_config_var("SOABI")
+ magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff
+ print(f"{soabi}-{magic}")
+ EOF
+ )
+ [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}"
+
+ # Add epython.py to the distribution
+ echo 'EPYTHON="pypy3"' > lib-python/3/epython.py || die
+
+ einfo "Generating caches and CFFI modules ..."
+
+ # Generate sysconfig data
+ local host_gnu_type=$(sh pypy/tool/release/config.guess)
+ local overrides=(
+ HOST_GNU_TYPE "${host_gnu_type:-unknown}"
+ INCLUDEPY "${EPREFIX}/usr/include/pypy${PYVER}"
+ LIBDIR "${EPREFIX}/usr/$(get_libdir)"
+ TZPATH "${EPREFIX}/usr/share/zoneinfo"
+ WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip"
+ )
+ ./pypy${PYVER}-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die
+ local outdir
+ outdir=$(<pybuilddir.txt) || die
+ cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die
+
+ # Generate Grammar and PatternGrammar pickles.
+ ./pypy${PYVER}-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed"
+ import lib2to3.pygram
+ import lib2to3.patcomp
+ lib2to3.patcomp.PatternCompiler()
+ EOF
+
+ # Generate cffi modules
+ # Please keep in sync with lib_pypy/pypy_tools/build_cffi_imports.py!
+ # (NB: we build CFFI modules first to avoid error log when importing
+ # build_cffi_imports).
+ cffi_targets=(
+ pypy_util blake2/_blake2 sha3/_sha3 ssl
+ audioop syslog pwdgrp resource lzma posixshmem
+ ctypes_test testmultiphase
+ )
+ use gdbm && cffi_targets+=( gdbm )
+ use ncurses && cffi_targets+=( curses )
+ use sqlite && cffi_targets+=( sqlite3 )
+ use tk && cffi_targets+=( tkinter/tklib )
+
+ local t
+ # all modules except tkinter output to .
+ # tkinter outputs to the correct dir ...
+ cd lib_pypy || die
+ for t in "${cffi_targets[@]}"; do
+ # tkinter doesn't work via -m
+ ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
+ done
+ # testcapi does not have a "build" script
+ ../pypy${PYVER}-c -c "import _testcapi" || die
+
+ # Verify that CFFI module list is up-to-date
+ local expected_cksum=a4138e48
+ local local_cksum=$(
+ ../pypy${PYVER}-c - <<-EOF
+ import binascii
+ import json
+ from pypy_tools.build_cffi_imports import cffi_build_scripts as x
+ print("%08x" % (binascii.crc32(json.dumps(x).encode()),))
+ EOF
+ )
+ if [[ ${local_cksum} != ${expected_cksum} ]]; then
+ die "Please verify cffi_targets and update checksum to ${local_cksum}"
+ fi
+
+ # Cleanup temporary objects
+ find \( -name "*_cffi.c" -o -name '*.o' \) -delete || die
+ find -type d -empty -delete || die
+}
+
+src_install() {
+ einfo "Installing PyPy ..."
+ dodir /usr/bin
+ dosym pypy${PYVER}-c-${PYPY_PV} /usr/bin/pypy${PYVER}
+ insinto /usr/lib/pypy${PYVER}
+ # preserve mtimes to avoid obsoleting caches
+ insopts -p
+ doins -r lib-python/3/. lib_pypy/.
+ insinto /usr/include
+ doins -r include/pypy${PYVER}
+
+ # replace copied headers with symlinks
+ for x in "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/*; do
+ dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy${PYVER}/${x##*/}"
+ done
+
+ dodoc README.rst
+
+ local dest=/usr/lib/pypy${PYVER}
+ rm -r "${ED}${dest}"/ensurepip/_bundled || die
+ if ! use ensurepip; then
+ rm -r "${ED}${dest}"/ensurepip || die
+ fi
+ if ! use gdbm; then
+ rm -r "${ED}${dest}"/_gdbm* || die
+ fi
+ if ! use sqlite; then
+ rm -r "${ED}${dest}"/sqlite3 \
+ "${ED}${dest}"/_sqlite3* \
+ "${ED}${dest}"/test/test_sqlite.py || die
+ fi
+ if ! use tk; then
+ rm -r "${ED}${dest}"/{idlelib,tkinter} \
+ "${ED}${dest}"/_tkinter \
+ "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die
+ fi
+ dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED"
+
+ local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}
+ # temporarily copy to build tree to facilitate module builds
+ cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die
+
+ einfo "Byte-compiling Python standard library..."
+ # exclude list from CPython Makefile.pre.in
+ "${PYTHON}" -m compileall -j "$(makeopts_jobs)" -o 0 -o 1 -o 2 \
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" || die
+
+ # remove to avoid collisions
+ rm "${PYTHON}" || die
+}
diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest
index 38c96ee63130..ed02dbea62a4 100644
--- a/dev-python/python-socketio/Manifest
+++ b/dev-python/python-socketio/Manifest
@@ -1,3 +1,2 @@
DIST python-socketio-5.10.0.tar.gz 114300 BLAKE2B 134fc3a03f3923afb9ff96f3765c738cf296f875718fb35ccdeade77bae185ed2c5973e1adcdf69e3fcf4b98ecbe0177161c5405ef6782798c5ce355f427ca71 SHA512 e20a88d6031d69c64db777487bfc8cfe043d4e893e73194c82f529290d0852352b5d011d07f4ce82a51e71f34cf483be99a5851eb5969d520fc8126009d7363f
-DIST python-socketio-5.8.0.tar.gz 47872 BLAKE2B 465593a89bb0504af485ec4c94a52159548ce3cace3f58c9174d694e35b40c6eb68e5a0350ee34551b6d01c47d571be63f7cc91a42ca9815c2a3a271825f3624 SHA512 653a6764e22738f0aaad3fb03ef193d820780d61fcffede117a2a2cf7097c722974bded7869639f4ac01dc9a121d90dcbeca70fcc9bbb4e96e3b87bd39e69180
-DIST python-socketio-5.9.0.tar.gz 47982 BLAKE2B 3fc120b597f92d404972807a40275a5cdb32a38e6e634034c6c4792cc94635dac1c0a911eec75aeaf961358399873c1de1ad6fcf43389ac96c6e5dc48746bced SHA512 145fbcc4a0d089f96d57aabea1b097badea1b9aaf64dc5401503908460e70400ce5c0581184ff574c97cfabce03fda89285223ec03814fa3d33557476d27ffc4
+DIST python-socketio-5.11.0.tar.gz 116482 BLAKE2B b55aec3c18d5313a82d6d430158fbe7e955295d36a363d4072c76cff71596e8b3e805e7a571fac343258a8576501f1f25fe92c5bf1aaffcc7272b4dea7cac2c2 SHA512 ed2068812cb7d2e74dcf9ff15a9c9b957ac07369f786a6db67d78286f0c49a7b860c5356040d405d50351c0ae49cf4f939f106d796a614c45743df1220a9b575
diff --git a/dev-python/python-socketio/python-socketio-5.8.0.ebuild b/dev-python/python-socketio/python-socketio-5.11.0.ebuild
index 11d8c4294ee3..11d8c4294ee3 100644
--- a/dev-python/python-socketio/python-socketio-5.8.0.ebuild
+++ b/dev-python/python-socketio/python-socketio-5.11.0.ebuild
diff --git a/dev-python/python-socketio/python-socketio-5.9.0.ebuild b/dev-python/python-socketio/python-socketio-5.9.0.ebuild
deleted file mode 100644
index 11d8c4294ee3..000000000000
--- a/dev-python/python-socketio/python-socketio-5.9.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python implementation of the Socket.IO realtime server."
-HOMEPAGE="
- https://python-socketio.readthedocs.org/
- https://github.com/miguelgrinberg/python-socketio/
- https://pypi.org/project/python-socketio"
-
-LICENSE="MIT"
-SLOT="0"
-#wait for dev-python/python-engineio
-KEYWORDS="~amd64"
-IUSE="client asyncio-client"
-
-RDEPEND="dev-python/bidict[${PYTHON_USEDEP}]
- >=dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}]
- client? ( dev-python/requests[${PYTHON_USEDEP}]
- dev-python/websocket-client[${PYTHON_USEDEP}] )
- asyncio-client? ( dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/websockets[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# pypi tarball does not contain tests
-RESTRICT="test"
diff --git a/dev-python/sphinxcontrib-zopeext/Manifest b/dev-python/sphinxcontrib-zopeext/Manifest
deleted file mode 100644
index d4ae803f7927..000000000000
--- a/dev-python/sphinxcontrib-zopeext/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sphinxcontrib_zopeext-0.4.2.tar.gz 13887 BLAKE2B ce77989ff34fa76bf1263f0764a872a840cea2cf7817ab1697a8176b1bf4444f4791430b2aab8cd72026a5e56248c9dc43d1052e0e1a891456388f86bb8551d3 SHA512 acf78a943ff6842184b347251398df3e20f045601bbba755152f891ee8a5d08e137dea5dbbc38f8a82ea5f045681dce6ac83a2329d74d378d56758031111c317
diff --git a/dev-python/sphinxcontrib-zopeext/files/pyproject.patch b/dev-python/sphinxcontrib-zopeext/files/pyproject.patch
deleted file mode 100644
index 04ef8a9047f5..000000000000
--- a/dev-python/sphinxcontrib-zopeext/files/pyproject.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/pyproject.toml b/pyproject.toml
-index b204a4d..5633f69 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -16,14 +16,6 @@ dev = [
- testpaths = [
- "tests",
- ]
--addopts = [
-- "--doctest-modules",
-- "--cov=sphinxcontrib.zopeext",
-- "--cov-report=html",
-- "--cov-fail-under=85",
-- "--no-cov-on-fail",
-- "--pdb",
--]
- doctest_optionflags = [
- "ELLIPSIS",
- "NORMALIZE_WHITESPACE",
-@@ -87,6 +79,6 @@ doc = [
-
- [build-system]
- requires = [
-- "pdm-backend",
-+ "pdm-pep517",
- ]
--build-backend = "pdm.backend"
-+build-backend = "pdm.pep517.api"
diff --git a/dev-python/sphinxcontrib-zopeext/metadata.xml b/dev-python/sphinxcontrib-zopeext/metadata.xml
deleted file mode 100644
index afa5b28a2f3b..000000000000
--- a/dev-python/sphinxcontrib-zopeext/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>julien@jroy.ca</email>
- <name>Julien Roy</name>
- </maintainer>
- <upstream>
- <maintainer>
- <email>mforbes@alum.mit.edu</email>
- <name>Michael McNeil Forbes</name>
- </maintainer>
- <changelog>https://github.com/sphinx-contrib/zopeext/blob/main/CHANGES</changelog>
- <bugs-to>https://github.com/sphinx-contrib/zopeext/issues</bugs-to>
- <doc>https://zopeext.readthedocs.io/en/latest/</doc>
- </upstream>
- <origin>gentoo-guru-overlay</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild b/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild
deleted file mode 100644
index dd1b85ddd23d..000000000000
--- a/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=pdm
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Sphinx extension for using Zope interfaces"
-HOMEPAGE="https://github.com/sphinx-contrib/zopeext"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-python/importlib-metadata[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/pytest-cov[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/pyproject.patch"
-)
-
-distutils_enable_tests pytest
-
-# Tests requires sphinx-testing which has been removed from ::gentoo
-RESTRICT="test"
diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest
index 71111b0e4674..893459c3f4e9 100644
--- a/dev-python/tulir-telethon/Manifest
+++ b/dev-python/tulir-telethon/Manifest
@@ -1,2 +1,2 @@
-DIST tulir-telethon-1.33.0_alpha1.gh.tar.gz 496284 BLAKE2B 6bba90dd4be4b6aeb2f1a4bd9bd4dc59740504cf2ef75606a5df861df00292d9f935c29a397c98bc6c83cfad80c5413700ca5cc131896a5710748848e01a7b78 SHA512 b8eb5ff95f2450ab7d29af6d9ccea63f562b14d984aedc946b82f80a4d68338133767a81432da10a6b6d9aa9c26ac431ad33d73a5a5a9b733702d37747b49a10
DIST tulir-telethon-1.34.0a2.tar.gz 575337 BLAKE2B e76172e38ab22383a584e18ac376cf1aaf5f9ae54428ed09e9cd99f7707b45aa11f5f2da5e601baa998d75e2df6fc036fb03516cf911d80241c3d82f83c439e4 SHA512 bc20db27b4d32675e38386a95b610be21ba83dead18a27907ff0673afc5f2d93002a4e79e62d7ac1f8d18d784c3e0904c760ea9b7fc93f88417c04197d5d7ab6
+DIST tulir-telethon-1.34.0a3.tar.gz 577740 BLAKE2B 2759d72ff83ee27e7f22b756099d9fd312026e6c28417a3a9243f8be941ff01997a2794324ecee8d71864c240ea7adc9770c04b12b0302c4d3b5a34ec26e3dd5 SHA512 f197a8b6192266da628750776863fda125d29530ce7bdfda1f65845ba8b6bcb95fa32cfb810e4b72b6c1825b20f9e2d794b3b5d2226a91589c4f03493ee3d490
diff --git a/dev-python/tulir-telethon/tulir-telethon-1.33.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha3.ebuild
index 5eef2e2bc26d..be0834ddc3f1 100644
--- a/dev-python/tulir-telethon/tulir-telethon-1.33.0_alpha1.ebuild
+++ b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha3.ebuild
@@ -3,16 +3,15 @@
EAPI=8
+PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-inherit distutils-r1
+inherit distutils-r1 pypi
MY_PV="${PV/_alph/}"
DESCRIPTION="Pure Python 3 MTProto API Telegram client library, for bots too!"
HOMEPAGE="https://github.com/tulir/Telethon/"
-SRC_URI="https://github.com/tulir/Telethon/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}/Telethon-${MY_PV}"
LICENSE="MIT"
SLOT="0"
@@ -33,9 +32,3 @@ RDEPEND="
)
"
DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- tests/readthedocs/quick_references/test_client_reference.py::test_all_methods_present
-)