mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-python/cmakelang: new package, add 0.6.13
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
1
dev-python/cmakelang/Manifest
Normal file
1
dev-python/cmakelang/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST cmakelang-0.6.13.gh.tar.gz 1022629 BLAKE2B f62ce29e81a79f0301b1f04e70d95419486e3687e2e34d89e9d0343749026c73cbc6ae0d9e4f079abd1d68ac021108e9322805df38299c5666d06db5f135105d SHA512 eb7fde540860b6119d0bb528f22592fb4b507f9319aeda0999da10bcc89ee1348fd7d701fc49aa5dac7616e1577e436cbd73de94dbbab0cafdf28e1812612342
|
||||||
42
dev-python/cmakelang/cmakelang-0.6.13.ebuild
Normal file
42
dev-python/cmakelang/cmakelang-0.6.13.ebuild
Normal file
@@ -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
|
||||||
100
dev-python/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch
Normal file
100
dev-python/cmakelang/files/cmakelang-0.6.13-fix-setup.py.patch
Normal file
@@ -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)]
|
||||||
|
-)
|
||||||
12
dev-python/cmakelang/metadata.xml
Normal file
12
dev-python/cmakelang/metadata.xml
Normal file
@@ -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>
|
||||||
Reference in New Issue
Block a user