update uncrustify-0.64 to EAPI=7

This commit is contained in:
layman 2022-08-17 22:20:04 +02:00
parent b63b1f7d0f
commit 35f1be1680
2 changed files with 3 additions and 17 deletions

View file

@ -1 +1 @@
DIST uncrustify-0.64.tar.gz 1178957 SHA256 2a8cb3ab82ca53202d50fc2c2cec0edd11caa584def58d356c1c759b57db0b32 SHA512 bc7361520adc3c95c9ba3dffeabadec4219af1827ed2f4ae0c4ad94a0f366490854ed40d09ecc6bf3f34941bf87722f013e01d1a1684c9f7fb1adac6dd4fee01 WHIRLPOOL 1e45748b8dc3c2c99dd774677d539b4bd7e1f4f52c3e9a40894df3ab67780767604dd845e9ffc6f69eb23980e447ce8d82c526eba1236454194baac5f25d9a84
DIST uncrustify-0.64.tar.gz 1178957 BLAKE2B 4cf62fa4825b14effb66f46c6787b1d0b035a8a61e2bf064a72222144aceeb36840fd12dcb8e7df3de44ccb818a350da6b32a3d60981cf45f2180b712b212d47 SHA512 bc7361520adc3c95c9ba3dffeabadec4219af1827ed2f4ae0c4ad94a0f366490854ed40d09ecc6bf3f34941bf87722f013e01d1a1684c9f7fb1adac6dd4fee01

View file

@ -1,12 +1,10 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
if [[ $PV == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
KEYWORDS=""
SRC_URI=""
scm_eclass=git-r3
else
KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
@ -14,22 +12,10 @@ else
S=${WORKDIR}/${PN}-${P}
fi
inherit cmake-utils ${scm_eclass}
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1
inherit cmake ${scm_eclass}
DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
HOMEPAGE="http://uncrustify.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
DEPEND="test? ( ${PYTHON_DEPS} )"
python_test() {
cd tests
${EPYTHON} run_tests.py || die "tests failed"
}