From b8c7370a682e4e29cda623222d17a790c01c3642 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Aug 2024 12:37:21 +0100 Subject: gentoo auto-resync : 07:08:2024 - 12:37:20 --- dev-util/astyle/Manifest | 8 ++-- dev-util/astyle/astyle-3.4.8.ebuild | 83 -------------------------------- dev-util/astyle/astyle-3.4.9-r1.ebuild | 88 ++++++++++++++++++++++++++++++++++ dev-util/astyle/astyle-3.4.9.ebuild | 2 +- dev-util/astyle/metadata.xml | 7 +-- 5 files changed, 94 insertions(+), 94 deletions(-) delete mode 100644 dev-util/astyle/astyle-3.4.8.ebuild create mode 100644 dev-util/astyle/astyle-3.4.9-r1.ebuild (limited to 'dev-util/astyle') diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 862b979dcd73..b6c7f3488101 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,9 +1,7 @@ -DIST astyle-3.4.8.tar.bz2 229679 BLAKE2B 413204c5f53276ff533300bcb86c8c8ef8cf91371b2ac70431957dee1e713acd64eee6da18e2919ab51ca6757b30363997eeb2baae621a8cb302011adfc80c97 SHA512 8c0c79eea04ecdbc24f6e673a1a848d8682dc4e4f83949887eca5be98d5c485298fb44b0e9c70444c41ed09eb62662335138058bcfc9d3de21978149bc1b6ddc -DIST astyle-3.4.8.tar.bz2.asc 488 BLAKE2B cb3aada25bb5f6f9c433bdc0a5ee6464ff2266f38a0b0a847349b4d56e7fed5ff055e296a0502c77d7f120aeaf3c7cfbd898850b455f927218cf8a66406e1ce7 SHA512 29085bf168435072c98ea4238798e7123e8ca9595b1a036a1d91dee128718d9c500d010be4cd0f6f7039abffce8341728ba1cdb01b7a06d77500c1e6b0cab873 DIST astyle-3.4.9.tar.bz2 229873 BLAKE2B f698ec0f3447caf64f324760f9d9feabeb9588f603fb1bfd60b5272cc12525e8c942c084b325f7be1bfe93663de360727ddf8bdc65d38c84512852106cb2f70b SHA512 6538e1e9464564819bd1d8eef041de063a74e8974d2cc5942046a03fa70bd5472c20438bfd270dcf1f00d250d961129ce53b5ad18646505837e176c4e0e3f00a DIST astyle-3.4.9.tar.bz2.asc 488 BLAKE2B a5ed720e7c87f3603ba514e0fd15fb3a6687d913ec6cb41323aa5b1b38e76ac4ece310307ad23f8ba4c5d3e7b0cc00b78684d0c219fc50cd9e5db9c327c4f04b SHA512 b9f18e2c20b431b98859b996c52b31edbd9368d3a7ada1324f3139984f5480af860981f3b72802f548f2a73e53232f35fc2256a8a3eb7cc6a31685921682d9e4 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 EBUILD astyle-3.1-r2.ebuild 1904 BLAKE2B e8237566009bdb2e639a51e597c05ccbfc0fef48e02a960c263ce60222511831bb55ca8040807246cab4730dfab7353ee6f2ab8257ff7475c16839a2a4c50bf1 SHA512 f9640fe5a51ea4f78bf63b1923c6313a604894552597d4c8dce93c537035205f741d5b7acb16650cff80cba20144d984832a7ff49e68e1ad3d6e09f5352c05c2 -EBUILD astyle-3.4.8.ebuild 2151 BLAKE2B fe48d56a15cb09f587befea4ee45c26e9e3062abf78185a43a8cac4d3d6eb6adcc75cf8bac7e17690db2a8dc8971b64bc60b91c994349c77291e565d1ee603c3 SHA512 bb83523f9a00306a6252efbf80150d01f598cb883613c3e5f66a569ac44dd032065d370b87293f71388d65029ec52a17fdc2f9b6eff00fab908aaedb218f9ff1 -EBUILD astyle-3.4.9.ebuild 2151 BLAKE2B fe48d56a15cb09f587befea4ee45c26e9e3062abf78185a43a8cac4d3d6eb6adcc75cf8bac7e17690db2a8dc8971b64bc60b91c994349c77291e565d1ee603c3 SHA512 bb83523f9a00306a6252efbf80150d01f598cb883613c3e5f66a569ac44dd032065d370b87293f71388d65029ec52a17fdc2f9b6eff00fab908aaedb218f9ff1 -MISC metadata.xml 807 BLAKE2B dfd2069298224cf105959f5ee459cde21c66816860ae56591c91d2bea7630c96223361831bbd5f3d36bf2af24d014ac342705f89c21e29e9fa1fa8eea7d8bc53 SHA512 202bd7a541e3d61dbbcae8c23fc7197def7eef8b1cd91b48af8894787d1876651796aea7d191c85ee7ddd9c297912b5b035c5b777ee797dae66ac0cf1d307b6a +EBUILD astyle-3.4.9-r1.ebuild 2225 BLAKE2B 78f81a8bad0b4c7e648bc7a626008c9af147673ea977e82ca4780a774f557331719e045358d171624c5fca2bcbd6a5e4a59c6d2768244e41d0734c9325d0e908 SHA512 5f1f2085f4775c19bae79a0de8370b07d2745ad554bf2f2a592946d9176ed261e32694700f0fc0e1b42e29a8067fc073b112084174e1c195e0960916a3c15e98 +EBUILD astyle-3.4.9.ebuild 2146 BLAKE2B 4944318e4b5a5bae5b74e2859cdec40ea898189a3f484c1a56db0cef7ec8770ace93367eddd9e06872259b7245571c67ad172ea37290580c96196b4e84238eeb SHA512 b14e366d0c1d457d5c07887b5540d66845c516620b0970d7fcfe7b576948400f437d4aa436bd03cf8531c6907448912b0bcd53e0313e8501d4ffcf388358c2c6 +MISC metadata.xml 728 BLAKE2B 8928b84671119c82cba6cf161e7255d0fd3c0006ee9d81b3bdfba6683e6267c9ab99c606149b9f15c672da485f751feb6165a400d7c123b2bb8540c9d6919674 SHA512 186d0cff75a1deb2d3d72dd17a0775db105a17eb48a0a97c4ae8f5b9156f326bce3b3ac3a301e470457650f97f5e9a647b1325c129f3319cadcaf92ce2209f21 diff --git a/dev-util/astyle/astyle-3.4.8.ebuild b/dev-util/astyle/astyle-3.4.8.ebuild deleted file mode 100644 index 7115ae5fccd3..000000000000 --- a/dev-util/astyle/astyle-3.4.8.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andresimon.asc -inherit toolchain-funcs java-pkg-opt-2 verify-sig - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="https://astyle.sourceforge.net/ https://gitlab.com/saalen/astyle" -SRC_URI=" - https://downloads.sourceforge.net/astyle/${P}.tar.bz2 - http://www.andre-simon.de/zip/${P}.tar.bz2 - verify-sig? ( http://www.andre-simon.de/zip/${P}.tar.bz2.asc ) -" - -LICENSE="MIT" -SLOT="0/3.2" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="examples java static-libs" - -DEPEND=" - app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-andresimon )" - -src_prepare() { - if use java ; then - java-pkg-opt-2_src_prepare - sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ - -e "s:ar crs:$(tc-getAR) crs:" \ - -i build/gcc/Makefile || die - else - default - fi -} - -src_configure() { - tc-export CXX - default -} - -src_compile() { - # ../build/clang/Makefile is identical except for CXX line. - emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ - ${PN} \ - shared \ - $(usev java) \ - $(usev static-libs static) -} - -src_install() { - doheader src/${PN}.h - - pushd src/bin >/dev/null || die - dobin ${PN} - - local libastylename="lib${PN}.so.${SLOT##*/}.0" - local libastylejname="lib${PN}j.so.${SLOT##*/}.0" - local libdestdir="/usr/$(get_libdir)" - - dolib.so "${libastylename}" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(ver_cut 1 ${SLOT##*/})" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so" - if use java ; then - dolib.so "${libastylejname}" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(ver_cut 1 ${SLOT##*/})" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" - fi - if use static-libs ; then - dolib.a lib${PN}.a - fi - popd >/dev/null || die - if use examples ; then - docinto examples - dodoc -r file/. - docompress -x /usr/share/doc/${PF}/examples - fi - local HTML_DOCS=( doc/. ) - einstalldocs -} diff --git a/dev-util/astyle/astyle-3.4.9-r1.ebuild b/dev-util/astyle/astyle-3.4.9-r1.ebuild new file mode 100644 index 000000000000..401c4b1a41b8 --- /dev/null +++ b/dev-util/astyle/astyle-3.4.9-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andresimon.asc + +inherit toolchain-funcs java-pkg-opt-2 verify-sig + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" +HOMEPAGE="https://astyle.sourceforge.net/ https://gitlab.com/saalen/astyle" +SRC_URI=" + https://downloads.sourceforge.net/astyle/${P}.tar.bz2 + http://www.andre-simon.de/zip/${P}.tar.bz2 + verify-sig? ( http://www.andre-simon.de/zip/${P}.tar.bz2.asc ) +" + +LICENSE="MIT" +SLOT="0/3.2" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="examples java static-libs" + +COMMON_DEPEND=" + app-arch/xz-utils +" +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.8:* ) +" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.8:* ) +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-andresimon )" + +src_prepare() { + if use java ; then + java-pkg-opt-2_src_prepare + sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ + -e "s:ar crs:$(tc-getAR) crs:" \ + -i build/gcc/Makefile || die + else + default + fi +} + +src_configure() { + tc-export CXX + default +} + +src_compile() { + # ../build/clang/Makefile is identical except for CXX line. + emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ + ${PN} \ + shared \ + $(usev java) \ + $(usev static-libs static) +} + +src_install() { + doheader src/${PN}.h + + pushd src/bin >/dev/null || die + dobin ${PN} + + local libastylename="lib${PN}.so.${SLOT##*/}.0" + local libastylejname="lib${PN}j.so.${SLOT##*/}.0" + local libdestdir="/usr/$(get_libdir)" + + dolib.so "${libastylename}" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(ver_cut 1 ${SLOT##*/})" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so" + if use java ; then + dolib.so "${libastylejname}" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(ver_cut 1 ${SLOT##*/})" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" + fi + if use static-libs ; then + dolib.a lib${PN}.a + fi + popd >/dev/null || die + if use examples ; then + docinto examples + dodoc -r file/. + docompress -x /usr/share/doc/${PF}/examples + fi + local HTML_DOCS=( doc/. ) + einstalldocs +} diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 7115ae5fccd3..79bd014672ef 100644 --- a/dev-util/astyle/astyle-3.4.9.ebuild +++ b/dev-util/astyle/astyle-3.4.9.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0/3.2" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="examples java static-libs" DEPEND=" diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index a7dfd57fd7d7..71150eb53b50 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -1,10 +1,7 @@ - - tamiko@gentoo.org - Matthias Maier - + astyle is a code formatter for C, C++, and Java source code, with many granular formatting options to assist in enforcing code formatting @@ -18,6 +15,6 @@ saalen/astyle astyle https://sourceforge.net/p/astyle/bugs/ - http://astyle.sourceforge.net/astyle.html + https://astyle.sourceforge.net/astyle.html -- cgit v1.2.3