Merge pull request #2603 from rick-gnous/python-fixes

dev/python various fixes
This commit is contained in:
Anton Bolshakov 2025-11-21 10:32:33 +08:00 committed by GitHub
commit c9f7f1e9e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 211 additions and 114 deletions

View file

@ -1,3 +1,3 @@
DIST google-play-scraper-0.0.2.3.tar.gz 46356 BLAKE2B 8d5d3f34ffe2d55d594015bfb48724f0c85a709ae242f6cdaf304672d6f1dfb62c020651df289d620d84b356d2a60177622a5d1f50eab632b86cf8a6dbe8be16 SHA512 d24cb017b21eb874ce9107a82efcb5e29061ad148cffe81ccaccd84054849f345425e35b34fdb96b7d5f86bde3477caac365d156843d94ca41f4acbb0e7d485d
DIST google-play-scraper-0.1.2.tar.gz 49413 BLAKE2B 7492822772a38b260b1a1db3b6fdb93648875171ccc1e42bc747e30d2e4455269b9a661eba3fabc9d1cc120e3af927b927ff8275c943c952c46700a6e4ad914b SHA512 647e5396ed38daa0ef82ee05c88f3e9bd0458d29a974b8862da621800749780441b01e70982c1949c24fbbe80735b302c6b5b23a8a86075414f1e9def7d36921
DIST google-play-scraper-0.2.1.tar.gz 49402 BLAKE2B 29e839fa8aecc9a6415ad5357f850fac937703bad6d4dd278eeebba4bb04e738a07139d55fc23233e75b8a721332ab903ba3502a9dab5fea9ffd3fdb2092d7d5 SHA512 b7dbbcbe1d69bcd03b59640e2e76c1b8229c3b639ada9260b23ab9bcde2db55d38afdfd75744937fb05c46b6366d1ae1151d20e11d9d6c5ac67bf9b9306c2ca5
DIST google_play_scraper-1.2.7.tar.gz 41734 BLAKE2B f0586ab728aec8f91aaf0636afac10f663c693509d98a6cf45371e74d3924e7b790803407b6f6bba77d495242a4ad8c47f35e374166b5f2aa88e2fd91dcf3852 SHA512 9195177bf55ea2c929ed74a298b350338582c57d7d780812316cbf0db35a58a444b5afab7d65f0b501357c27a1d7ccf9db8992d533936b6ad20a8a25bfeb5fcb

View file

@ -1,22 +1,20 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="APIs to easily crawl the Google Play Store for Python"
HOMEPAGE="https://github.com/JoMingyu/google-play-scraper"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# need network
RESTRICT="test"

View file

@ -1,22 +1,20 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="APIs to easily crawl the Google Play Store for Python"
HOMEPAGE="https://github.com/JoMingyu/google-play-scraper"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# need network
RESTRICT="test"

View file

@ -1,22 +1,16 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="APIs to easily crawl the Google Play Store for Python"
HOMEPAGE="https://github.com/JoMingyu/google-play-scraper"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
KEYWORDS="amd64 arm64 x86"

View file

@ -5,4 +5,8 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">JoMingyu/google-play-scraper</remote-id>
<remote-id type="pypi">google-play-scraper</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1 @@
DIST hupper-1.9.1.tar.gz 41077 BLAKE2B a3ea718e04267115538c9a773749398efa78ae5f7d4a3da4c517ff1c657bf99ef6db2e441a57a3e54fd58dcd8ab2d1517c45fd79b4bf0af0202fd0d10353eabc SHA512 014434efa8860fd41891a3eddc1121414b933eeb387a0e66b0b14cfdf9ab74892f20a2171cc44a3505960b95b9392ab357da77df5eb1b19ac57b466361a0f69d
DIST hupper-1.12.1.tar.gz 43231 BLAKE2B 29c4a5445ef5ff56e4d51d56d86d6725f208d473667fbd6128ba3e1f15aceb7b1c7b8bb06f7a45fd08a34d6abf4b08249050d04ca63e782b29c45b7e957d97e4 SHA512 a5860ed738a6be82a30c19b6e3756f1f914392ecf34417eeb55eb8444c6dce738e59b4e7aa00b124fa3dc255306d84f99ade446db77f7f280f7c1c53f9aded7a

View file

