From b92800ff808bd9e8bb18292c49e7f11e6b6541df Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 13 Nov 2025 21:36:47 +0000 Subject: Adding metadata --- dev-python/linode-metadata/Manifest | 2 +- .../linode-metadata/linode-metadata-0.3.1.ebuild | 22 ------- .../linode-metadata/linode-metadata-0.3.2.ebuild | 22 +++++++ dev-python/pipx/pipx-1.7.1.ebuild | 2 +- dev-python/pycairo/pycairo-1.29.0-r1.ebuild | 74 ++++++++++++++++++++++ dev-python/pycairo/pycairo-1.29.0.ebuild | 64 ------------------- dev-python/userpath/userpath-1.9.2.ebuild | 2 +- dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild | 10 +-- 8 files changed, 104 insertions(+), 94 deletions(-) delete mode 100644 dev-python/linode-metadata/linode-metadata-0.3.1.ebuild create mode 100644 dev-python/linode-metadata/linode-metadata-0.3.2.ebuild create mode 100644 dev-python/pycairo/pycairo-1.29.0-r1.ebuild delete mode 100644 dev-python/pycairo/pycairo-1.29.0.ebuild (limited to 'dev-python') diff --git a/dev-python/linode-metadata/Manifest b/dev-python/linode-metadata/Manifest index 9bb09f440998..7440bd99a0f2 100644 --- a/dev-python/linode-metadata/Manifest +++ b/dev-python/linode-metadata/Manifest @@ -1 +1 @@ -DIST linode_metadata-0.3.1.tar.gz 17754 BLAKE2B 64adc7c2a3576032729227b59b218ae5489b9ecb19cbe0ed96dae96fe6e75b02681401fb1be77697779986e63820ff9d770aa985ba7d706cca9c987627c0d40d SHA512 3b80060b9262e6e3d682ebae5a8732c075fa5c08d2285af891c29f5b9a6e5b3e6447442953fa3cadcc518c784ac8fc8c4a3ab7282329cd9963d5de1f1a77212e +DIST linode_metadata-0.3.2.tar.gz 17727 BLAKE2B 719b6e5201adce4d933d59264ba462efd9153fbb7684ca833a3f569396e0816dbf6b3518b22f7d8ee376109adf388e3a5e5d701c0265635c746f033eb8b55135 SHA512 bdc042bd0eeebfe8bc12532b239f1771adcb511a470921c6fdd5d64d526489cd83336f95db42b2d4430f954aa4f850bbe4326789d0156e99600633d63598c3f7 diff --git a/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild b/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild deleted file mode 100644 index cdee7dcfc943..000000000000 --- a/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the Linode Metadata Service" -HOMEPAGE="https://github.com/linode/py-metadata https://www.linode.com/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -# Tests require network, a linode account, an API key and a ssh key. -RESTRICT="test" - -RDEPEND=" - dev-python/httpx[${PYTHON_USEDEP}] -" diff --git a/dev-python/linode-metadata/linode-metadata-0.3.2.ebuild b/dev-python/linode-metadata/linode-metadata-0.3.2.ebuild new file mode 100644 index 000000000000..cdee7dcfc943 --- /dev/null +++ b/dev-python/linode-metadata/linode-metadata-0.3.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Linode Metadata Service" +HOMEPAGE="https://github.com/linode/py-metadata https://www.linode.com/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +# Tests require network, a linode account, an API key and a ssh key. +RESTRICT="test" + +RDEPEND=" + dev-python/httpx[${PYTHON_USEDEP}] +" diff --git a/dev-python/pipx/pipx-1.7.1.ebuild b/dev-python/pipx/pipx-1.7.1.ebuild index 05aadeeb3bad..6e58dadf0306 100644 --- a/dev-python/pipx/pipx-1.7.1.ebuild +++ b/dev-python/pipx/pipx-1.7.1.ebuild @@ -29,7 +29,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] diff --git a/dev-python/pycairo/pycairo-1.29.0-r1.ebuild b/dev-python/pycairo/pycairo-1.29.0-r1.ebuild new file mode 100644 index 000000000000..3e516ab29025 --- /dev/null +++ b/dev-python/pycairo/pycairo-1.29.0-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# we aren't using meson-python, as that results in removing .pc file +# https://bugs.gentoo.org/966038 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit meson distutils-r1 + +DESCRIPTION="Python bindings for the cairo library" +HOMEPAGE=" + https://www.cairographics.org/pycairo/ + https://github.com/pygobject/pycairo/ + https://pypi.org/project/pycairo/ +" +SRC_URI=" + https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="X examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=x11-libs/cairo-1.15.10[svg(+),X?] +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + virtual/pkgconfig +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +python_compile() { + local emesonargs=( + # TODO: move that to the eclass? + -Dpython.bytecompile=2 + -Dtests="$(usex test true false)" + -Dno-x11="$(usex X false true)" + ) + + meson_src_configure + meson_src_compile +} + +python_test() { + cd "${BUILD_DIR}" || die + epytest +} + +python_install() { + meson_src_install +} + +python_install_all() { + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pycairo/pycairo-1.29.0.ebuild b/dev-python/pycairo/pycairo-1.29.0.ebuild deleted file mode 100644 index c3aa5ffee964..000000000000 --- a/dev-python/pycairo/pycairo-1.29.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -# TODO: readd 3.13t & 3.14t (requires same in meson-python) -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python bindings for the cairo library" -HOMEPAGE=" - https://www.cairographics.org/pycairo/ - https://github.com/pygobject/pycairo/ - https://pypi.org/project/pycairo/ -" -SRC_URI=" - https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz -" - -LICENSE="|| ( LGPL-2.1 MPL-1.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="X examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=x11-libs/cairo-1.15.10[svg(+),X?] -" -DEPEND=" - ${RDEPEND} - x11-base/xorg-proto -" -BDEPEND=" - virtual/pkgconfig -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme -EPYTEST_PLUGINS=( hypothesis ) -distutils_enable_tests pytest - -src_configure() { - DISTUTILS_ARGS=( - -Dtests="$(usex test true false)" - -Dno-x11="$(usex X false true)" - ) -} - -python_test() { - rm -rf cairo || die - epytest -} - -python_install_all() { - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/userpath/userpath-1.9.2.ebuild b/dev-python/userpath/userpath-1.9.2.ebuild index 93ab4b448add..14a6feb60f6a 100644 --- a/dev-python/userpath/userpath-1.9.2.ebuild +++ b/dev-python/userpath/userpath-1.9.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" RDEPEND=" dev-python/click[${PYTHON_USEDEP}] diff --git a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild b/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild index 3ac5a336dc85..187e108fa7a7 100644 --- a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild +++ b/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild @@ -9,10 +9,11 @@ inherit distutils-r1 pypi DESCRIPTION="External JavaScript for yt-dlp supporting many runtimes" HOMEPAGE="https://github.com/yt-dlp/ejs/" +# wheel for .js files, github's assets also has them but uncompressed SRC_URI+=" $(pypi_wheel_url --unpack)" LICENSE="Unlicense" -LICENSE+=" ISC MIT" # .js dependencies from the wheel +LICENSE+=" ISC MIT" # .js dependencies SLOT="0" # bumps should typically be done straight-to-stable like yt-dlp itself KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" @@ -28,10 +29,9 @@ distutils_enable_tests unittest src_prepare() { distutils-r1_src_prepare - # drop deno/npm calls and use the pre-generated .js from the .whl - # instead, this both prevents network use and ensures no hash - # mismatch given yt-dlp checks the sha512sum of the .js files - # (makes generating our own meaningless given can't be patched) + # drop deno/npm calls and use pre-generated .js instead, this + # both prevents network use and ensures no hash mismatch given + # yt-dlp checks the sha512sum of the .js files sed -i '/wheel.hooks.custom/d' pyproject.toml || die mv ../yt_dlp_ejs/yt/solver/*.js yt_dlp_ejs/yt/solver/ || die } -- cgit v1.3