dev-python/*: fix variable order

I manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Lucio Sauer 2024-04-28 00:03:51 +02:00 committed by Julien Roy
parent 89e81076ba
commit 5f9d2af263
No known key found for this signature in database
GPG Key ID: BEF2297448848842
39 changed files with 85 additions and 86 deletions

View File

@ -11,7 +11,7 @@ inherit distutils-r1 pypi
DESCRIPTION="Unserializes binary|text|file|memory plist data to Python dict"
HOMEPAGE="https://github.com/avibrazil/NSKeyedUnArchiver"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

View File

@ -13,10 +13,10 @@ HOMEPAGE="https://github.com/ErikBjare/TakeTheTime"
# pypi doesn't contains the tests
SRC_URI="https://github.com/ErikBjare/TakeTheTime/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests unittest

View File

@ -12,12 +12,12 @@ DESCRIPTION="A Python implementation of ADB with shell and FileSync functionalit
HOMEPAGE="https://pypi.org/project/adb-shell/ https://github.com/JeffLIrion/adb_shell"
SRC_URI="https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/adb_shell-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/adb_shell-${PV}"
RDEPEND="
dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]

View File

@ -12,12 +12,12 @@ DESCRIPTION="A Python implementation of ADB with shell and FileSync functionalit
HOMEPAGE="https://pypi.org/project/adb-shell/ https://github.com/JeffLIrion/adb_shell"
SRC_URI="https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/adb_shell-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/adb_shell-${PV}"
RDEPEND="
dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/async-timeout[${PYTHON_USEDEP}]

View File

@ -12,12 +12,12 @@ DESCRIPTION="A Python implementation of ADB with shell and FileSync functionalit
HOMEPAGE="https://pypi.org/project/adb-shell/ https://github.com/JeffLIrion/adb_shell"
SRC_URI="https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/adb_shell-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/adb_shell-${PV}"
RDEPEND="
dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]

View File

@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/fakefred/ascim"
SRC_URI="https://github.com/fakefred/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme

View File

@ -15,12 +15,12 @@ DESCRIPTION="An async python inotify package"
HOMEPAGE="https://gitlab.com/Taywee/asyncinotify"
SRC_URI="https://gitlab.com/Taywee/${PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
distutils_enable_sphinx docs "dev-python/tomli"
distutils_enable_tests unittest

View File

@ -8,11 +8,15 @@ PYTHON_COMPAT=(python3_{9..12})
inherit linux-mod-r1 distutils-r1 desktop
SRC_URI="https://github.com/casualsnek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Run Windows Applications on Linux as if they are native (Using a VM and FreeRDP)"
HOMEPAGE="https://github.com/casualsnek/cassowary"
SRC_URI="https://github.com/casualsnek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="X wayland"
BDEPEND="dev-python/setuptools
dev-python/build
@ -26,10 +30,6 @@ RDEPEND="net-misc/freerdp
DEPEND="${RDEPEND}"
LICENSE="GPL-2"
SLOT="0"
IUSE="X wayland"
MODULES_KERNEL_MIN=5.10
python_compile() {

View File

@ -14,8 +14,8 @@ SRC_URI="https://pagure.io/${PN}/archive/v${PV}/${PN}-v${PV}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
SLOT="0"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( __root__/README )

View File

@ -14,11 +14,11 @@ HOMEPAGE="
https://pypi.org/project/curio/
"
IUSE="examples"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"

View File

@ -12,8 +12,8 @@ DESCRIPTION="This module simplifies creation of data classes (PEP 557) from dict
HOMEPAGE="https://github.com/konradhalas/dacite"
SRC_URI="https://github.com/konradhalas/dacite/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="

View File

@ -21,11 +21,12 @@ HOMEPAGE="
https://pypi.org/project/devtools/
https://github.com/samuelcolvin/python-devtools
"
RESTRICT="!test? ( test )"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/asttokens[${PYTHON_USEDEP}]

View File

@ -14,10 +14,10 @@ HOMEPAGE="https://github.com/Feneric/doxypypy"
SRC_URI="https://github.com/Feneric/doxypypy/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
RESTRICT="!test? ( test )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/zope-interface[${PYTHON_USEDEP}] )"

View File

@ -10,10 +10,10 @@ inherit distutils-r1 pypi
DESCRIPTION="Evernote SDK"
HOMEPAGE="https://github.com/Evernote/evernote-sdk-python3"
KEYWORDS="~amd64 ~x86"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/oauth2[${PYTHON_USEDEP}]
dev-python/oauthlib[${PYTHON_USEDEP}]

View File

@ -7,14 +7,13 @@ DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Read and modify image EXIF metadata using Python."
HOMEPAGE="https://gitlab.com/TNThieding/exif"
SRC_URI="https://gitlab.com/TNThieding/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
LICENSE="MIT"
SLOT="0"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="

View File

@ -25,12 +25,12 @@ SRC_URI="
$(submodule_uris)
"
S="${WORKDIR}/cChardet-${PV}"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/cChardet-${PV}"
BDEPEND="dev-python/cython"
distutils_enable_tests pytest

View File

@ -25,12 +25,12 @@ SRC_URI="
$(submodule_uris)
"
S="${WORKDIR}/cChardet-${PV}"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/cChardet-${PV}"
BDEPEND="dev-python/cython"
distutils_enable_tests pytest

View File

@ -11,13 +11,13 @@ inherit distutils-r1 pypi
DESCRIPTION="Reads and extracts files from a password-encrypted iOS backup"
HOMEPAGE="https://pypi.org/project/iOSbackup/ https://github.com/avibrazil/iOSbackup"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="dev-python/biplist[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/NSKeyedUnArchiver[${PYTHON_USEDEP}]"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

View File

@ -14,8 +14,8 @@ SRC_URI="
https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
SLOT="0"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-linux"
distutils_enable_sphinx docs

View File

@ -3,10 +3,6 @@
EAPI=8
EPYTEST_DESELECT=(
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_fields_value
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_shortcut_functions
)
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} )
@ -19,8 +15,8 @@ HOMEPAGE="
https://github.com/sileht/python-jsonpath-rw-ext
"
SLOT="0"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
@ -36,4 +32,9 @@ BDEPEND="
)
"
EPYTEST_DESELECT=(
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_fields_value
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_shortcut_functions
)
distutils_enable_tests pytest

View File

@ -16,7 +16,7 @@ HOMEPAGE="
"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/mkdocs[${PYTHON_USEDEP}]"

View File

@ -12,19 +12,19 @@ inherit distutils-r1
DESCRIPTION="A fully tested, abstract interface to creating OAuth clients and servers."
HOMEPAGE="https://github.com/joestump/python-oauth2"
SRC_URI="https://github.com/joestump/python-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S=${WORKDIR}/python-${P}
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/python-${P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
rm -rf "${S}/tests"
distutils-r1_src_prepare

View File

@ -11,11 +11,10 @@ inherit distutils-r1 pypi
DESCRIPTION="A thread-safe disk based persistent queue in Python"
HOMEPAGE="https://github.com/peter-wangxu/persist-queue"
LICENSE="BSD"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
# It tries to connect to a local MySQL server
RESTRICT="test"
@ -25,7 +24,4 @@ DEPEND="
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/pymysql[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
#distutils_enable_tests nose

View File

@ -15,8 +15,8 @@ HOMEPAGE="
https://pypi.org/project/pg8000/
"
SLOT="0"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="

View File

@ -14,8 +14,8 @@ HOMEPAGE="
"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
# requires subprocess32
RESTRICT="test"

View File

@ -12,14 +12,14 @@ DESCRIPTION="Python interface for the GNU scientific library (gsl)"
HOMEPAGE="https://github.com/pygsl/pygsl"
SRC_URI="https://github.com/pygsl/pygsl/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
SLOT="0"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
# Tests are also failing upstream
# https://github.com/pygsl/pygsl/issues/15
RESTRICT="test"
IUSE="examples"
DEPEND="
sci-libs/gsl

View File

@ -14,8 +14,8 @@ HOMEPAGE="
https://pypi.org/project/rpmautospec-core/
"
SLOT="0"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest

View File

@ -13,8 +13,8 @@ HOMEPAGE="
https://github.com/tlocke/scramp
"
SLOT="0"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="

View File

@ -15,8 +15,8 @@ HOMEPAGE="
"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/sphinx-2.0[${PYTHON_USEDEP}]

View File

@ -15,8 +15,8 @@ HOMEPAGE="
"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/sphinx-2.0[${PYTHON_USEDEP}]

View File

@ -8,9 +8,13 @@ PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1
SRC_URI="https://github.com/ValvePython/steam/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="Python package for interacting with Steam"
HOMEPAGE="https://github.com/ValvePython/steam"
SRC_URI="https://github.com/ValvePython/steam/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/six
dev-python/pycryptodome
@ -20,10 +24,6 @@ DEPEND="dev-python/six
dev-python/protobuf-python
dev-python/cachetools
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_compile() {
distutils-r1_src_compile

View File

@ -14,10 +14,11 @@ HOMEPAGE="
https://pypi.org/project/templated-dictionary/
"
SRC_URI="https://github.com/xsuchy/templated-dictionary/archive/refs/tags/python-${P}-1.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-python-${P}-1"
SLOT="0"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]"

View File

@ -10,11 +10,10 @@ inherit distutils-r1 pypi
DESCRIPTION="Time slots/intervals with an arbitrary start and stop"
HOMEPAGE="https://github.com/ErikBjare/timeslot"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
KEYWORDS="~amd64"
# Not available for now
RESTRICT="test"

View File

@ -12,9 +12,9 @@ DESCRIPTION="An easy-to-use Python library for accessing the Twitter API."
HOMEPAGE="https://www.tweepy.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# dev-python/nose removed from ::gentoo
RESTRICT="test"
@ -24,9 +24,7 @@ RDEPEND="
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
DEPEND="${RDEPEND}"
# test? (
# dev-python/aiohttp[${PYTHON_USEDEP}]
# dev-python/async-lru[${PYTHON_USEDEP}]

View File

@ -15,8 +15,8 @@ HOMEPAGE="
https://github.com/python/typeshed/tree/master/stubs/requests
"
SLOT="0"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/urllib3-2"

View File

@ -11,16 +11,20 @@ inherit distutils-r1
DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)"
HOMEPAGE="https://github.com/wiseman/py-webrtcvad"
SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz"
SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz"
S="${WORKDIR}/py-${P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# Depends on a package removed from ::gento (bug #915162)
# Depends on a package removed from ::gentoo (bug #915162)
RESTRICT="test"
S="${WORKDIR}/py-${P}"
PATCHES=( "${WORKDIR}/${PN}-update-webrtc.patch" "${WORKDIR}/${PN}-fix-mem-leak.patch" "${WORKDIR}/${PN}-fix-oob.patch" )
PATCHES=(
"${WORKDIR}/${PN}-update-webrtc.patch"
"${WORKDIR}/${PN}-fix-mem-leak.patch"
"${WORKDIR}/${PN}-fix-oob.patch"
)

View File

@ -17,9 +17,9 @@ HOMEPAGE="https://github.com/akornatskyy/wheezy.template"
# as usual pypi doesn't contains tests
SRC_URI="https://github.com/akornatskyy/wheezy.template/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-python/cython[${PYTHON_USEDEP}]"

View File

@ -15,8 +15,8 @@ HOMEPAGE="
https://github.com/xattr/xattr
"
SLOT="0"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="

View File

@ -15,8 +15,8 @@ HOMEPAGE="
https://github.com/xattr/xattr
"
SLOT="0"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="