@ -0,0 +1,27 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Integrated process monitor for developing and reloading daemons"
HOMEPAGE="https://github.com/Pylons/hupper/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# ignore tests that need interaction
EPYTEST_IGNORE=(
tests/test_it.py
)
distutils_enable_tests pytest
# no doc, the package is using the theme of the organization that has not
# packages in Gentoo or Pentoo (https://github.com/Pylons/pylons_sphinx_theme)
# distutils_enable_sphinx docs

View file

@ -1,22 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Integrated process monitor for developing and reloading daemons"
HOMEPAGE="https://github.com/Pylons/hupper/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

View file

@ -5,4 +5,8 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">Pylons/hupper</remote-id>
<remote-id type="pypi">hupper</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1 @@
DIST parsel-1.5.1.tar.gz 40613 BLAKE2B 75eedf16da71818f6d4ba9a71593e99225d50b979b0c7fe76cf3cd83ad234896c2cea4487634ec6d6bfd2ee077a5d144bb9c65e0246ff1f43700885aba19b48b SHA512 0e7ffcaecf2f3867ce899ed8ae4093c20f6da3e32f4e5cff90f13352421d4ca37f3375c018e7d45747c508138cfbcdaa86528706e8c36892ac6c0ccccb59f7c5
DIST parsel-1.10.0.tar.gz 51421 BLAKE2B e7e37470b363fffc9a766d71f2d5a1ef9d1b7377461e9f4f9e3e83b30cfe3c8ac42e75645a19b613447f0373a94fc9879bba18e37038231564be6ea37d49a940 SHA512 aa0c3de6f8e8453ac942fd86221b6ed44c15874735af49fcef56bbd3c6aa9676b9642ea896924ac551cd4acabe2ea5d6124dc907b11ac26781da05e236f33109

View file

@ -5,4 +5,8 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">scrapy/parsel</remote-id>
<remote-id type="pypi">parsel</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Extract data from HTML and XML using XPath and CSS selectors"
HOMEPAGE="https://github.com/scrapy/parsel"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cssselect-1.2.0[${PYTHON_USEDEP}]
>=dev-python/w3lib-1.19.0[${PYTHON_USEDEP}]
dev-python/jmespath[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/sybil[${PYTHON_USEDEP}]
)
"
# this test fails but it's due a problem with the assertion. the result should
# be passed and not failed
EPYTEST_DESELECT=(
'tests/test_xpathfuncs.py::XPathFuncsTestCase::test_set_xpathfunc'
)
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-autodoc-typehints \
dev-python/sphinx-notfound-page \
dev-python/sphinx-rtd-theme

View file

@ -1,28 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Extract data from HTML and XML using XPath and CSS selectors"
HOMEPAGE="https://github.com/scrapy/parsel"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND=">=dev-python/w3lib-1.19.0[${PYTHON_USEDEP}]
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_prepare() {
# don't require pytest-runner
sed -i "/setup_require/d" setup.py || die
eapply_user
}

View file

