summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-08 12:03:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-08 12:03:01 +0100
commit522fa4e6f267ba688a264ceec8d6c79663b61219 (patch)
tree67895f3a8243148309fbd841dabba28c37f4ed4a /dev-python
parent32c16465e56b0122cf6e5a4625e9c7b56b107b07 (diff)
gentoo auto-resync : 08:10:2023 - 12:03:01
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin267260 -> 267259 bytes
-rw-r--r--dev-python/lxml/Manifest2
-rw-r--r--dev-python/lxml/lxml-4.9.3-r2.ebuild114
-rw-r--r--dev-python/python-efl/Manifest4
-rw-r--r--dev-python/python-efl/metadata.xml1
-rw-r--r--dev-python/python-efl/python-efl-1.26.1.ebuild80
6 files changed, 200 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index 8c437c83ed0f..3800a692e116 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest
index 89cfa7a702e8..9fa8009f8460 100644
--- a/dev-python/lxml/Manifest
+++ b/dev-python/lxml/Manifest
@@ -4,10 +4,12 @@ AUX lxml-4.9.2-py3.12-drop-deprecated-imp.patch 1985 BLAKE2B af705cb2092d6468ae5
AUX lxml-4.9.3-tests-py3.11-cython3.patch 503 BLAKE2B d416775f8841e70128341f076500733a824040fb41a4a7dd4f3b439d68fc4e7f0c945b3b7ce0ec31b1b7e7fec3c1c02635706382625ab97902628274d8b04e30 SHA512 9a4cf221abc0df903691a8e3f1e1d706aadda618ea79bf2e4536684e2c97136bc3d9f59220f0c90fed6dedc02f2fdaf4ef70abf7aeaf86f63824458a50d4595d
AUX lxml-4.9.3-tests-pypy.patch 16751 BLAKE2B d9df5e5a64e89999d58d6f3c927fa1a74bc2311abb75a458c94302dac7f4717976aede69eb62e8dad109740a69f18aa03fbae693343f78634c3bc61764c3b81b SHA512 24e92f38d278c369c94be062523d8360cec9ee1de636939dca9c2a966a007bf544e96001d59057299eb7df797b54822e79060735bd8fde4843da559fa75e7d20
DIST lxml-4.9.2.gh.tar.gz 957365 BLAKE2B 201b3977da90386e413f1b89a4b7ee1e44d6bbea05e622e92feb1d67c637ce46ebf746f0648f034ed3bccd609233ccf7d8a7ee456f13b8d9ca8587ddf1ebd32a SHA512 816b2fe2eef2a97a0df66cbc39850c6dc3d6470e4033cc73edb40c80c0afbbe6c084d042d7c98b29497926e76f648caa42e1ebe5d83060af08af6972316077b0
+DIST lxml-4.9.3-patches-2.tar.xz 24288 BLAKE2B 47b7c486a1c1616c875111bd53b14d4211a1eee3f412985f4022e71b85b087abd71d36919fb025257f17de404329284898ddc639f85e8b15ade21778fa218d98 SHA512 713172b4c907db6479a0a803a842824825b212a9b645c1ca356f793658bd6c63113ea248278e7c46b512e22e3130696e9fc5127fea82a67372d920733fc160b0
DIST lxml-4.9.3-patches.tar.xz 10544 BLAKE2B 407938d2f701400e919110c3bfe84e94621f39f8178850c466d41549ee0eff4f23e93cdd8ea684713e8276acfaa05d6f7b7af4d375c859b9fc5b2981d60983a3 SHA512 c2d5d2ffb035aed6d846de84885b87142b2be7a09ffe6927e7c032acab343730acfcbefd75e8141cf3b41b308c532869a7878b515f3d4eeefa7526a3d2599398
DIST lxml-4.9.3.gh.tar.gz 958628 BLAKE2B ffdf3fe781a03815f7c026229d313721c93375ebafad9b4a20c5d8a380a631401e546d8701a94d8c49615fb6a71e84940d8ca0299b47a37c1c9596db36659113 SHA512 903bd4935c7708b459aee9befcf3f6e3e3aaa9adc122591ea923b6e3d8fd288f07cab3f5f0edb08e3bf9db80414324f0a1a8e5a5089f9cda82f6c50f5df59423
EBUILD lxml-4.9.2-r1.ebuild 2985 BLAKE2B 40d3a42a83788c4fbf9078b3ee0a7112079209798a58963f1c5e98aafdef9d5eb1e88172e63aa3dac47c26696df4236e39b6437b47ef64f3e05e7cee5661bec0 SHA512 625ab7a3f74c8164a33b9cef6a8ff596116c4258a129b951d5e4bc7e2a620b086e8bcb89c095f78279c2ff34a63bb92f5ed16876e66afde6069fdf4645176a27
EBUILD lxml-4.9.2.ebuild 2924 BLAKE2B 9ce8ec0fd2fc1f58b0175d44d4e955bf26a2dd16b0282f7e7b5912f82ba57fa09d3e8c2befef52a9594504e32249cab9299441b76f04c6b87c47b412c755139f SHA512 db8b7cf3e8968ec2108b4dba41c1a0b5f72e5493d2e1b17434264d1b9d14a0361faac3440cb515e06178319b43fcbce76b939227786d161d70d6de1ade8e032a
EBUILD lxml-4.9.3-r1.ebuild 3015 BLAKE2B 987d060e0a0f868ed244f1345a44d0dfb15c7d9f0938033e42fca7160f2d2732ea20f67d36d9023de2427f0574dfc866a6bd88dd547ff9a70f7a85688b6181db SHA512 436658c5e5dc740ac336a6a036fe3478de6f7bc114720d8ce47524ed273d3d0a42a1dc32d8d99f0d9eba834ce88c23d4f840b3cd411497bf5c021d628f428564
+EBUILD lxml-4.9.3-r2.ebuild 2927 BLAKE2B 8274b06d6df63fb1ffff64b3704ce5414f75eb10ea47ed975f0f77a3438bbdcbec7d2f6d2b202c35fed0f3e78844a1879f75515df61a407a6b461d2b4ab68421 SHA512 5aed3486690b9c96155cb9ffac4d881e15b1903f32419760fd78d42e973f22ee3c57ab31fb682661d8e31a46ed88a06b33f04494b44f92f8dbcb51c072a7ea88
EBUILD lxml-4.9.3.ebuild 2889 BLAKE2B 7a8cac3817bf204982036fd30ad9638e5116a8d18462109e83478307ef73e92e15185f2e783c42bc7061884d7a39685179e6e4bc627e66ae38891b50f0d48def SHA512 a3061a3500de61096069916a72ef11a0db65e425295655623a26d7a403065011918c3c6e3ea25179f1e1121a371a83a3b547a663f4ab20b51dc4bbe8dbf56f32
MISC metadata.xml 463 BLAKE2B 9bcd092b61568f5d467230617b101f36245c41078e6a66c7ff63b22a6b4095de2ba3a59e48ce8b7842ce58d1255fa293995652daa3fab4c3af988498eaa30e97 SHA512 2ba5e340b59e0de4e472380e9c19b1f6f573e86e5c3c2e075f6151d369e94eea70e3ce36bfb5ece4da3fa69459e3ff83368f1df8302aa5754ae52f13c8f2312e
diff --git a/dev-python/lxml/lxml-4.9.3-r2.ebuild b/dev-python/lxml/lxml-4.9.3-r2.ebuild
new file mode 100644
index 000000000000..4518e920d4ab
--- /dev/null
+++ b/dev-python/lxml/lxml-4.9.3-r2.ebuild
@@ -0,0 +1,114 @@
+# 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..12} pypy3 )
+
+inherit distutils-r1 optfeature toolchain-funcs
+
+DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
+HOMEPAGE="
+ https://lxml.de/
+ https://pypi.org/project/lxml/
+ https://github.com/lxml/lxml/
+"
+SRC_URI="
+ https://github.com/lxml/lxml/archive/${P}.tar.gz
+ -> ${P}.gh.tar.gz
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-4.9.3-patches-2.tar.xz
+"
+S=${WORKDIR}/lxml-${P}
+
+LICENSE="BSD ElementTree GPL-2 PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc examples +threads test"
+RESTRICT="!test? ( test )"
+
+# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
+DEPEND="
+ >=dev-libs/libxml2-2.10.3
+ >=dev-libs/libxslt-1.1.38
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ doc? (
+ $(python_gen_any_dep '
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+ ')
+ )
+ test? (
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${WORKDIR}"/${PN}-4.9.3-patches-2
+)
+
+python_check_deps() {
+ use doc || return 0
+ python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
+}
+
+python_prepare_all() {
+ # avoid replacing PYTHONPATH in tests.
+ sed -i -e '/sys\.path/d' test.py || die
+
+ # don't use some random SDK on Darwin
+ sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \
+ setupinfo.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ tc-export PKG_CONFIG
+ distutils-r1_python_compile
+}
+
+python_compile_all() {
+ use doc && emake html
+}
+
+python_test() {
+ local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml
+ local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
+
+ cp -al "${BUILD_DIR}"/{install,test} || die
+ cp -al src/lxml/tests "${dir}/" || die
+ cp -al src/lxml/html/tests "${dir}/html/" || die
+ ln -rs "${S}"/doc "${dir}"/../../ || die
+
+ "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
+}
+
+python_install_all() {
+ if use doc; then
+ local DOCS=( README.rst *.txt doc/*.txt )
+ local HTML_DOCS=( doc/html/. )
+ fi
+ if use examples; then
+ dodoc -r samples
+ fi
+
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4
+ optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
+}
diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest
index a54c9dda71a3..8decf503feb3 100644
--- a/dev-python/python-efl/Manifest
+++ b/dev-python/python-efl/Manifest
@@ -1,4 +1,6 @@
AUX python-efl-1.25-clang-crosscompile.patch 579 BLAKE2B d308bf06950094a00fbbad24f4813b6dd511122071328f01ab2bd774ba1cd79cca7cddffc8dad4d65c8cc83430f99d59a55dfc2a5d4805a54f62ae0ece880a3f SHA512 3da1b63c7d40dc8027db5bcd6ab165789790e4db8c3ad876d55eda9363557cff8a46858a2ca8c23d1bb8e1e43bb7b057ff596aebe7adb2c40f3bb18b37e71225
DIST python-efl-1.26.0.tar.xz 9547648 BLAKE2B b6fd9e86695569291b416140c92316aeb4e3bd42d12fc3fd656b86fe7fae364720c8457c53828dc00838a68620fa604426d86c5d4bce02e94eaa82a4fed120ee SHA512 fe552a65d7d4d3e3664310e6bb7189c883c64361a64a2def04e8d14df3e5a03211e2992333f1c05288b96f1d99f20ad4ac848baea91d43db280dad81315e2473
+DIST python-efl-1.26.1.tar.xz 9554132 BLAKE2B d08c9c695c3667e0d3b1b45b1c7026f1af6ca1c100235c1a412dfa354e549c45db75442693c1d7a3f68b6c63a47cf6d120fd3071856a6e7c7da51f0ccdb309b0 SHA512 42b7586885d47fc67bf3692e65325e58cb0566fb772b415255b2f63b05adfdcdc44762f532bc951781ece118833486b33dc5a3f0aa10e0a14d5226ca4dc30f9e
EBUILD python-efl-1.26.0.ebuild 1926 BLAKE2B dc7e584b0518dcc6ff66b23c57a0f8b9e0b32206932d41cf4ab6128cb46e8a65b30799dbf6d48baa545e6661e31a9429a8009a3f12319aafc4c57ebbdae42593 SHA512 dd9dd79b6eccf85a16387cd048fccfbb85f02b582f21238d48101edb48f6461bf8a1bc7bf90f003dfd987d39b5b7e2223b40db04423c428c28e76d9f2fc336b4
-MISC metadata.xml 644 BLAKE2B 4e3a5aeefe0fbf3202b78ac6352684f7f39e4d7759354fb2083977508b5e6a96723e8bd9883f3b34369f0bf727074069d8486e8b55d7b6aa35f6b0e69860a46a SHA512 cc205894b237747d702273567fcf32ebb418d7917d14a7c8e0af4ea8d569fc0ad9973a5de1179444bf2ff4680be7e537893b988ece0cfad9cf2157de1237886f
+EBUILD python-efl-1.26.1.ebuild 2041 BLAKE2B f75d5471ad2c2610f59accbcc01c23cc38eaae8d940b7553fccb936e5238f18c4281461cea70462e4ee442319df9d721991fd6cb0ed99ba58ff47310df648a76 SHA512 bd68ad3ab3822f692f2874b07f0fbb57ab406f4e2092c9bd471b95da17af4bd80915903bfa987c2faedc6a2c4e585c9e9adeb161ac9663e637f6f4f8a4e7b5c1
+MISC metadata.xml 702 BLAKE2B 576ad2ee49ac6c671f77b8d5b3eb889fdedccba21a5a248e4be3c9b56130422092407da0d170e16009c34881124f287fba23db863b5c6fcc0d8d2713d1a64b85 SHA512 0ac844b8773881f7993fb550b8b7fe7d3ea815673a68a66e14dd194a576f0c28074cfd54dffc106d744c0aa19141361fe33e376c41ae0e5bf55d2de10013526b
diff --git a/dev-python/python-efl/metadata.xml b/dev-python/python-efl/metadata.xml
index 18081592f958..c88f176c6144 100644
--- a/dev-python/python-efl/metadata.xml
+++ b/dev-python/python-efl/metadata.xml
@@ -15,5 +15,6 @@
</longdescription>
<upstream>
<remote-id type="pypi">python-efl</remote-id>
+ <remote-id type="github">DaveMDS/python-efl</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/python-efl/python-efl-1.26.1.ebuild b/dev-python/python-efl/python-efl-1.26.1.ebuild
new file mode 100644
index 000000000000..8e4eaeabe130
--- /dev/null
+++ b/dev-python/python-efl/python-efl-1.26.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Python bindings for Enlightenment Foundation Libraries"
+HOMEPAGE="https://github.com/DaveMDS/python-efl https://docs.enlightenment.org/python-efl/current/"
+SRC_URI="https://download.enlightenment.org/rel/bindings/python/${P}.tar.xz"
+
+LICENSE="|| ( GPL-3 LGPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="doc test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="=dev-libs/efl-$(ver_cut 1-2)*
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ sys-apps/dbus"
+DEPEND="${RDEPEND}"
+BDEPEND="<dev-python/cython-3.0[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ media-gfx/graphviz
+ )"
+
+PATCHES=( "${FILESDIR}/python-efl-1.25-clang-crosscompile.patch" )
+
+src_prepare() {
+ default
+
+ # Generate our own C files, discard the bundled ones.
+ export ENABLE_CYTHON=1
+
+ # Tries to download a file under /tmp
+ rm tests/ecore/test_09_file_download.py || die
+
+ # Tries to use that file which failed to download
+ rm tests/ecore/test_10_file_monitor.py || die
+
+ # Needs an active internet connection
+ rm tests/ecore/test_11_con.py || die
+
+ # Test fails because of deleted files above
+ sed -i 's/>= 13/>= 10/g' tests/ecore/test_08_exe.py || die
+
+ # Make tests verbose
+ sed -i 's:verbosity=1:verbosity=3:' tests/00_run_all_tests.py || die
+
+ # Disable any optimization on x86, #704260
+ if use x86; then
+ filter-flags -O?
+ append-cflags -O0
+ fi
+}
+
+python_compile_all() {
+ if use doc ; then
+ ${EPYTHON} -m sphinx.cmd.build doc "${S}"/build/doc/ || die "Building docs failed with ${EPYTHON}."
+ fi
+
+ ${EPYTHON} setup.py build || die "src_compile failed with ${EPYTHON}"
+}
+
+python_test() {
+ cd tests/ || die
+ ${EPYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( ./build/doc/. )
+ distutils-r1_python_install_all
+}