summaryrefslogtreecommitdiff
path: root/dev-python/editorconfig
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-12-13 18:50:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-12-13 18:50:39 +0000
commit9f3d8752e40e109dd40661f6697e085cabe2d878 (patch)
tree01aff62a186d7eac4f0aabd3c76b9bc519d0e00a /dev-python/editorconfig
parentf62033a60fcf1554669a9b29ad2258306811c63d (diff)
downloadbaldeagleos-repo-9f3d8752e40e109dd40661f6697e085cabe2d878.tar.gz
baldeagleos-repo-9f3d8752e40e109dd40661f6697e085cabe2d878.tar.xz
baldeagleos-repo-9f3d8752e40e109dd40661f6697e085cabe2d878.zip
Adding metadata
Diffstat (limited to 'dev-python/editorconfig')
-rw-r--r--dev-python/editorconfig/Manifest2
-rw-r--r--dev-python/editorconfig/editorconfig-0.17.0.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/editorconfig/Manifest b/dev-python/editorconfig/Manifest
index 9d72588b6ce0..a6945323c0aa 100644
--- a/dev-python/editorconfig/Manifest
+++ b/dev-python/editorconfig/Manifest
@@ -1,2 +1,4 @@
DIST editorconfig-core-py-0.12.4.gh.tar.gz 19411 BLAKE2B f1cbcce704efb9a185ff25e2fe800156a02288be389a3908579fbf4ec0131f79fc9a453040d4259fc050e1aa94cfc68f557580c86ca8d7fb65582c32d7a1c6af SHA512 12eea18d0af84eea6f71658781c9f9b58e3490db7056ddc5eae3e0ce3413635eac995e0fdef33a7fe6e2d60649e95a67034a53f304faa38f6022d86fee135464
+DIST editorconfig-core-py-0.17.0.gh.tar.gz 19657 BLAKE2B d7e78d96454b637e6aee511d99ef38d92c549a24b426f4a8bd3c75217fd1a1513bc81a6e9f89cddf69c13d50a1a7414082ca1b16575af2cc1ee188a12cf87bca SHA512 9e9c90f646ad58634115fcf88cedefcd2613fb90bbe4a186618b0ee5adde76d014cf3506bcdc36638c28b1b3bb33bd0e0c3580f7d55cad981dd926d61493bdd1
DIST editorconfig-core-test-abb579e00f2deeede91cb485e53512efab9c6474.gh.tar.gz 7900 BLAKE2B 9ebdb5e522948bc9e86ea84435ccaa11585a8a12f4cd6fe54c64d78917281c913568351767d8077623b1196d84206d1c2d0126a0510f70df484c1b55d829028b SHA512 ae5424b4926d6cb127cb3da473400ced4f7ccf224f7baa8bc5bde0317cc045bb7b99738a56efe5fd0e5a0fbe39b997b9fb1739d24713e7f83b58e987c5e56a32
+DIST editorconfig-core-test-d91029bdf1e3e0307714afe0d2cde7ba6fd208ab.gh.tar.gz 13962 BLAKE2B 2ad5d61d0c6b157083a3990d4deb2d06b1efab42c9e4e0f22a42a90317b9b0212b6dd019ee74c86c4f6ff1edfabb9423d63c3baa499622e80b80243ba7dcc677 SHA512 530ac91b7dc5b433c59251edd5928c6f9c579c343b85f0dbd7dc71de6eb2e34328dbb398f0e68a416f4f22c9c7bfa13a792bcfe4c0469902e3a1fe2ba6c9841f
diff --git a/dev-python/editorconfig/editorconfig-0.17.0.ebuild b/dev-python/editorconfig/editorconfig-0.17.0.ebuild
new file mode 100644
index 000000000000..9a703aa04167
--- /dev/null
+++ b/dev-python/editorconfig/editorconfig-0.17.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+
+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
+}