diff --git a/dev-cpp/cpplint/Manifest b/dev-cpp/cpplint/Manifest new file mode 100644 index 0000000..55e8809 --- /dev/null +++ b/dev-cpp/cpplint/Manifest @@ -0,0 +1 @@ +DIST cpplint-1.6.1.gh.tar.gz 372622 BLAKE2B f3afaba6f8389e8d925e20d94cbcf1451d11b85ca7914b53f966c575a5be7a6b4eb7367f53e549644019ccd1f76eca61415f0c5997842cb5640ab5a7ba00c1de SHA512 be5c3c9044d862fc82e66987a76f3d01d5733c26774185fa3776b16943c3cb36d391bc20009940db744853df03614b47d88988c6823f8cda20b794b9075684cb diff --git a/dev-cpp/cpplint/cpplint-1.6.1.ebuild b/dev-cpp/cpplint/cpplint-1.6.1.ebuild new file mode 100644 index 0000000..0175594 --- /dev/null +++ b/dev-cpp/cpplint/cpplint-1.6.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="Static code checker for C++ (fork of Google's cpplint" +HOMEPAGE="https://github.com/cpplint/cpplint" +SRC_URI="https://github.com/cpplint/cpplint/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="cpplintlicense" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + + +distutils_enable_tests pytest diff --git a/licenses/cpplintlicense b/licenses/cpplintlicense new file mode 100644 index 0000000..1756a59 --- /dev/null +++ b/licenses/cpplintlicense @@ -0,0 +1,27 @@ +cpplint.py and its corresponding unit tests are Copyright (C) 2009 Google Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/profiles/license_groups b/profiles/license_groups new file mode 100644 index 0000000..a843796 --- /dev/null +++ b/profiles/license_groups @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Please report bugs or other requests at bugs.gentoo.org and assign to +# licenses@gentoo.org + +# GLEP 23 +# https://www.gentoo.org/glep/glep-0023.html + +# Keep the lists sorted (in C locale, but ignoring case) + +###################################################################### + +# Misc licenses that are probably free software, i.e. follow the +# Free Software Definition at https://www.gnu.org/philosophy/free-sw.html +# but are not approved by either FSF or OSI. Preferably on the long +# term these should be cleared up and moved to other sets. +# Licenses in this list should NOT appear directly or indirectly in +# @FSF-APPROVED or @OSI-APPROVED. +# Note: Licenses for fonts should be included in @MISC-FREE-DOCS. +MISC-FREE cpplintlicense +