From 6a851e4f7c23c15c4b7853e6c34b0a0b9bc68482 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Sep 2023 11:22:25 +0100 Subject: gentoo auto-resync : 24:09:2023 - 11:22:25 --- dev-util/astyle/Manifest | 8 ++-- dev-util/astyle/astyle-3.4.6.ebuild | 83 ------------------------------------- dev-util/astyle/astyle-3.4.8.ebuild | 83 +++++++++++++++++++++++++++++++++++++ dev-util/astyle/astyle-3.4.ebuild | 77 ---------------------------------- 4 files changed, 86 insertions(+), 165 deletions(-) delete mode 100644 dev-util/astyle/astyle-3.4.6.ebuild create mode 100644 dev-util/astyle/astyle-3.4.8.ebuild delete mode 100644 dev-util/astyle/astyle-3.4.ebuild (limited to 'dev-util/astyle') diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index ff5dc068882f..e4b562aa45fb 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,8 +1,6 @@ -DIST astyle-3.4.6.tar.bz2 229578 BLAKE2B 8dc4cfc72a070810223c098182ea23bfcbf3757b68a9ed27f5d304159ca9a4351f405bd71026b2f3e8f6bca8409f6f1269302fc7d0cdae181c061a83960a268d SHA512 fbceb14e094826ccf8a630ed6e7c7d0f57ba618d63faa8bf338a64a122ed6aed91774d113e55641e9f743597fe443b6fab45aba2f9406e305e65d268bf27cbe4 -DIST astyle-3.4.6.tar.bz2.asc 488 BLAKE2B cf072e050b1a612332975b85dd808eb2283b1f7459550a2d10db787c280172fdf51cca471e8853083de2fe943ec8d1d5283cadb2518c357fda93857fa00bc427 SHA512 9731bb79bb478e059ac7c628c5d6ef29a4c08ba24208a95aa0b72a234becb13979a4514c8a22ca3490da41eaa2bed8754256d59f948c6b06a8e6fe97c0eca5c8 -DIST astyle-3.4.tar.bz2 226981 BLAKE2B 1d3db58a7123e516657f224c217ac300fc9d75a50c3ed5cddf8d51868e251397c45ffb43dac9a9f414eaf47896171002bd5eb857ffe4336153fb1bddff3d7eb7 SHA512 c81fb18a8ebba89500639377291d320107983ebc842fa99973d00efa08c41950ffac7fe78faddb3d025b30eae58ccf8d643582965c1a3df2604f0a0240fd8e82 +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.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 EBUILD astyle-3.1-r2.ebuild 1891 BLAKE2B fea27eafaf14eaf1245a87a873dbfa327a23987468a291a9bf8de1af50d57f168143ae94b6dfb8dadfdf121ee3fc13f6efd90656962bd866093e27c2477544be SHA512 ecab4c77e646ee8dd2f174e50e8b5c3af9a077b1c1ddfac4ab05ec56e1b83e82ff7f8053d3f52454c282a9f545a470ba2caa2f1786956a26514b6f0adb988fe7 -EBUILD astyle-3.4.6.ebuild 2148 BLAKE2B 2a8f138ef3118aa31255267024ca77cc365ae6800afb624cae03ce0c33c592ac2e4553ccdb48a180f94785615d24acad990f007f15dab4406a293baedc8f7552 SHA512 8a87d6ddf39ffe8cde711b687518d5140e45ee0994a14071279a7cd83e59329e9d8ab87a662c07cc5e217ce21ec1a1b7ca41b372402761058b6c240e6cff8269 -EBUILD astyle-3.4.ebuild 1857 BLAKE2B 86499c77af050c94a5d3459a9fe9a4a468b8b92deadea4703eb918cdf263ab0c4653fcc9ad870666fe63fbb3b4f4bc7e30510466f9a94acb026544010dc39927 SHA512 7ea107261645e5530516ebc4738ccc89d8b58615a90d8eff1cce75757fed7331796c746aeb5b688110e0ae402bad46ae505500bd355691bac269734a289097e2 +EBUILD astyle-3.4.8.ebuild 2148 BLAKE2B 2a8f138ef3118aa31255267024ca77cc365ae6800afb624cae03ce0c33c592ac2e4553ccdb48a180f94785615d24acad990f007f15dab4406a293baedc8f7552 SHA512 8a87d6ddf39ffe8cde711b687518d5140e45ee0994a14071279a7cd83e59329e9d8ab87a662c07cc5e217ce21ec1a1b7ca41b372402761058b6c240e6cff8269 MISC metadata.xml 807 BLAKE2B dfd2069298224cf105959f5ee459cde21c66816860ae56591c91d2bea7630c96223361831bbd5f3d36bf2af24d014ac342705f89c21e29e9fa1fa8eea7d8bc53 SHA512 202bd7a541e3d61dbbcae8c23fc7197def7eef8b1cd91b48af8894787d1876651796aea7d191c85ee7ddd9c297912b5b035c5b777ee797dae66ac0cf1d307b6a diff --git a/dev-util/astyle/astyle-3.4.6.ebuild b/dev-util/astyle/astyle-3.4.6.ebuild deleted file mode 100644 index 126f56e4b4a4..000000000000 --- a/dev-util/astyle/astyle-3.4.6.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/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=" - mirror://sourceforge/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.8.ebuild b/dev-util/astyle/astyle-3.4.8.ebuild new file mode 100644 index 000000000000..126f56e4b4a4 --- /dev/null +++ b/dev-util/astyle/astyle-3.4.8.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/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=" + mirror://sourceforge/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.ebuild b/dev-util/astyle/astyle-3.4.ebuild deleted file mode 100644 index 729799088abb..000000000000 --- a/dev-util/astyle/astyle-3.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs java-pkg-opt-2 - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="https://astyle.sourceforge.net/" -SRC_URI="mirror://sourceforge/astyle/${P}.tar.bz2" - -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}" - -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 -} -- cgit v1.2.3