diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/editorconfig | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/editorconfig')
| -rw-r--r-- | dev-python/editorconfig/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/editorconfig/editorconfig-0.17.1.ebuild | 55 | ||||
| -rw-r--r-- | dev-python/editorconfig/metadata.xml | 21 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/editorconfig/Manifest b/dev-python/editorconfig/Manifest new file mode 100644 index 000000000000..c48b122887cc --- /dev/null +++ b/dev-python/editorconfig/Manifest @@ -0,0 +1,2 @@ +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..3e3e0822c13b --- /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_{13..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 +} diff --git a/dev-python/editorconfig/metadata.xml b/dev-python/editorconfig/metadata.xml new file mode 100644 index 000000000000..58da74ed81ce --- /dev/null +++ b/dev-python/editorconfig/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <use> + <flag name="cli">Install command line interface as well as python library</flag> + </use> + <longdescription lang="en"> + EditorConfig Python Core provides the same functionality as the + EditorConfig C Core. EditorConfig Python core can be used as a + command line program or as an importable library. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