@ -1,2 +1,3 @@
DIST pyee-13.0.0.tar.gz 31250 BLAKE2B 29e553072bfc06bad02b466dba7900bc396ec2cee671e44d3437ed0a292780019e3eff760c060f6afadc8841f201e1d0e3cadf678852ae96e11de40f228e15e1 SHA512 d4e10fca309d770ed46fdbda4c33ca1c49f089b1e9914a761ea18aff7b818e28e8a5212980ae1a7853c98ecaa5e5d3bfef4db8bc7afd5f8699d2a798a7647513
DIST pyee-8.1.0.tar.gz 16397 BLAKE2B 5e8553cd1e7fde1dec101e101611faa409c24743cce87d4c2a968207af33ee6af66fae1e2a34453375769d845be25f55c1e78c3beeb65381f5f4b257b15b45f1 SHA512 b8edd411c0d46ed2884297b166e0f36547c18117b50a435c5044ca509c40f1b30eb8b01869cf7d90b447d33019aa86e00d4d1e9f25b03c185f2cbcf1a576f3c0
DIST pyee-8.2.2.tar.gz 16938 BLAKE2B f9bd02e1afc78bf51b9267b3a88e4f3ebbfb1342e105fa4175f6fafb4ed0163ef5abb8a006e1ac264f60dfd5ca062068b21c306c5eeead7d929bdd9304e36d14 SHA512 1b2b64631c16a203b690579f20bf9ece25d438604c772dd10e9f06f0d3ef5a1452de8343c995cd50743f6f3b5311b299509209a9ecab28b72b20c1d1bec7ad37
DIST pyee-8.2.2.gh.tar.gz 22245 BLAKE2B 64a86e00c974dd1be1695077e7a545c6c72f8c5e2bbaaca044e31d989029c545741af430a2165bc52194b849705eca058ddb5bc208348861a78f03cfb12ba896 SHA512 2be1997a27eb7616ba66343933cf0a8756203b40b9c4f06ce54d65e416d7475ee383f664ee135823cf8e8fe1e351e9f83f41011a8a50f7980d58f9a46b05b0c2

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">frida/frida</remote-id>
</upstream>
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">jfhbrook/pyee</remote-id>
<remote-id type="pypi">pyee</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="A port of node.js's EventEmitter to python."
HOMEPAGE="https://pypi.python.org/pypi/pyee"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,28 +6,20 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="A port of node.js's EventEmitter to python."
HOMEPAGE="https://pypi.python.org/pypi/pyee"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RESTRICT="test"
RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]"
#test?
#dev-python/vcversioner[${PYTHON_USEDEP}]"
# 'pytest-runner',
# 'pytest-asyncio
# 'pytest-trio; python_version > "3.7"',
DEPEND="${RDEPEND}"
dev-python/trio[${PYTHON_USEDEP}]
"
#https://github.com/jfhbrook/pyee/issues/80
PATCHES=( "${FILESDIR}/setup-8.0.1.patch" )

View file

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -10,24 +10,35 @@ inherit distutils-r1
DESCRIPTION="A port of node.js's EventEmitter to python."
HOMEPAGE="https://pypi.python.org/pypi/pyee"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/jfhbrook/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/twisted[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/trio[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
DEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
'tests/test_async.py::test_asyncio_emit'
'tests/test_async.py::test_asyncio_once_emit'
'tests/test_async.py::test_asyncio_error'
'tests/test_async.py::test_asyncio_cancellation'
'tests/test_async.py::test_sync_error'
'tests/test_trio.py::test_sync_error'
)
# https://github.com/jfhbrook/pyee/issues/80
#PATCHES=( "${FILESDIR}/setup-8.0.1.patch" )
distutils_enable_tests pytest
distutils_enable_sphinx docs

View file

@ -1 +1,2 @@
DIST pygeoif-0.7.tar.gz 34773 BLAKE2B 1c3ddedcd5fcf3786828a3e1d1d6e11ac52e8c5dcbd38e10dd0eafa9255970c42841e1d827650c904069134457365354b68b45a7926b1a0c1d9dfe0550fff183 SHA512 bba3555e22e68d09a15077924bf3a71c527d517f27e5d1d42c2f83f74f810ca275d1364a9f603151d91e8480e902abc4ca499a76625713a7d79e8ced2f1d654e
DIST pygeoif-1.6.0.gh.tar.gz 55951 BLAKE2B d312f08f4a4b786c03704e38064fe21d6c75109a0f4c3a50dd27680bf6e3090c5961c4380d84082ad1cb4a90f806912f902a0dc1889bdb217b02ab3d44513675 SHA512 699c95954389490bb4c2410ab8179483991d44ad3bceb720793443455cba4504287dadcb4fbcb27fad8865b2d8ebfb6239a8a313fbdda69ce7b082b0d4bf2fc9

View file

@ -5,4 +5,8 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">cleder/pygeoif</remote-id>
<remote-id type="pypi">pygeoif</remote-id>
</upstream>
</pkgmetadata>

View file

@ -6,17 +6,12 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="A basic implementation of the __geo_interface__"
HOMEPAGE="https://pypi.org/project/pygeoif/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RESTRICT="test" # the tests are using a deprecated Python function

View file

@ -0,0 +1,40 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="A basic implementation of the __geo_interface__"
HOMEPAGE="https://pypi.org/project/pygeoif/"
SRC_URI="https://github.com/cleder/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
EPYTEST_IGNORE=(
# error even in the pipeline of the project due to a healthcheck
tests/hypothesis/test_polygon.py
)
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme \
dev-python/sphinx-copybutton \
dev-python/sphinx-autodoc-typehints \
dev-python/typing-extensions