diff options
author | Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com> | 2023-06-06 14:16:53 +0200 |
---|---|---|
committer | Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com> | 2023-06-06 14:16:53 +0200 |
commit | 8d7385c5e6623ef1986e4b78250bddc9c28f4f85 (patch) | |
tree | df342d68e0a2ffb74d26ed5b0ee509445a2364ec /dev-util | |
parent | dev-python/cmakelang: new package, add 0.6.13 (diff) | |
download | guru-8d7385c5e6623ef1986e4b78250bddc9c28f4f85.tar.gz guru-8d7385c5e6623ef1986e4b78250bddc9c28f4f85.tar.bz2 guru-8d7385c5e6623ef1986e4b78250bddc9c28f4f85.zip |
dev-util/cmakelang: add 0.6.13, drop 0.6.13
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cmakelang/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cmakelang/cmakelang-0.6.13.ebuild | 42 | ||||
-rw-r--r-- | dev-util/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch | 100 | ||||
-rw-r--r-- | dev-util/cmakelang/metadata.xml | 12 |
4 files changed, 155 insertions, 0 deletions
diff --git a/dev-util/cmakelang/Manifest b/dev-util/cmakelang/Manifest new file mode 100644 index 000000000..a9dc61aeb --- /dev/null +++ b/dev-util/cmakelang/Manifest @@ -0,0 +1 @@ +DIST cmakelang-0.6.13.gh.tar.gz 1022629 BLAKE2B f62ce29e81a79f0301b1f04e70d95419486e3687e2e34d89e9d0343749026c73cbc6ae0d9e4f079abd1d68ac021108e9322805df38299c5666d06db5f135105d SHA512 eb7fde540860b6119d0bb528f22592fb4b507f9319aeda0999da10bcc89ee1348fd7d701fc49aa5dac7616e1577e436cbd73de94dbbab0cafdf28e1812612342 diff --git a/dev-util/cmakelang/cmakelang-0.6.13.ebuild b/dev-util/cmakelang/cmakelang-0.6.13.ebuild new file mode 100644 index 000000000..bbfd7eabe --- /dev/null +++ b/dev-util/cmakelang/cmakelang-0.6.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="Provides Quality Assurance (QA) tools for cmake" +HOMEPAGE=" + https://pypi.org/project/cmakelang/ + https://github.com/cheshirekow/cmake_format +" +SRC_URI="https://github.com/cheshirekow/cmake_format/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/cmake_format-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/cmakelang-0.6.13-fix-setup.py.patch" +) + +EPYTEST_DESELECT=( + # fails because the project lags behind CMake + cmakelang/test/command_db_test.py + # tests require network access + cmakelang/test/screw_users_test.py +) + +# tests fail for 3.11+ because of hacky use of private class members +# distutils_enable_tests pytest diff --git a/dev-util/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch b/dev-util/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch new file mode 100644 index 000000000..f58b18f9e --- /dev/null +++ b/dev-util/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch @@ -0,0 +1,100 @@ +--- cmake_format-0.6.13/cmakelang/pypi/setup.py.orig 2023-06-06 12:33:22.631609182 +0200 ++++ cmake_format-0.6.13/cmakelang/pypi/setup.py 2023-06-06 12:33:46.126544329 +0200 +@@ -61,97 +61,3 @@ + }, + install_requires=["six>=1.13.0"] + ) +- +-setup( +- name="cmake-annotate", +- packages=[], +- version=VERSION, +- description="Can format your listfiles so they don't look like crap", +- long_description=long_description, +- author="Josh Bialkowski", +- author_email="josh.bialkowski@gmail.com", +- url=GITHUB_URL, +- download_url="{}/archive/{}.tar.gz".format(GITHUB_URL, VERSION), +- keywords=["cmake", "annotate"], +- license="GPLv3", +- classifiers=[ +- "Development Status :: 3 - Alpha", +- "Intended Audience :: Developers", +- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)" +- ], +- include_package_data=True, +- install_requires=[ +- "cmakelang>={}".format(VERSION), +- "pyyaml>=5.3"] +-) +- +-setup( +- name="cmake-format", +- packages=[], +- version=VERSION, +- description="Can format your listfiles so they don't look like crap", +- long_description=long_description, +- author="Josh Bialkowski", +- author_email="josh.bialkowski@gmail.com", +- url=GITHUB_URL, +- download_url="{}/archive/{}.tar.gz".format(GITHUB_URL, VERSION), +- keywords=["cmake", "format", "formatter"], +- license="GPLv3", +- classifiers=[ +- "Development Status :: 3 - Alpha", +- "Intended Audience :: Developers", +- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)" +- ], +- include_package_data=True, +- extras_require={ +- "YAML": ["pyyaml>=5.3"], +- }, +- install_requires=["cmakelang>={}".format(VERSION)] +-) +- +- +-setup( +- name="cmake-lint", +- packages=[], +- version=VERSION, +- description="Can check your listfiles for common problems", +- long_description=long_description, +- author="Josh Bialkowski", +- author_email="josh.bialkowski@gmail.com", +- url=GITHUB_URL, +- download_url="{}/archive/{}.tar.gz".format(GITHUB_URL, VERSION), +- keywords=["cmake", "lint", "linter"], +- license="GPLv3", +- classifiers=[ +- "Development Status :: 3 - Alpha", +- "Intended Audience :: Developers", +- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)" +- ], +- include_package_data=True, +- extras_require={ +- "YAML": ["pyyaml>=5.3"], +- }, +- install_requires=["cmakelang>={}".format(VERSION)] +-) +- +- +-setup( +- name="cmake-parse", +- packages=[], +- version=VERSION, +- description="Python library for parsing cmake listfiles. ", +- long_description=long_description, +- author="Josh Bialkowski", +- author_email="josh.bialkowski@gmail.com", +- url=GITHUB_URL, +- download_url="{}/archive/{}.tar.gz".format(GITHUB_URL, VERSION), +- keywords=["cmake", "lint", "linter"], +- license="GPLv3", +- classifiers=[ +- "Development Status :: 3 - Alpha", +- "Intended Audience :: Developers", +- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)" +- ], +- include_package_data=True, +- install_requires=["cmakelang>={}".format(VERSION)] +-) diff --git a/dev-util/cmakelang/metadata.xml b/dev-util/cmakelang/metadata.xml new file mode 100644 index 000000000..5dfa49384 --- /dev/null +++ b/dev-util/cmakelang/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>falbrechtskirchinger@gmail.com</email> + <name>Florian Albrechtskirchinger</name> + </maintainer> + <upstream> + <remote-id type="pypi">cmakelang</remote-id> + <remote-id type="github">cheshirekow/cmake_format</remote-id> + </upstream> +</pkgmetadata> |