From b74d043299d518b43845295f480864e35e79fb98 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 6 Apr 2022 01:40:52 +0000 Subject: Adding metadata --- dev-python/ffmpeg-python/Manifest | 1 + .../ffmpeg-python/ffmpeg-python-0.2.0.ebuild | 38 ++++++++++++++ .../ffmpeg-python-0.2.0-_run.py-collections.patch | 12 +++++ ...fmpeg-python-0.2.0-setup.py-pytest-runner.patch | 11 ++++ dev-python/ffmpeg-python/metadata.xml | 12 +++++ dev-python/google-api-python-client/Manifest | 1 + .../google-api-python-client-2.43.0.ebuild | 50 ++++++++++++++++++ dev-python/itunespy/itunespy-1.6-r1.ebuild | 30 +++++++++++ dev-python/itunespy/itunespy-1.6.ebuild | 27 ---------- dev-python/plotly/Manifest | 1 + dev-python/plotly/plotly-5.7.0.ebuild | 60 ++++++++++++++++++++++ dev-python/rich/Manifest | 1 + dev-python/rich/rich-12.2.0.ebuild | 40 +++++++++++++++ dev-python/spotipy/Manifest | 1 + dev-python/spotipy/metadata.xml | 12 +++++ dev-python/spotipy/spotipy-2.19.0.ebuild | 48 +++++++++++++++++ dev-python/zulip-api/Manifest | 2 +- dev-python/zulip-api/zulip-api-0.8.0.ebuild | 40 --------------- dev-python/zulip-api/zulip-api-0.8.2.ebuild | 41 +++++++++++++++ 19 files changed, 360 insertions(+), 68 deletions(-) create mode 100644 dev-python/ffmpeg-python/Manifest create mode 100644 dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild create mode 100644 dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch create mode 100644 dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-setup.py-pytest-runner.patch create mode 100644 dev-python/ffmpeg-python/metadata.xml create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild create mode 100644 dev-python/itunespy/itunespy-1.6-r1.ebuild delete mode 100644 dev-python/itunespy/itunespy-1.6.ebuild create mode 100644 dev-python/plotly/plotly-5.7.0.ebuild create mode 100644 dev-python/rich/rich-12.2.0.ebuild create mode 100644 dev-python/spotipy/Manifest create mode 100644 dev-python/spotipy/metadata.xml create mode 100644 dev-python/spotipy/spotipy-2.19.0.ebuild delete mode 100644 dev-python/zulip-api/zulip-api-0.8.0.ebuild create mode 100644 dev-python/zulip-api/zulip-api-0.8.2.ebuild (limited to 'dev-python') diff --git a/dev-python/ffmpeg-python/Manifest b/dev-python/ffmpeg-python/Manifest new file mode 100644 index 000000000000..c1f30ed46ffd --- /dev/null +++ b/dev-python/ffmpeg-python/Manifest @@ -0,0 +1 @@ +DIST ffmpeg-python-0.2.0.tar.gz 3267771 BLAKE2B 8bca4a24434b6c7a542e3c178cb7bf1e5650f9763636d5378f9652cdd07ef19b0e96007d6bb71fdf1664efb6e33d597844c7d6a44dc8dcb1c083e21f53649469 SHA512 933ed958d61536bbbc0e0b08e19521c4b1f7df1cfe97de0b3d149a2748c5bd74915a3134861e8ecb1f92d5860315228b76aefcd087fcf07e188a56c651f5e301 diff --git a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild new file mode 100644 index 000000000000..d047bd2f6890 --- /dev/null +++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild @@ -0,0 +1,38 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for FFmpeg with complex filtering support" +HOMEPAGE="https://github.com/kkroening/ffmpeg-python" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kkroening/${PN}.git" +else + SRC_URI="https://github.com/kkroening/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + dev-python/future[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + media-video/ffmpeg +" +BDEPEND="test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/${P}-_run.py-collections.patch + "${FILESDIR}"/${P}-setup.py-pytest-runner.patch +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc/src diff --git a/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch new file mode 100644 index 000000000000..6231ba17b86e --- /dev/null +++ b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch @@ -0,0 +1,12 @@ +index afc504d..bf43c06 100644 +--- a/ffmpeg/_run.py ++++ b/ffmpeg/_run.py +@@ -137,7 +137,7 @@ def _get_output_args(node, stream_name_map): + if 'video_size' in kwargs: + video_size = kwargs.pop('video_size') + if not isinstance(video_size, basestring) and isinstance( +- video_size, collections.Iterable ++ video_size, collections.abc.Iterable + ): + video_size = '{}x{}'.format(video_size[0], video_size[1]) + args += ['-video_size', video_size] diff --git a/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-setup.py-pytest-runner.patch b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-setup.py-pytest-runner.patch new file mode 100644 index 000000000000..67fbb2308a37 --- /dev/null +++ b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-setup.py-pytest-runner.patch @@ -0,0 +1,11 @@ +index 0282c67..2011d2c 100644 +--- a/setup.py ++++ b/setup.py +@@ -60,7 +60,6 @@ keywords = misc_keywords + file_formats + setup( + name='ffmpeg-python', + packages=['ffmpeg'], +- setup_requires=['pytest-runner'], + tests_require=['pytest', 'pytest-mock'], + version=version, + description='Python bindings for FFmpeg - with complex filtering support', diff --git a/dev-python/ffmpeg-python/metadata.xml b/dev-python/ffmpeg-python/metadata.xml new file mode 100644 index 000000000000..e01fbf21e551 --- /dev/null +++ b/dev-python/ffmpeg-python/metadata.xml @@ -0,0 +1,12 @@ + + + + + xgqt@gentoo.org + Maciej Barć + + + https://github.com/kkroening/ffmpeg-python/issues/ + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index f3a557e004bd..c8cda03d3e2b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google-api-python-client-2.38.0.tar.gz 29194978 BLAKE2B 741cf925256f0bd648e68c339233cfc13a9eaa12e123e202eab64b8389bc493755838c3da8ca4e7f4ffeecacec783c41f37df1847edf0fb54387d58163c112fc SHA512 b93f1f946ebab226b9fdd9012c3ae70563197a895d9069f09c7eb8926cd8fe5567535d3677a6824f66720b9ed1f0a732f02be9440dc800a13cb7e335728a3ce8 DIST google-api-python-client-2.41.0.tar.gz 29608471 BLAKE2B 5a6f9eb414f02b9528d0ee8f8777da6596bd298f6aea8191966d1ebaa67219f8ea2e44a77bc667bfedab39c4ab0352a13ba04fd805f0df9a6936247cd4cf3481 SHA512 b9ee6a4374438d019d0efd09d02426c1c773fd2ca561e2bf91e426535fec2865a47a32cc5cf780e5e7da193ca3d8b5677339fee2a4983e7f4af9612d901c883d DIST google-api-python-client-2.42.0.tar.gz 29772877 BLAKE2B f478a719c3a6ef2f78d1fa16c231d47f2d72b55e67746612579f644b92dbd93ebd7f320f0684d85c1c1e253ed2f5163d7f6ce2904343bbe7a4f6746889663970 SHA512 e55cd75dec478a3410829a7eb7ee5478b52b44450d4ade69e3a7ee11b30e5ab5690c93ff6444f4b723db6cd1f26ac70553b3f1b9c77dc0b428db271b773faa9f +DIST google-api-python-client-2.43.0.tar.gz 29820752 BLAKE2B d0f7337f2d63d9db2da3526670a5f034103cb1b2e3eefcc77fea6d15258d185c06c238662de6d304e73b4f9ea25f8b202386eae8b7b94d7c52ad2b6c15d2ea76 SHA512 0e59f22b0c03d1b29247219e39a83bf6b637afe3eddfa302ecd34acc30bebb850f771e4b7b5c24e5a607ddd74ef6833fe0597465776d00675ed868612ebd1d70 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild new file mode 100644 index 000000000000..a9fed2cd012a --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.43.0.ebuild @@ -0,0 +1,50 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE="https://github.com/googleapis/google-api-python-client" +SRC_URI=" + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + + + + + xgqt@gentoo.org + Maciej Barć + + + https://github.com/plamere/spotipy/issues/ + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/spotipy/spotipy-2.19.0.ebuild b/dev-python/spotipy/spotipy-2.19.0.ebuild new file mode 100644 index 000000000000..8183de300aa2 --- /dev/null +++ b/dev-python/spotipy/spotipy-2.19.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A light weight Python library for the Spotify Web API" +HOMEPAGE="https://spotipy.readthedocs.io" +SRC_URI="https://github.com/plamere/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="examples" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # Requires user credentials + rm tests/integration/test_user_endpoints.py || die + + # Requires a spotify client ID + rm tests/integration/test_non_user_endpoints.py || die + + # Needs internet access + sed -i -e 's:test_spotify_client_credentials_get_access_token:_&:' \ + tests/unit/test_oauth.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples +} diff --git a/dev-python/zulip-api/Manifest b/dev-python/zulip-api/Manifest index 7455c261a3e9..2de331559daf 100644 --- a/dev-python/zulip-api/Manifest +++ b/dev-python/zulip-api/Manifest @@ -1,2 +1,2 @@ -DIST zulip-api-0.8.0.tar.gz 2509787 BLAKE2B c3fb4ab277beb5f9ddc264016cda3ad3b3884912c03fdf0de7f25b0129eb4a43864b9a90712c1335933ba2c9c6371d63d8cd2b98a72a7f940ca3e77062459d52 SHA512 fd882cb93519ff575a3346d2a9ccbdb1d09fc83dfc0c34379fb2ee013176c6f769f63198cb78414d136e8ca054a2903231085bddefee14635fa2cefb2d1e59fb DIST zulip-api-0.8.1.tar.gz 2515621 BLAKE2B 0bde3513f285deff6956e701ec0ab31a045fd70fd16b8b47ec424b194502e99facb11cd5c22b95acba5ced12ba041c901d93387c59cdd281a6a1a1ecbebbac8c SHA512 42c7feb0864fbe6432edd5fd7ac68b7f183d749a4692230e2a233472a8c05277c4b03deff0cee46a01b67e9f150f00d37f68a71bac70dbe6c8e1aa639a8f965d +DIST zulip-api-0.8.2.tar.gz 2512301 BLAKE2B a6492b0c647648bc5a403d280d857f7e62abed43ecdc4b6a5f7a424b6638cbbb58dc82cca91c27cdaedc987a5e0d5a9c61dcd2168836a55998751a7e1d1a8473 SHA512 9128a4171097217469e08e6f355575bac632a00a694d7ebfada5d45312367ccf750ba91f04315c54d0c1082e83f1baaba7dda0fcecb050fdff960ae083c65d81 diff --git a/dev-python/zulip-api/zulip-api-0.8.0.ebuild b/dev-python/zulip-api/zulip-api-0.8.0.ebuild deleted file mode 100644 index be1a2508d6d4..000000000000 --- a/dev-python/zulip-api/zulip-api-0.8.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="ncurses" - -inherit distutils-r1 - -DESCRIPTION="Zulip's PyPI packages" -HOMEPAGE="https://pypi.org/project/zulip/ https://github.com/zulip/python-zulip-api" -SRC_URI="https://github.com/zulip/python-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="" -DEPEND=" - >=dev-python/requests-0.12.1 - dev-python/distro -" -S="${WORKDIR}/python-${P}" - -src_prepare() { - EPYTHON=python3 - distutils-r1_src_prepare -} - -src_compile() { - cd ${S}/zulip - default - python setup.py build_ext --inplace -} - -src_install() { - cd ${S}/zulip - default - python setup.py install --root="${D}" - python_optimize -} diff --git a/dev-python/zulip-api/zulip-api-0.8.2.ebuild b/dev-python/zulip-api/zulip-api-0.8.2.ebuild new file mode 100644 index 000000000000..39f41ee42d84 --- /dev/null +++ b/dev-python/zulip-api/zulip-api-0.8.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 + +DESCRIPTION="Zulip's PyPI packages" +HOMEPAGE="https://pypi.org/project/zulip/ https://github.com/zulip/python-zulip-api" +SRC_URI="https://github.com/zulip/python-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="" +DEPEND=" + >=dev-python/requests-0.12.1 + dev-python/distro +" +S="${WORKDIR}/python-${P}" + +src_prepare() { + EPYTHON=python3 + distutils-r1_src_prepare +} + +src_compile() { + cd ${S}/zulip + default + python setup.py build_ext --inplace +} + +src_install() { + cd ${S}/zulip + default + python setup.py install --root="${D}" + python_optimize +} -- cgit v1.3