summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-11-13 21:36:47 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-11-13 21:36:47 +0000
commitb92800ff808bd9e8bb18292c49e7f11e6b6541df (patch)
tree7e3951663e7cd2ceb8b1c01df60f0779dc8fa1a6 /dev-python
parent0a3f5bd985c689ffb11ac15fe58ae187e717fc98 (diff)
downloadbaldeagleos-repo-b92800ff808bd9e8bb18292c49e7f11e6b6541df.tar.gz
baldeagleos-repo-b92800ff808bd9e8bb18292c49e7f11e6b6541df.tar.xz
baldeagleos-repo-b92800ff808bd9e8bb18292c49e7f11e6b6541df.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/linode-metadata/Manifest2
-rw-r--r--dev-python/linode-metadata/linode-metadata-0.3.2.ebuild (renamed from dev-python/linode-metadata/linode-metadata-0.3.1.ebuild)0
-rw-r--r--dev-python/pipx/pipx-1.7.1.ebuild2
-rw-r--r--dev-python/pycairo/pycairo-1.29.0-r1.ebuild (renamed from dev-python/pycairo/pycairo-1.29.0.ebuild)22
-rw-r--r--dev-python/userpath/userpath-1.9.2.ebuild2
-rw-r--r--dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild10
6 files changed, 24 insertions, 14 deletions
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.2.ebuild
index cdee7dcfc943..cdee7dcfc943 100644
--- a/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild
+++ b/dev-python/linode-metadata/linode-metadata-0.3.2.ebuild
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.ebuild b/dev-python/pycairo/pycairo-1.29.0-r1.ebuild
index c3aa5ffee964..3e516ab29025 100644
--- a/dev-python/pycairo/pycairo-1.29.0.ebuild
+++ b/dev-python/pycairo/pycairo-1.29.0-r1.ebuild
@@ -4,12 +4,13 @@
EAPI=8
DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-# TODO: readd 3.13t & 3.14t (requires same in meson-python)
+# 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 distutils-r1
+inherit meson distutils-r1
DESCRIPTION="Python bindings for the cairo library"
HOMEPAGE="
@@ -43,18 +44,27 @@ distutils_enable_sphinx docs \
EPYTEST_PLUGINS=( hypothesis )
distutils_enable_tests pytest
-src_configure() {
- DISTUTILS_ARGS=(
+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() {
- rm -rf cairo || die
+ cd "${BUILD_DIR}" || die
epytest
}
+python_install() {
+ meson_src_install
+}
+
python_install_all() {
if use examples; then
dodoc -r examples
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
}