summaryrefslogtreecommitdiff
path: root/dev-python/editorconfig
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-10 07:03:17 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-10 07:03:17 +0000
commitf49f44feafa5ea8d52b07b1fd3a7f97c5e496078 (patch)
treefe4f09f0d075ed2c7a4c6c310fb2b747891d7c90 /dev-python/editorconfig
parenta38e29fa3d1d73aa80df8b62ff1dd7ddf8967a99 (diff)
downloadbaldeagleos-repo-f49f44feafa5ea8d52b07b1fd3a7f97c5e496078.tar.gz
baldeagleos-repo-f49f44feafa5ea8d52b07b1fd3a7f97c5e496078.tar.xz
baldeagleos-repo-f49f44feafa5ea8d52b07b1fd3a7f97c5e496078.zip
Adding metadata
Diffstat (limited to 'dev-python/editorconfig')
-rw-r--r--dev-python/editorconfig/Manifest1
-rw-r--r--dev-python/editorconfig/editorconfig-0.17.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/editorconfig/Manifest b/dev-python/editorconfig/Manifest
index beb3411e2980..7a823c597b11 100644
--- a/dev-python/editorconfig/Manifest
+++ b/dev-python/editorconfig/Manifest
@@ -1,2 +1,3 @@
DIST editorconfig-core-py-0.17.0.gh.tar.gz 19657 BLAKE2B d7e78d96454b637e6aee511d99ef38d92c549a24b426f4a8bd3c75217fd1a1513bc81a6e9f89cddf69c13d50a1a7414082ca1b16575af2cc1ee188a12cf87bca SHA512 9e9c90f646ad58634115fcf88cedefcd2613fb90bbe4a186618b0ee5adde76d014cf3506bcdc36638c28b1b3bb33bd0e0c3580f7d55cad981dd926d61493bdd1
+DIST editorconfig-core-py-0.17.1.gh.tar.gz 19843 BLAKE2B aabf892af435abd3c682a13f6b1573579427009c17de5c64c89cf9f210e17cdaa6d0063bfce22635b445829ece274eb63a9481296e45dd5981d36523401f38d8 SHA512 0f95a98826d85a2c5e6fdcc2619f50fd09722f78d24fe411df70e9fa5b064928df0ed711a6064dc3b6246b9425abc6b95945de494972dbd6972c36ac589678c9
DIST editorconfig-core-test-d91029bdf1e3e0307714afe0d2cde7ba6fd208ab.gh.tar.gz 13962 BLAKE2B 2ad5d61d0c6b157083a3990d4deb2d06b1efab42c9e4e0f22a42a90317b9b0212b6dd019ee74c86c4f6ff1edfabb9423d63c3baa499622e80b80243ba7dcc677 SHA512 530ac91b7dc5b433c59251edd5928c6f9c579c343b85f0dbd7dc71de6eb2e34328dbb398f0e68a416f4f22c9c7bfa13a792bcfe4c0469902e3a1fe2ba6c9841f
diff --git a/dev-python/editorconfig/editorconfig-0.17.1.ebuild b/dev-python/editorconfig/editorconfig-0.17.1.ebuild
new file mode 100644
index 000000000000..719b723655d9
--- /dev/null
+++ b/dev-python/editorconfig/editorconfig-0.17.1.ebuild
@@ -0,0 +1,55 @@
+# 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_{11..14} )
+
+inherit cmake distutils-r1
+
+MY_P=editorconfig-core-py-${PV}
+TESTVER="d91029bdf1e3e0307714afe0d2cde7ba6fd208ab"
+DESCRIPTION="Clone of EditorConfig core written in Python"
+HOMEPAGE="
+ https://editorconfig.org/
+ https://github.com/editorconfig/editorconfig-core-py/
+ https://pypi.org/project/EditorConfig/
+"
+SRC_URI="
+ https://github.com/editorconfig/editorconfig-core-py/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+ test? (
+ https://github.com/editorconfig/editorconfig-core-test/archive/${TESTVER}.tar.gz
+ -> editorconfig-core-test-${TESTVER}.gh.tar.gz
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="PYTHON BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cli test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ cli? ( !app-text/editorconfig-core-c[cli] )
+"
+
+src_prepare() {
+ if use test; then
+ mv "${WORKDIR}"/editorconfig-core-test-${TESTVER}/* "${S}"/tests || die
+ fi
+ if ! use cli; then
+ sed -i -e '/editorconfig\.__main__/d' pyproject.toml || die
+ fi
+
+ cmake_src_prepare
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ cmake_src_configure
+ cmake_src_compile
+ cmake_src_test
+}