[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 26540bfb78d841a1586f63532b4313dce618f4a5 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Sep 11 15:30:38 2024 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Sep 11 15:31:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26540bfb dev-util/astyle: add 3.6.1 Signed-off-by: Alfredo Tupone gentoo.org> dev-util/astyle/Manifest| 2 + dev-util/astyle/astyle-3.6.1.ebuild | 88 + 2 files changed, 90 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 259fc80a29e0..a611d53cfaf1 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,3 +1,5 @@ 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.6.1.tar.bz2 230500 BLAKE2B 827bfdc14de670ada49556b564d50cf96e015a7e982e939e564faf7eaee4dfd3698257051b3a43ad0c2933307fa7ede727bf9ed8625b9761e6ae338b4b120a16 SHA512 b62fcedc6afe683fc466e86f572d3b39df59fd03c951406c6efff44b893c26df74ede315ffeec1a336f79773f7e1503361365f61e10fa1e07e97c036bd076320 +DIST astyle-3.6.1.tar.bz2.asc 488 BLAKE2B 9af44cf696b3f7d62649a8f0ce9ae296263e5de5cd5032f96ef90f83fb762c1de92c91e470839e11dda228be14706406eb6eb31cdc06c9e74f42f4edc524ef91 SHA512 b297e6d4cf3fe6599ac25a8d792865f62e4fb5f917101d6615dd18b87840bc52e5e9be83b1fa25e85cc80a2838b28fbefecda2b70c3e73bff650447f3c8a8951 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 diff --git a/dev-util/astyle/astyle-3.6.1.ebuild b/dev-util/astyle/astyle-3.6.1.ebuild new file mode 100644 index ..401c4b1a41b8 --- /dev/null +++ b/dev-util/astyle/astyle-3.6.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 96ef0ba994727972a595a6e5e0de21f7145a5f52 Author: Joonas Niilola gentoo org> AuthorDate: Sat Aug 3 06:18:54 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Aug 3 06:18:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ef0ba9 dev-util/astyle: Stabilize 3.4.9 x86, #937120 Signed-off-by: Joonas Niilola gentoo.org> dev-util/astyle/astyle-3.4.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 234c7c910b3f..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="
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: aafc06edf415464eb94044cc26aafed544762b7a Author: Joonas Niilola gentoo org> AuthorDate: Sat Aug 3 06:16:58 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Aug 3 06:16:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafc06ed dev-util/astyle: Stabilize 3.4.9 amd64, #937120 Signed-off-by: Joonas Niilola gentoo.org> dev-util/astyle/astyle-3.4.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 264ab93a7903..234c7c910b3f 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="
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 14345173a9539d8202bdfa2955d2db13bd0d5c6c Author: Sam James gentoo org> AuthorDate: Fri Aug 2 16:19:03 2024 + Commit: Sam James gentoo org> CommitDate: Fri Aug 2 16:19:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14345173 dev-util/astyle: Stabilize 3.4.9 arm64, #937120 Signed-off-by: Sam James gentoo.org> dev-util/astyle/astyle-3.4.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 37376d5f8d91..264ab93a7903 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="
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: dcfdef40c66513dd1004b8e3c263b0951368c3a0 Author: Sam James gentoo org> AuthorDate: Fri Aug 2 16:19:01 2024 + Commit: Sam James gentoo org> CommitDate: Fri Aug 2 16:19:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfdef40 dev-util/astyle: Stabilize 3.4.9 ppc, #937120 Signed-off-by: Sam James gentoo.org> dev-util/astyle/astyle-3.4.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 7115ae5fccd3..25261f35cedf 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="
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 30ea465b6fd2d77c4e3662c9526a5ce1bb4713ed Author: Sam James gentoo org> AuthorDate: Fri Aug 2 16:19:02 2024 + Commit: Sam James gentoo org> CommitDate: Fri Aug 2 16:19:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ea465b dev-util/astyle: Stabilize 3.4.9 ppc64, #937120 Signed-off-by: Sam James gentoo.org> dev-util/astyle/astyle-3.4.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild index 25261f35cedf..37376d5f8d91 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="
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 1a016c3f60cd39ea2ae380fc475ecb18e8b19f16 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Aug 2 08:19:18 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri Aug 2 13:44:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a016c3f dev-util/astyle: 3.4.9-r1, adjust dependencies Closes: https://bugs.gentoo.org/891827 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Viorel Munteanu gentoo.org> dev-util/astyle/astyle-3.4.9-r1.ebuild | 88 ++ 1 file changed, 88 insertions(+) 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 8051d9de2fdf0de0fbcc07cacdb4b1d0168d0e00 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Aug 2 08:11:12 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri Aug 2 13:44:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8051d9de dev-util/astyle: drop 3.4.8 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Viorel Munteanu gentoo.org> dev-util/astyle/Manifest| 2 - dev-util/astyle/astyle-3.4.8.ebuild | 83 - 2 files changed, 85 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 859fef9e3ae1..259fc80a29e0 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,5 +1,3 @@ -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 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.. --- 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 -
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: dba16ea348d9612cfaa6b5ebcb50f742c40b60d8 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Aug 2 08:37:42 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri Aug 2 13:44:46 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba16ea3 dev-util/astyle: metadata.xml use https Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37922 Signed-off-by: Viorel Munteanu gentoo.org> dev-util/astyle/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index 7255e89760fe..71150eb53b50 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -15,6 +15,6 @@ saalen/astyle astyle https://sourceforge.net/p/astyle/bugs/ - http://astyle.sourceforge.net/astyle.html + https://astyle.sourceforge.net/astyle.html
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: fc74cec9629ff0ed4a84f125364cacbc5aff61ed Author: Sam James gentoo org> AuthorDate: Fri Oct 20 00:17:17 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 20 00:50:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc74cec9 dev-util/astyle: add 3.4.9 Signed-off-by: Sam James gentoo.org> dev-util/astyle/Manifest| 2 + dev-util/astyle/astyle-3.4.9.ebuild | 83 + 2 files changed, 85 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 15bcc718d663..859fef9e3ae1 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,3 +1,5 @@ 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 diff --git a/dev-util/astyle/astyle-3.4.9.ebuild b/dev-util/astyle/astyle-3.4.9.ebuild new file mode 100644 index ..126f56e4b4a4 --- /dev/null +++ b/dev-util/astyle/astyle-3.4.9.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/. + do
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: d55efeda88e0c53910b7c0908f62df635d2b472c Author: Sam James gentoo org> AuthorDate: Sun Sep 24 04:17:19 2023 + Commit: Sam James gentoo org> CommitDate: Sun Sep 24 04:17:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55efeda dev-util/astyle: drop 3.4, 3.4.6 Signed-off-by: Sam James gentoo.org> dev-util/astyle/Manifest| 3 -- dev-util/astyle/astyle-3.4.6.ebuild | 83 - dev-util/astyle/astyle-3.4.ebuild | 77 -- 3 files changed, 163 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 06e4fc5aab79..15bcc718d663 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,6 +1,3 @@ -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.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.tar.bz2 226981 BLAKE2B 1d3db58a7123e516657f224c217ac300fc9d75a50c3ed5cddf8d51868e251397c45ffb43dac9a9f414eaf47896171002bd5eb857ffe4336153fb1bddff3d7eb7 SHA512 c81fb18a8ebba89500639377291d320107983ebc842fa99973d00efa08c41950ffac7fe78faddb3d025b30eae58ccf8d643582965c1a3df2604f0a0240fd8e82 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 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.. --- 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}" -
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 84ffd8df72593dc63e8bd1f9857e85e7a32d31da Author: Sam James gentoo org> AuthorDate: Sun Sep 24 04:17:04 2023 + Commit: Sam James gentoo org> CommitDate: Sun Sep 24 04:17:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ffd8df dev-util/astyle: add 3.4.8 Signed-off-by: Sam James gentoo.org> dev-util/astyle/Manifest| 2 + dev-util/astyle/astyle-3.4.8.ebuild | 83 + 2 files changed, 85 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 049413ee7181..06e4fc5aab79 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,4 +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.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.tar.bz2 226981 BLAKE2B 1d3db58a7123e516657f224c217ac300fc9d75a50c3ed5cddf8d51868e251397c45ffb43dac9a9f414eaf47896171002bd5eb857ffe4336153fb1bddff3d7eb7 SHA512 c81fb18a8ebba89500639377291d320107983ebc842fa99973d00efa08c41950ffac7fe78faddb3d025b30eae58ccf8d643582965c1a3df2604f0a0240fd8e82 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 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 ..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##*/})"
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 3d9e373b35f170a60cffc915e24d580f0e3f8f05 Author: Sam James gentoo org> AuthorDate: Wed Aug 30 07:47:55 2023 + Commit: Sam James gentoo org> CommitDate: Wed Aug 30 07:48:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9e373b dev-util/astyle: add gitlab upstream metadata Signed-off-by: Sam James gentoo.org> dev-util/astyle/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index a277a56eaff3..a7dfd57fd7d7 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -15,6 +15,7 @@ jim...@email.com Jim Pattee + saalen/astyle astyle https://sourceforge.net/p/astyle/bugs/ http://astyle.sourceforge.net/astyle.html
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: f9658350885094788a38b1a5de64458830f700c1 Author: Sam James gentoo org> AuthorDate: Wed Aug 30 07:47:38 2023 + Commit: Sam James gentoo org> CommitDate: Wed Aug 30 07:48:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9658350 dev-util/astyle: add 3.4.6 Signed-off-by: Sam James gentoo.org> dev-util/astyle/Manifest| 2 + dev-util/astyle/astyle-3.4.6.ebuild | 83 + 2 files changed, 85 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index bb94130b5155..049413ee7181 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,2 +1,4 @@ +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.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 diff --git a/dev-util/astyle/astyle-3.4.6.ebuild b/dev-util/astyle/astyle-3.4.6.ebuild new file mode 100644 index ..126f56e4b4a4 --- /dev/null +++ b/dev-util/astyle/astyle-3.4.6.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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 4661851df75f7b5146b5d2e503ad36f38fc945ea Author: Sam James gentoo org> AuthorDate: Mon Jun 19 20:39:20 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 19 21:26:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4661851d dev-util/astyle: add 3.4 Signed-off-by: Sam James gentoo.org> dev-util/astyle/Manifest | 1 + dev-util/astyle/astyle-3.4.ebuild | 77 +++ 2 files changed, 78 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 80f3b13b6025..bb94130b5155 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1 +1,2 @@ +DIST astyle-3.4.tar.bz2 226981 BLAKE2B 1d3db58a7123e516657f224c217ac300fc9d75a50c3ed5cddf8d51868e251397c45ffb43dac9a9f414eaf47896171002bd5eb857ffe4336153fb1bddff3d7eb7 SHA512 c81fb18a8ebba89500639377291d320107983ebc842fa99973d00efa08c41950ffac7fe78faddb3d025b30eae58ccf8d643582965c1a3df2604f0a0240fd8e82 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 diff --git a/dev-util/astyle/astyle-3.4.ebuild b/dev-util/astyle/astyle-3.4.ebuild new file mode 100644 index ..729799088abb --- /dev/null +++ b/dev-util/astyle/astyle-3.4.ebuild @@ -0,0 +1,77 @@ +# 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: cc774af9f094061f7eff6f40c3f33d5ea6558b49 Author: Matthias Maier gentoo org> AuthorDate: Mon Jan 23 02:29:41 2023 + Commit: Matthias Maier gentoo org> CommitDate: Mon Jan 23 02:29:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc774af9 dev-util/astyle: update EAPI 6 -> 8 - also remove obsolete version change message Signed-off-by: Matthias Maier gentoo.org> dev-util/astyle/astyle-3.1-r2.ebuild | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index 7f30eabb7a36..82c533c6d7d1 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 +inherit flag-o-matic toolchain-funcs java-pkg-opt-2 DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" HOMEPAGE="http://astyle.sourceforge.net/"; @@ -57,11 +57,11 @@ src_install() { local libdestdir="/usr/$(get_libdir)" dolib.so "${libastylename}" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(ver_cut 1)" dosym "${libastylename}" "${libdestdir}/lib${PN}.so" if use java ; then dolib.so "${libastylejname}" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(get_major_version)" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(ver_cut 1)" dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" fi if use static-libs ; then @@ -76,14 +76,3 @@ src_install() { local HTML_DOCS=( doc/. ) einstalldocs } - -pkg_postinst() { - if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then - elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" - elog "for modern use. Some options that were valid in 2.06 or older are now" - elog "deprecated. For more information, consult astyle's release notes at" - elog "http://astyle.sourceforge.net/news.html. To view offline, see:" - elog - elog "${EROOT%/}/usr/share/doc/${P}/html" - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 7142406dc1b8e0b75e00bd518dad463c9037a6ba Author: Matthias Maier gentoo org> AuthorDate: Mon Jan 23 02:26:33 2023 + Commit: Matthias Maier gentoo org> CommitDate: Mon Jan 23 02:26:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7142406d dev-util/astyle: drop 3.0.1-r1 Signed-off-by: Matthias Maier gentoo.org> dev-util/astyle/Manifest | 1 - dev-util/astyle/astyle-3.0.1-r1.ebuild | 89 -- 2 files changed, 90 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index a5baf6095662..80f3b13b6025 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,2 +1 @@ -DIST astyle_3.0.1_linux.tar.gz 172483 BLAKE2B 4c80491cbcc976aa38ff294014df0dc01b39685eafdac6989bea082b1f61120c3985d14ff6db9f76606bbe8da1aaa344c2e0c9c2999a014f5d54384c0420cf97 SHA512 3e8d617c0ec89682bfb076081bb63ae9d44e897de0c85d5109b28adbbfe0620d5dacf59a4bd96ac30a5a4fcb3be136758e9c6fe2c69258b37956c212890a7158 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 diff --git a/dev-util/astyle/astyle-3.0.1-r1.ebuild b/dev-util/astyle/astyle-3.0.1-r1.ebuild deleted file mode 100644 index 7396f1662f61.. --- a/dev-util/astyle/astyle-3.0.1-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="http://astyle.sourceforge.net/"; -SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" - -LICENSE="MIT" -SLOT="0/3.0" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="examples java static-libs" - -DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -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() { - append-cxxflags -std=c++11 - 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) \ - $(usex static-libs static '') -} - -src_install() { - doheader src/${PN}.h - - pushd src/bin >/dev/null || die - dobin ${PN} - - local libastylename="lib${PN}.so.${PV}" - local libastylejname="lib${PN}j.so.${PV}" - local libdestdir="${EPREFIX}/usr/$(get_libdir)" - - dolib.so "${libastylename}" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)" - dosym "${libastylename}" "${libdestdir}/lib${PN}.so" - if use java ; then - dolib.so "${libastylejname}" - dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(get_major_version)" - 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 -} - -pkg_postinst() { - if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then - elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" - elog "for modern use. Some options that were valid in 2.06 or older are now" - elog "deprecated. For more information, consult astyle's release notes at" - elog "http://astyle.sourceforge.net/news.html. To view offline, see:" - elog - elog "${EROOT%/}/usr/share/doc/${P}/html" - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: c5098f3418902808aad2a206c6a5984b6a31e287 Author: Sam James gentoo org> AuthorDate: Fri Feb 5 12:29:36 2021 + Commit: Sam James gentoo org> CommitDate: Fri Feb 5 12:29:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5098f34 dev-util/astyle: Stabilize 3.1-r2 ppc, #768396 Signed-off-by: Sam James gentoo.org> dev-util/astyle/astyle-3.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index ce44cf78a67..0b1355de77b 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.1" -KEYWORDS="amd64 ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 962bce3e08a845c48bf533d24bf25693dd772d26 Author: Sam James gentoo org> AuthorDate: Tue Feb 2 21:02:09 2021 + Commit: Sam James gentoo org> CommitDate: Tue Feb 2 21:02:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962bce3e dev-util/astyle: Stabilize 3.1-r2 ppc64, #768396 Signed-off-by: Sam James gentoo.org> dev-util/astyle/astyle-3.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index cd5c2428841..ce44cf78a67 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.1" -KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 73c239ba5142096b80eb49ec4c0a5ef3c6ee5957 Author: Roy Bamford gentoo org> AuthorDate: Tue Feb 25 11:50:04 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Feb 26 18:25:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c239ba dev-util/astyle: added ~arm64 keyword Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Roy Bamford gentoo.org> Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/astyle/astyle-3.1-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index 8e2af0ab360..d61943fa038 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.1" -KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 47b03206df5961770cc09addce1623b37b4f70b7 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Oct 24 07:32:02 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Oct 24 07:32:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b03206 dev-util/astyle: amd64 stable wrt bug #668220 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-util/astyle/astyle-3.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index 4e7729f00f8..8e2af0ab360 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.1" -KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 9472b71dd4a22697ffe1e216143a0a17938f90bd Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Oct 17 11:55:03 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Oct 17 11:55:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9472b71d dev-util/astyle: x86 stable (bug #668220) Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Thomas Deutschmann gentoo.org> dev-util/astyle/astyle-3.1-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index cc209262632..4e7729f00f8 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.1" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 2974eda51bea48e4b6bec7c0dd79e21c5351dfd6 Author: Guilherme Amadio gentoo org> AuthorDate: Wed Aug 8 10:02:07 2018 + Commit: Guilherme Amadio gentoo org> CommitDate: Wed Aug 8 10:03:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2974eda5 dev-util/astyle: fix on prefix Ebuild functions like dosym already prepend ${EPREFIX}, so it should not be added in this case (leads to double prefix). Package-Manager: Portage-2.3.45, Repoman-2.3.10 dev-util/astyle/astyle-3.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index 4394e1defb2..cc209262632 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -54,7 +54,7 @@ src_install() { local libastylename="lib${PN}.so.${PV}.0" local libastylejname="lib${PN}j.so.${PV}.0" - local libdestdir="${EPREFIX}/usr/$(get_libdir)" + local libdestdir="/usr/$(get_libdir)" dolib.so "${libastylename}" dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)"
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 5a025362374bd5afc9ac6a8528e6ae8dfb54694c Author: Matthias Maier gentoo org> AuthorDate: Tue May 29 00:30:55 2018 + Commit: Matthias Maier gentoo org> CommitDate: Tue May 29 00:41:11 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a025362 dev-util/astyle: 3.1-r2 fix installation Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-util/astyle/astyle-3.1-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index ed480708102..4394e1defb2 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -52,8 +52,8 @@ src_install() { pushd src/bin >/dev/null || die dobin ${PN} - local libastylename="lib${PN}.so.${PV}" - local libastylejname="lib${PN}j.so.${PV}" + local libastylename="lib${PN}.so.${PV}.0" + local libastylejname="lib${PN}j.so.${PV}.0" local libdestdir="${EPREFIX}/usr/$(get_libdir)" dolib.so "${libastylename}"
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 2c81a00c035017c8943747cd9b2372e0a7c3229a Author: Matthias Maier gentoo org> AuthorDate: Mon May 28 22:11:54 2018 + Commit: Matthias Maier gentoo org> CommitDate: Mon May 28 22:17:18 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c81a00c dev-util/astyle: minor cleanup Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-util/astyle/astyle-3.0.1-r1.ebuild | 21 ++--- dev-util/astyle/astyle-3.1-r2.ebuild | 21 ++--- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/dev-util/astyle/astyle-3.0.1-r1.ebuild b/dev-util/astyle/astyle-3.0.1-r1.ebuild index cdc9411aa46..24d96553a97 100644 --- a/dev-util/astyle/astyle-3.0.1-r1.ebuild +++ b/dev-util/astyle/astyle-3.0.1-r1.ebuild @@ -52,18 +52,17 @@ src_install() { pushd src/bin >/dev/null || die dobin ${PN} - # ex: libastyle.so.3.0.1 - local libastylename=lib${PN}.so.${PV} - dolib.so ${libastylename} - # ex: libastyle.so.3 - local libdestdir=/usr/$(get_libdir) - dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version) - dosym ${libastylename} ${libdestdir}/lib${PN}.so + local libastylename="lib${PN}.so.${PV}" + local libastylejname="lib${PN}j.so.${PV}" + local libdestdir="${EPREFIX}/usr/$(get_libdir)" + + dolib.so "${libastylename}" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so" if use java ; then - local libastylejname=lib${PN}j.so.${PV} - dolib.so ${libastylejname} - dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version) - dosym ${libastylejname} ${libdestdir}/lib${PN}j.so + dolib.so "${libastylejname}" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(get_major_version)" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" fi if use static-libs ; then dolib.a lib${PN}.a diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild index 5982affd7b5..ed480708102 100644 --- a/dev-util/astyle/astyle-3.1-r2.ebuild +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -52,18 +52,17 @@ src_install() { pushd src/bin >/dev/null || die dobin ${PN} - # ex: libastyle.so.3.0.1 - local libastylename=lib${PN}.so.${PV}.0 - dolib.so ${libastylename} - # ex: libastyle.so.3 - local libdestdir=/usr/$(get_libdir) - dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version) - dosym ${libastylename} ${libdestdir}/lib${PN}.so + local libastylename="lib${PN}.so.${PV}" + local libastylejname="lib${PN}j.so.${PV}" + local libdestdir="${EPREFIX}/usr/$(get_libdir)" + + dolib.so "${libastylename}" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)" + dosym "${libastylename}" "${libdestdir}/lib${PN}.so" if use java ; then - local libastylejname=lib${PN}j.so.${PV}.0 - dolib.so ${libastylejname} - dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version) - dosym ${libastylejname} ${libdestdir}/lib${PN}j.so + dolib.so "${libastylejname}" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so.$(get_major_version)" + dosym "${libastylejname}" "${libdestdir}/lib${PN}j.so" fi if use static-libs ; then dolib.a lib${PN}.a
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 78804d2fb75c184d218506dbac832efc86f3fe11 Author: band-a-prend yandex ru> AuthorDate: Fri May 25 20:09:17 2018 + Commit: Matthias Maier gentoo org> CommitDate: Mon May 28 22:17:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78804d2f dev-util/astyle: spliting into sub-slots As dev-util/astyle-3.1 has changed interfeces compared with -3.0.1 spliting into sub-slots "0/3.0" and "0/3.1" introduced. This can be usefull to rebuild packages that depends on astyle if it's sub-slot updates. E.g. codeblocks-17.12 could use system installed astyle-3.0.x and incompatible with astyle 3.1 without codeblocks Astyle plugin patching. So it's will need to rebuild codeblocks if user for some reason want to have astyle-3.1 and use codeblocks. Also dev-util/astyle-3.0.1-r1.ebuild creates "libastyle.so" symlink now during installation like for dev-util/astyle-3.1 to avoid linking error during compilation with using "-lastyle" key. Signed-off-by: Matthias Maier gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/8585 dev-util/astyle/astyle-3.0.1-r1.ebuild | 90 ++ dev-util/astyle/astyle-3.1-r2.ebuild | 90 ++ 2 files changed, 180 insertions(+) diff --git a/dev-util/astyle/astyle-3.0.1-r1.ebuild b/dev-util/astyle/astyle-3.0.1-r1.ebuild new file mode 100644 index 000..cdc9411aa46 --- /dev/null +++ b/dev-util/astyle/astyle-3.0.1-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" +HOMEPAGE="http://astyle.sourceforge.net/"; +SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" + +LICENSE="MIT" +SLOT="0/3.0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="examples java static-libs" + +DEPEND="app-arch/xz-utils + java? ( >=virtual/jdk-1.6:= )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +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() { + append-cxxflags -std=c++11 + 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) \ + $(usex static-libs static '') +} + +src_install() { + doheader src/${PN}.h + + pushd src/bin >/dev/null || die + dobin ${PN} + + # ex: libastyle.so.3.0.1 + local libastylename=lib${PN}.so.${PV} + dolib.so ${libastylename} + # ex: libastyle.so.3 + local libdestdir=/usr/$(get_libdir) + dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version) + dosym ${libastylename} ${libdestdir}/lib${PN}.so + if use java ; then + local libastylejname=lib${PN}j.so.${PV} + dolib.so ${libastylejname} + dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version) + 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 +} + +pkg_postinst() { + if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then + elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" + elog "for modern use. Some options that were valid in 2.06 or older are now" + elog "deprecated. For more information, consult astyle's release notes at" + elog "http://astyle.sourceforge.net/news.html. To view offline, see:" + elog + elog "${EROOT%/}/usr/share/doc/${P}/html" + fi +} diff --git a/dev-util/astyle/astyle-3.1-r2.ebuild b/dev-util/astyle/astyle-3.1-r2.ebuild new file mode 100644 index 000..5982affd7b5 --- /dev/null +++ b/dev-util/astyle/astyle-3.1-r2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and J
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: ff2aad81bd2f8f0f1447ef358d1c803aa8e8eff6 Author: Matthias Maier gentoo org> AuthorDate: Mon May 28 22:12:42 2018 + Commit: Matthias Maier gentoo org> CommitDate: Mon May 28 22:17:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2aad81 dev-util/astyle: remove unslotted variants Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-util/astyle/astyle-3.0.1.ebuild | 85 -- dev-util/astyle/astyle-3.1-r1.ebuild | 90 2 files changed, 175 deletions(-) diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild deleted file mode 100644 index 369eb7a2300..000 --- a/dev-util/astyle/astyle-3.0.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="http://astyle.sourceforge.net/"; -SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="examples java static-libs" - -DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -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() { - append-cxxflags -std=c++11 - 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) \ - $(usex static-libs static '') -} - -src_install() { - doheader src/${PN}.h - - pushd src/bin >/dev/null || die - dobin ${PN} - - # ex: libastyle.so.3.0.1 - dolib.so lib${PN}.so.${PV} - # ex: libastyle.so.3 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) - if use java ; then - dolib.so lib${PN}j.so.${PV} - dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) - fi - if use static-libs ; then - dolib 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 -} - -pkg_postinst() { - if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then - elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" - elog "for modern use. Some options that were valid in 2.06 or older are now" - elog "deprecated. For more information, consult astyle's release notes at" - elog "http://astyle.sourceforge.net/news.html. To view offline, see:" - elog - elog "${ROOT}usr/share/doc/${P}/html" - fi -} diff --git a/dev-util/astyle/astyle-3.1-r1.ebuild b/dev-util/astyle/astyle-3.1-r1.ebuild deleted file mode 100644 index 75d605a3c89..000 --- a/dev-util/astyle/astyle-3.1-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 - -DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" -HOMEPAGE="http://astyle.sourceforge.net/"; -SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="examples java static-libs" - -DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -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() { - append-cxxflags -std=c++11 - tc-export CXX - default -} - -src_compile() { - # ../build/clang/Makefile is identical except for CXX line. - emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 4b744825d98e0106c681c21b8cb3bea9ce8dfbda Author: Matthias Maier gentoo org> AuthorDate: Mon May 28 22:12:16 2018 + Commit: Matthias Maier gentoo org> CommitDate: Mon May 28 22:17:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b744825 dev-util/astyle: stabilize 3.0.1-r1 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-util/astyle/astyle-3.0.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.0.1-r1.ebuild b/dev-util/astyle/astyle-3.0.1-r1.ebuild index 24d96553a97..2d3fd9cf88c 100644 --- a/dev-util/astyle/astyle-3.0.1-r1.ebuild +++ b/dev-util/astyle/astyle-3.0.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0/3.0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: ec836f1d982ca366a01b0d82fe6b54dd38bbfd36 Author: Virgil Dupras hardcoded net> AuthorDate: Tue Mar 6 17:27:03 2018 + Commit: Amy Liffey gentoo org> CommitDate: Tue Mar 6 17:44:14 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec836f1d dev-util/astyle: install unversioned so files Closes: https://bugs.gentoo.org/647350 Closes: https://github.com/gentoo/gentoo/pull/7160 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-util/astyle/astyle-3.1-r1.ebuild | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-util/astyle/astyle-3.1-r1.ebuild b/dev-util/astyle/astyle-3.1-r1.ebuild index 56d0130f89f..75d605a3c89 100644 --- a/dev-util/astyle/astyle-3.1-r1.ebuild +++ b/dev-util/astyle/astyle-3.1-r1.ebuild @@ -53,12 +53,17 @@ src_install() { dobin ${PN} # ex: libastyle.so.3.0.1 - dolib.so lib${PN}.so.${PV}.0 + local libastylename=lib${PN}.so.${PV}.0 + dolib.so ${libastylename} # ex: libastyle.so.3 - dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) + local libdestdir=/usr/$(get_libdir) + dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version) + dosym ${libastylename} ${libdestdir}/lib${PN}.so if use java ; then - dolib.so lib${PN}j.so.${PV}.0 - dosym lib${PN}j.so.${PV}.0 /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) + local libastylejname=lib${PN}j.so.${PV}.0 + dolib.so ${libastylejname} + dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version) + dosym ${libastylejname} ${libdestdir}/lib${PN}j.so fi if use static-libs ; then dolib.a lib${PN}.a
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 03617dee8f9bf2344793086434cc98bd809e06aa Author: Amy Liffey gentoo org> AuthorDate: Tue Mar 6 15:56:29 2018 + Commit: Amy Liffey gentoo org> CommitDate: Tue Mar 6 16:03:13 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03617dee dev-util/astyle: [QA] fix dolib version for +java - Remove unused eutils eclass Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-util/astyle/{astyle-3.1.ebuild => astyle-3.1-r1.ebuild} | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-util/astyle/astyle-3.1.ebuild b/dev-util/astyle/astyle-3.1-r1.ebuild similarity index 89% rename from dev-util/astyle/astyle-3.1.ebuild rename to dev-util/astyle/astyle-3.1-r1.ebuild index a84f1e30d84..56d0130f89f 100644 --- a/dev-util/astyle/astyle-3.1.ebuild +++ b/dev-util/astyle/astyle-3.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 +inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2 DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" HOMEPAGE="http://astyle.sourceforge.net/"; @@ -57,11 +57,11 @@ src_install() { # ex: libastyle.so.3 dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) if use java ; then - dolib.so lib${PN}j.so.${PV} - dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) + dolib.so lib${PN}j.so.${PV}.0 + dosym lib${PN}j.so.${PV}.0 /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) fi if use static-libs ; then - dolib lib${PN}.a + dolib.a lib${PN}.a fi popd >/dev/null || die if use examples ; then @@ -80,6 +80,6 @@ pkg_postinst() { elog "deprecated. For more information, consult astyle's release notes at" elog "http://astyle.sourceforge.net/news.html. To view offline, see:" elog - elog "${ROOT}usr/share/doc/${P}/html" + elog "${EROOT%/}/usr/share/doc/${P}/html" fi }
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 8d7ceed44f148b52fa76b684354bd5141d9360cf Author: Matthias Maier gentoo org> AuthorDate: Wed Feb 7 00:05:51 2018 + Commit: Matthias Maier gentoo org> CommitDate: Wed Feb 7 00:54:21 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d7ceed4 dev-util/astyle: version bump to 3.1 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/astyle/Manifest | 1 + dev-util/astyle/astyle-3.1.ebuild | 85 +++ 2 files changed, 86 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 7ac39e21069..a5baf609566 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1 +1,2 @@ DIST astyle_3.0.1_linux.tar.gz 172483 BLAKE2B 4c80491cbcc976aa38ff294014df0dc01b39685eafdac6989bea082b1f61120c3985d14ff6db9f76606bbe8da1aaa344c2e0c9c2999a014f5d54384c0420cf97 SHA512 3e8d617c0ec89682bfb076081bb63ae9d44e897de0c85d5109b28adbbfe0620d5dacf59a4bd96ac30a5a4fcb3be136758e9c6fe2c69258b37956c212890a7158 +DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc SHA512 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 diff --git a/dev-util/astyle/astyle-3.1.ebuild b/dev-util/astyle/astyle-3.1.ebuild new file mode 100644 index 000..a84f1e30d84 --- /dev/null +++ b/dev-util/astyle/astyle-3.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" +HOMEPAGE="http://astyle.sourceforge.net/"; +SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="examples java static-libs" + +DEPEND="app-arch/xz-utils + java? ( >=virtual/jdk-1.6:= )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +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() { + append-cxxflags -std=c++11 + 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) \ + $(usex static-libs static '') +} + +src_install() { + doheader src/${PN}.h + + pushd src/bin >/dev/null || die + dobin ${PN} + + # ex: libastyle.so.3.0.1 + dolib.so lib${PN}.so.${PV}.0 + # ex: libastyle.so.3 + dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) + if use java ; then + dolib.so lib${PN}j.so.${PV} + dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) + fi + if use static-libs ; then + dolib 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 +} + +pkg_postinst() { + if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then + elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" + elog "for modern use. Some options that were valid in 2.06 or older are now" + elog "deprecated. For more information, consult astyle's release notes at" + elog "http://astyle.sourceforge.net/news.html. To view offline, see:" + elog + elog "${ROOT}usr/share/doc/${P}/html" + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 6b03d93adfdfcdbc1f1a4be508a9649acacf9eea Author: Matthias Maier gentoo org> AuthorDate: Tue Dec 19 06:49:40 2017 + Commit: Matthias Maier gentoo org> CommitDate: Tue Dec 19 06:50:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b03d93a dev-util/astyle: add myself as maintainer Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-util/astyle/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index 20b3820d15c..0491ce853e3 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + tam...@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
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/, dev-util/astyle/files/
commit: 561b37f68e80a70747ead395c9a5312c522c174e Author: Michael Palimaka gentoo org> AuthorDate: Wed Dec 13 09:02:17 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Wed Dec 13 09:03:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561b37f6 dev-util/astyle: remove old Package-Manager: Portage-2.3.14, Repoman-2.3.6 dev-util/astyle/Manifest | 4 - dev-util/astyle/astyle-2.04-r1.ebuild | 66 - dev-util/astyle/astyle-2.05.1.ebuild | 64 dev-util/astyle/astyle-2.06.ebuild | 64 dev-util/astyle/astyle-3.0.ebuild | 85 -- .../astyle/files/astyle-2.02.1-build_system.patch | 54 -- .../astyle/files/astyle-2.05.1-build_system.patch | 56 -- 7 files changed, 393 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 5ab5f61fc1e..7ac39e21069 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,5 +1 @@ -DIST astyle_2.04_linux.tar.gz 156974 BLAKE2B 44ecccf30c1d43f53fb8077477341eee19cf830c5abe373f6819e6f6732b4e0b1247cbcf38b74a4a8f73f839ea4c57501f5d5efee07e71585afa8596fc68cf4e SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd -DIST astyle_2.05.1_linux.tar.gz 152765 BLAKE2B d69dc1ed854d122743e91516b74261a4ae2b9bc91ed5eb19fb1052694ea1f9cf02cb6d9aad2b0ebe354b47d2fdab2394728f7992bd6aa7db02cbfeb79faba7aa SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 -DIST astyle_2.06_linux.tar.gz 162037 BLAKE2B 73041aad20a1e919c7809711e2be06f671a001370835234fbd087d905a880be2c362cc767439eb5203d9f003df9c323dbd66cfe6fa525c0de3979ed569c114b8 SHA512 e2da96b45d06385b284ed3107309dfa4fad904910a729232bdb8554b40332a673d33e1f153ffb2ebb0342c73098b79980628678be9dde45a4d4d23237fe8a8c5 DIST astyle_3.0.1_linux.tar.gz 172483 BLAKE2B 4c80491cbcc976aa38ff294014df0dc01b39685eafdac6989bea082b1f61120c3985d14ff6db9f76606bbe8da1aaa344c2e0c9c2999a014f5d54384c0420cf97 SHA512 3e8d617c0ec89682bfb076081bb63ae9d44e897de0c85d5109b28adbbfe0620d5dacf59a4bd96ac30a5a4fcb3be136758e9c6fe2c69258b37956c212890a7158 -DIST astyle_3.0_linux.tar.gz 172303 BLAKE2B a89cf52019fcdd8e7954533804c0fa9b9f63802e4e5cb610f539a0187c251680c6c0971293c3ea20b0b9ebb8d3548011ffefe307e281a215db0ea29aa7da6700 SHA512 77ef75139b08a91829373558753d78a3253f23a2a53a81f591d8877ba31b9a5163fbe8453894366aebbe287051259a568e725ee3b5e68d8ed4852a12d7798f9d diff --git a/dev-util/astyle/astyle-2.04-r1.ebuild b/dev-util/astyle/astyle-2.04-r1.ebuild deleted file mode 100644 index 0e5f5d5dfe7..000 --- a/dev-util/astyle/astyle-2.04-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils java-pkg-opt-2 multilib toolchain-funcs - -DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java source code" -HOMEPAGE="http://astyle.sourceforge.net/"; -SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" - -IUSE="doc java static-libs" - -DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6:= )" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${PN} - -pkg_setup() { - java-pkg-opt-2_pkg_setup - tc-export CXX -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.02.1-build_system.patch - 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 -} - -src_compile() { - emake -f ../build/gcc/Makefile -C src \ - ${PN} \ - shared \ - $(usex java java '') \ - $(usex static-libs static '') -} - -src_install() { - insinto /usr/include - doins src/${PN}.h - - pushd src/bin &> /dev/null - dobin ${PN} - - dolib.so lib${PN}.so.0.0.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so - if use java ; then - dolib.so lib${PN}j.so.0.0.0 - dosym lib${PN}j.so.0.0.0 /usr/$(get_libdir)/lib${PN}j.so.0 - dosym lib${PN}j.so.0.0.0 /usr/$(get_libdir)/lib${PN}j.so - fi - if use static-libs ; then - dolib lib${PN}.a - fi - popd &> /dev/null - - use doc && dohtml doc/* -} diff --git a/dev-util/astyle/astyle-2.05.1.ebuild b/dev-util/astyle/astyle-2.05.1.ebuild deleted file mode 100644 index d0921eb8842..000 --- a/dev-util/astyle/astyle-2.05.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 30f416de2cac5c79c18819b27963dd1aadcf9f08 Author: Daniel Campbell gentoo org> AuthorDate: Tue Dec 12 21:33:23 2017 + Commit: Daniel Campbell gentoo org> CommitDate: Tue Dec 12 21:46:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f416de dev-util/astyle: Remove self as maintainer Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-util/astyle/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index 284e178263a..20b3820d15c 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - z...@gentoo.org - Daniel Campbell - + astyle is a code formatter for C, C++, and Java source code, with many granular formatting options to assist in enforcing code formatting
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 906afccc5058a8c73a2121ac8a38e2c35ab99e80 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Aug 29 22:13:36 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Aug 29 23:15:30 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=906afccc dev-util/astyle: x86 stable (bug #626230) Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-util/astyle/astyle-3.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild index 1b0295866be..369eb7a2300 100644 --- a/dev-util/astyle/astyle-3.0.1.ebuild +++ b/dev-util/astyle/astyle-3.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 7e1df81e6530a4c0b3488f20253a0c3a586578dd Author: Tobias Klausmann gentoo org> AuthorDate: Mon Jul 31 12:21:44 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Mon Jul 31 12:56:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e1df81e dev-util/astyle-3.0.1-r0: amd64 stable Gentoo-Bug: 626230 dev-util/astyle/astyle-3.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild index 3919f3a1a7e..1b0295866be 100644 --- a/dev-util/astyle/astyle-3.0.1.ebuild +++ b/dev-util/astyle/astyle-3.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 7c041ef5c71e9801dcbea092373522d21d570ab4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jul 30 10:57:10 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jul 30 10:57:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c041ef5 dev-util/astyle: stable 3.0.1 for ppc/ppc64, bug #626230 Package-Manager: Portage-2.3.6, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc ppc64" dev-util/astyle/astyle-3.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild index 91f94429fc5..3919f3a1a7e 100644 --- a/dev-util/astyle/astyle-3.0.1.ebuild +++ b/dev-util/astyle/astyle-3.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="examples java static-libs" DEPEND="app-arch/xz-utils
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: afde8cea96633a7b9a9c95fa444b7277f04ab11b Author: Daniel Campbell gentoo org> AuthorDate: Fri Jun 23 19:38:09 2017 + Commit: Daniel Campbell gentoo org> CommitDate: Fri Jun 23 19:38:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afde8cea dev-util/astyle: Respect CXX wrt bug 622068 Thanks to mgorny for finding the issue. Gentoo-Bug: 622068 Gentoo-Bug-URL: https://bugs.gentoo.org/622068 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/astyle/astyle-3.0.1.ebuild | 3 ++- dev-util/astyle/astyle-3.0.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild index e32b6189e88..91f94429fc5 100644 --- a/dev-util/astyle/astyle-3.0.1.ebuild +++ b/dev-util/astyle/astyle-3.0.1.ebuild @@ -38,7 +38,8 @@ src_configure() { } src_compile() { - emake -f ../build/gcc/Makefile -C src \ + # ../build/clang/Makefile is identical except for CXX line. + emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ ${PN} \ shared \ $(usev java) \ diff --git a/dev-util/astyle/astyle-3.0.ebuild b/dev-util/astyle/astyle-3.0.ebuild index 4392d25b3df..85544bdc8bb 100644 --- a/dev-util/astyle/astyle-3.0.ebuild +++ b/dev-util/astyle/astyle-3.0.ebuild @@ -38,7 +38,8 @@ src_configure() { } src_compile() { - emake -f ../build/gcc/Makefile -C src \ + # ../build/clang/Makefile is identical except for CXX line. + emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \ ${PN} \ shared \ $(usev java) \
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 78c1b9a8d372476580544910b6e2ffab379c6d54 Author: Daniel Campbell gentoo org> AuthorDate: Sun Jun 18 06:12:26 2017 + Commit: Daniel Campbell gentoo org> CommitDate: Sun Jun 18 06:13:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c1b9a8 dev-util/astyle: version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/astyle/Manifest | 1 + dev-util/astyle/astyle-3.0.ebuild | 84 +++ 2 files changed, 85 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 724f9762026..5579968a746 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,3 +1,4 @@ DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56 DIST astyle_2.06_linux.tar.gz 162037 SHA256 3b7212210dc139e8f648e004b758c0be1b3ceb1694b22a879202d2b833db7c7e SHA512 e2da96b45d06385b284ed3107309dfa4fad904910a729232bdb8554b40332a673d33e1f153ffb2ebb0342c73098b79980628678be9dde45a4d4d23237fe8a8c5 WHIRLPOOL 02696ffbfb7f621d45ff8140f75cda38cce8587349269d9b87aba56a365f4375c7ce1ca67b3c0af8e1c6f627397d016ecc907437b4085599f24d2927b86c7878 +DIST astyle_3.0_linux.tar.gz 172303 SHA256 983e4fe87f20427ddf0d06fa5ba046b5ee95347f9ada33a681af3892426a4ff3 SHA512 77ef75139b08a91829373558753d78a3253f23a2a53a81f591d8877ba31b9a5163fbe8453894366aebbe287051259a568e725ee3b5e68d8ed4852a12d7798f9d WHIRLPOOL a6fb79f6202df85260adbf92ce529efc905bd9aaa093d7fa270d39adf9d34146a365479376dc9271cdc9334cb4f15c782436a1f2d0fdbc03be8a7979c38f23d6 diff --git a/dev-util/astyle/astyle-3.0.ebuild b/dev-util/astyle/astyle-3.0.ebuild new file mode 100644 index 000..4392d25b3df --- /dev/null +++ b/dev-util/astyle/astyle-3.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" +HOMEPAGE="http://astyle.sourceforge.net/"; +SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="examples java static-libs" + +DEPEND="app-arch/xz-utils + java? ( >=virtual/jdk-1.6:= )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +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() { + append-cxxflags -std=c++11 + tc-export CXX + default +} + +src_compile() { + emake -f ../build/gcc/Makefile -C src \ + ${PN} \ + shared \ + $(usev java) \ + $(usex static-libs static '') +} + +src_install() { + doheader src/${PN}.h + + pushd src/bin >/dev/null || die + dobin ${PN} + + # ex: libastyle.so.3.0.0 + dolib.so lib${PN}.so.${PV}.0 + # ex: libastyle.so.3 + dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) + if use java ; then + dolib.so lib${PN}j.so.${PV}.0 + dosym lib${PN}j.so.${PV}.0 /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) + fi + if use static-libs ; then + dolib 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 +} + +pkg_postinst() { + if [[ -n "$REPLACING_VERSIONS" && "$(get_major_version $REPLACING_VERSIONS)" -lt 3 ]]; then + elog "Artistic Style 3.0 introduces new configuration verbiage more fitting" + elog "for modern use. Some options that were valid in 2.06 or older are now" + elog "deprecated. For more information, consult astyle's release notes at" + el
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 24d49748ceeda74990d02ab068dfab92f7d294e7 Author: Daniel Campbell gentoo org> AuthorDate: Sun Jun 18 06:21:18 2017 + Commit: Daniel Campbell gentoo org> CommitDate: Sun Jun 18 06:21:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d49748 dev-util/astyle: version bump (again) Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/astyle/Manifest| 1 + dev-util/astyle/astyle-3.0.1.ebuild | 84 + 2 files changed, 85 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 5579968a746..fba8d49e322 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,4 +1,5 @@ DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56 DIST astyle_2.06_linux.tar.gz 162037 SHA256 3b7212210dc139e8f648e004b758c0be1b3ceb1694b22a879202d2b833db7c7e SHA512 e2da96b45d06385b284ed3107309dfa4fad904910a729232bdb8554b40332a673d33e1f153ffb2ebb0342c73098b79980628678be9dde45a4d4d23237fe8a8c5 WHIRLPOOL 02696ffbfb7f621d45ff8140f75cda38cce8587349269d9b87aba56a365f4375c7ce1ca67b3c0af8e1c6f627397d016ecc907437b4085599f24d2927b86c7878 +DIST astyle_3.0.1_linux.tar.gz 172483 SHA256 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd SHA512 3e8d617c0ec89682bfb076081bb63ae9d44e897de0c85d5109b28adbbfe0620d5dacf59a4bd96ac30a5a4fcb3be136758e9c6fe2c69258b37956c212890a7158 WHIRLPOOL 62f5e81d37f22c45da890cdf7214ce1f7b30db64c29710c217b315d769e0f584eefa6907d2984e3577255ce031d43f90550ba2a5c5664397a651ca0b16d14671 DIST astyle_3.0_linux.tar.gz 172303 SHA256 983e4fe87f20427ddf0d06fa5ba046b5ee95347f9ada33a681af3892426a4ff3 SHA512 77ef75139b08a91829373558753d78a3253f23a2a53a81f591d8877ba31b9a5163fbe8453894366aebbe287051259a568e725ee3b5e68d8ed4852a12d7798f9d WHIRLPOOL a6fb79f6202df85260adbf92ce529efc905bd9aaa093d7fa270d39adf9d34146a365479376dc9271cdc9334cb4f15c782436a1f2d0fdbc03be8a7979c38f23d6 diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild new file mode 100644 index 000..e32b6189e88 --- /dev/null +++ b/dev-util/astyle/astyle-3.0.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 + +DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code" +HOMEPAGE="http://astyle.sourceforge.net/"; +SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="examples java static-libs" + +DEPEND="app-arch/xz-utils + java? ( >=virtual/jdk-1.6:= )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +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() { + append-cxxflags -std=c++11 + tc-export CXX + default +} + +src_compile() { + emake -f ../build/gcc/Makefile -C src \ + ${PN} \ + shared \ + $(usev java) \ + $(usex static-libs static '') +} + +src_install() { + doheader src/${PN}.h + + pushd src/bin >/dev/null || die + dobin ${PN} + + # ex: libastyle.so.3.0.1 + dolib.so lib${PN}.so.${PV} + # ex: libastyle.so.3 + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) + if use java ; then + dolib.so lib${PN}j.so.${PV} + dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version) + fi + if use static-libs ; then + dolib 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 +} + +pkg_postinst() { +
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: e0f1bc85e31e15cbbf39d6a9e1e9263a82c1711b Author: Daniel Campbell gentoo org> AuthorDate: Mon Jan 2 14:35:54 2017 + Commit: Daniel Campbell gentoo org> CommitDate: Mon Jan 2 14:35:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f1bc85 dev-util/astyle: version bump wrt bug 604102 version bump, updated LICENSE to match upstream. Gentoo-Bug: 604102 Gentoo-Bug-URL: https://bugs.gentoo.org/604102 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-util/astyle/Manifest | 1 + dev-util/astyle/astyle-2.06.ebuild | 65 ++ 2 files changed, 66 insertions(+) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 4a8ca9e..724f976 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,2 +1,3 @@ DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56 +DIST astyle_2.06_linux.tar.gz 162037 SHA256 3b7212210dc139e8f648e004b758c0be1b3ceb1694b22a879202d2b833db7c7e SHA512 e2da96b45d06385b284ed3107309dfa4fad904910a729232bdb8554b40332a673d33e1f153ffb2ebb0342c73098b79980628678be9dde45a4d4d23237fe8a8c5 WHIRLPOOL 02696ffbfb7f621d45ff8140f75cda38cce8587349269d9b87aba56a365f4375c7ce1ca67b3c0af8e1c6f627397d016ecc907437b4085599f24d2927b86c7878 diff --git a/dev-util/astyle/astyle-2.06.ebuild b/dev-util/astyle/astyle-2.06.ebuild new file mode 100644 index ..671d30b --- /dev/null +++ b/dev-util/astyle/astyle-2.06.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils java-pkg-opt-2 multilib toolchain-funcs + +DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java source code" +HOMEPAGE="http://astyle.sourceforge.net/"; +SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +IUSE="doc java static-libs" + +DEPEND="app-arch/xz-utils + java? ( >=virtual/jdk-1.6:= )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +pkg_setup() { + java-pkg-opt-2_pkg_setup + tc-export CXX +} + +src_prepare() { + eapply_user + 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 +} + +src_compile() { + emake -f ../build/gcc/Makefile -C src \ + ${PN} \ + shared \ + $(usex java java '') \ + $(usex static-libs static '') +} + +src_install() { + insinto /usr/include + doins src/${PN}.h + + pushd src/bin &> /dev/null + dobin ${PN} + + dolib.so lib${P}.so + dosym lib${P}.so /usr/$(get_libdir)/lib${PN}.so + if use java ; then + dolib.so lib${P}j.so + dosym lib${P}j.so /usr/$(get_libdir)/lib${PN}j.so + fi + if use static-libs ; then + dolib lib${PN}.a + fi + popd &> /dev/null + + use doc && dohtml doc/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 134e1af1b3d426d4fdb4b39de87c9c4805ccc456 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 18 18:34:32 2016 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 18 19:10:41 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134e1af1 dev-util/astyle: Remove type="" from upstream maintainer Remove the type="" attribute from upstream maintainer entry as it is not allowed per GLEP 46 (and GLEP 67 is out of scope). dev-util/astyle/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index 8770e9d..284e178 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -11,7 +11,7 @@ standards in projects. - + jim...@email.com Jim Pattee
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: fb2c6ffe10d63e189d1a52cefcf6ee8ad91e8c9e Author: Daniel Campbell gentoo org> AuthorDate: Sun Mar 6 22:19:55 2016 + Commit: Daniel Campbell gentoo org> CommitDate: Sun Mar 6 22:19:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2c6ffe dev-util/astyle: Cleanup old versions Package-Manager: portage-2.2.27 dev-util/astyle/Manifest | 2 - dev-util/astyle/astyle-2.02.1.ebuild | 71 dev-util/astyle/astyle-2.03.ebuild | 71 3 files changed, 144 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index d036cc3..4a8ca9e 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,4 +1,2 @@ -DIST astyle_2.02.1_linux.tar.gz 153253 SHA256 0bece9a32887e51f42c57617cf7c4f9b63d0a386749fe3a094f5525b639ef953 SHA512 5a156910a2610b1c49bfe78ac237e1bb13e9627912db107ef98fead88a29f000ed355446c033fd052112d54a4f2bbdf3f484ef58b9976c311c06cde951fda274 WHIRLPOOL 96451afd3f4bb6eaa51f33b2f565e545f401973a00ef6653ee4dbeff85ca7c06928e12d54249a8221e881c20f4d1bdea023fbe04ac57631601e15a3453dc2b79 -DIST astyle_2.03_linux.tar.gz 142577 SHA256 22b5249a0b8c9fab3b3bcd467abcb3c6b4a78458b528028634a83dca4c6ca389 SHA512 5f23ef010edba0ddd7377b2a6023a0d97e22f7247e20a0c94d56252fef55b6de291b3c9de67f5ddfa02906cd44470e136ae49e38f7bd2afe65a204245230a579 WHIRLPOOL b97a212dd4c92e24af9c5aa99fafcc5de929e94a81e160244d9cbc66bc7b97e0ca415e21b8e1eae35ef659b42423e1dd9b154fbddf36fef7fc344deca39dc156 DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56 diff --git a/dev-util/astyle/astyle-2.02.1.ebuild b/dev-util/astyle/astyle-2.02.1.ebuild deleted file mode 100644 index 66bf3af..000 --- a/dev-util/astyle/astyle-2.02.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils java-pkg-opt-2 multilib toolchain-funcs - -DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java source code" -HOMEPAGE="http://astyle.sourceforge.net/"; -SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" - -IUSE="doc java static-libs" - -DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6 )" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${PN} - -pkg_setup() { - java-pkg-opt-2_pkg_setup - tc-export CXX -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-build_system.patch - 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 -} - -src_compile() { - local mk_opts="-f ../build/gcc/Makefile -C src" - emake ${mk_opts} ${PN} - emake ${mk_opts} shared - if use java ; then - emake ${mk_opts} java - fi - if use static-libs ; then - emake ${mk_opts} static - fi -} - -src_install() { - insinto /usr/include - doins src/${PN}.h - - pushd src/bin &> /dev/null - dobin ${PN} - - dolib.so lib${PN}.so.0.0.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so - if use java ; then - dolib.so lib${PN}j.so.0.0.0 - dosym lib${PN}j.so.0.0.0 /usr/$(get_libdir)/lib${PN}j.so.0 - dosym lib${PN}j.so.0.0.0 /usr/$(get_libdir)/lib${PN}j.so - fi - if use static-libs ; then - dolib lib${PN}.a - fi - popd &> /dev/null - - use doc && dohtml doc/* -} diff --git a/dev-util/astyle/astyle-2.03.ebuild b/dev-util/astyle/astyle-2.03.ebuild deleted file mode 100644 index a29b397..000 --- a/dev-util/astyle/astyle-2.03.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils java-pkg-opt-2 multilib toolchain-funcs - -DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: cab07b2c7b1884cccec00cdcf84b795076ea3755 Author: Daniel Campbell gentoo org> AuthorDate: Tue Jan 26 00:47:58 2016 + Commit: Daniel Campbell gentoo org> CommitDate: Tue Jan 26 00:50:45 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab07b2c dev-util/astyle: Take ownership of package Package-Manager: portage-2.2.26 dev-util/astyle/metadata.xml | 49 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/dev-util/astyle/metadata.xml b/dev-util/astyle/metadata.xml index c08bb1e..8770e9d 100644 --- a/dev-util/astyle/metadata.xml +++ b/dev-util/astyle/metadata.xml @@ -1,35 +1,22 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - From the web page: - - Artistic Style is a reindenter and reformatter of C++, C and Java source - code. - - When indenting source code, we as programmers have a tendency to use both - spaces and tab characters to create the wanted indentation. Moreover, some - editors by default insert spaces instead of tabs when pressing the tab key, - and other editors (Emacs for example) have the ability to "pretty up" lines - by automatically setting up the white space before the code on the line, - possibly inserting spaces in a code that up to now used only tabs for - indentation. - - Since the NUMBER of space characters showed on screen for each tab character - in the source code changes between editors (until the user sets up the - number to his liking...), one of the standard problems facing programmers - when moving from one source code editor to another is that code containing - both spaces and tabs that was up to now perfectly indented, suddenly becomes - a mess to look at when changing to another editor. Even if you as a - programmer take care to ONLY use spaces or tabs, looking at other peoples - source code can still be problematic. - - To address this problem I have created Artistic Style - a series of filters, - written in C++, that automatically reindent & reformat C/C++/Java source - files. These can be used from a command line, or it can be incorporated as - classes in another C++ program. - - -astyle - + + z...@gentoo.org + Daniel Campbell + + + astyle is a code formatter for C, C++, and Java source code, with many + granular formatting options to assist in enforcing code formatting + standards in projects. + + + + jim...@email.com + Jim Pattee + + astyle + https://sourceforge.net/p/astyle/bugs/ + http://astyle.sourceforge.net/astyle.html +
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/
commit: 308eb27e51ae3f5f4f8f33fa04ca10d9c4f983ee Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Aug 26 10:59:49 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Aug 26 10:59:49 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308eb27e dev-util/astyle: amd64 stable wrt bug #557570 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64" dev-util/astyle/astyle-2.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/astyle/astyle-2.04-r1.ebuild b/dev-util/astyle/astyle-2.04-r1.ebuild index 3ac6b57..b327c6b 100644 --- a/dev-util/astyle/astyle-2.04-r1.ebuild +++ b/dev-util/astyle/astyle-2.04-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc java static-libs"
[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/files/, dev-util/astyle/
commit: f573a07ea65bbbe518d0ce42e0f631630a36069b Author: Matthias Maier gentoo org> AuthorDate: Fri Aug 14 14:19:29 2015 + Commit: Matthias Maier gentoo org> CommitDate: Fri Aug 14 14:19:51 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f573a07e dev-util/astyle: version bump to 2.05.1 (bug #530584) This commit also updates the soname handling (no trailing .0 in soname any more). Special thanks to David Hallas for an initial ebuild update. Gentoo-Bug: 530584 Package-Manager: portage-2.2.20.1 dev-util/astyle/Manifest | 1 + .../{astyle-2.04.ebuild => astyle-2.04-r1.ebuild} | 4 +- .../{astyle-2.04.ebuild => astyle-2.05.1.ebuild} | 16 +++ .../astyle/files/astyle-2.05.1-build_system.patch | 56 ++ 4 files changed, 66 insertions(+), 11 deletions(-) diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest index 6701525..d036cc3 100644 --- a/dev-util/astyle/Manifest +++ b/dev-util/astyle/Manifest @@ -1,3 +1,4 @@ DIST astyle_2.02.1_linux.tar.gz 153253 SHA256 0bece9a32887e51f42c57617cf7c4f9b63d0a386749fe3a094f5525b639ef953 SHA512 5a156910a2610b1c49bfe78ac237e1bb13e9627912db107ef98fead88a29f000ed355446c033fd052112d54a4f2bbdf3f484ef58b9976c311c06cde951fda274 WHIRLPOOL 96451afd3f4bb6eaa51f33b2f565e545f401973a00ef6653ee4dbeff85ca7c06928e12d54249a8221e881c20f4d1bdea023fbe04ac57631601e15a3453dc2b79 DIST astyle_2.03_linux.tar.gz 142577 SHA256 22b5249a0b8c9fab3b3bcd467abcb3c6b4a78458b528028634a83dca4c6ca389 SHA512 5f23ef010edba0ddd7377b2a6023a0d97e22f7247e20a0c94d56252fef55b6de291b3c9de67f5ddfa02906cd44470e136ae49e38f7bd2afe65a204245230a579 WHIRLPOOL b97a212dd4c92e24af9c5aa99fafcc5de929e94a81e160244d9cbc66bc7b97e0ca415e21b8e1eae35ef659b42423e1dd9b154fbddf36fef7fc344deca39dc156 DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe +DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56 diff --git a/dev-util/astyle/astyle-2.04.ebuild b/dev-util/astyle/astyle-2.04-r1.ebuild similarity index 95% copy from dev-util/astyle/astyle-2.04.ebuild copy to dev-util/astyle/astyle-2.04-r1.ebuild index 71a7e6c..3ac6b57 100644 --- a/dev-util/astyle/astyle-2.04.ebuild +++ b/dev-util/astyle/astyle-2.04-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc java static-libs" DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6 )" + java? ( >=virtual/jdk-1.6:= )" RDEPEND="${DEPEND}" S=${WORKDIR}/${PN} diff --git a/dev-util/astyle/astyle-2.04.ebuild b/dev-util/astyle/astyle-2.05.1.ebuild similarity index 73% rename from dev-util/astyle/astyle-2.04.ebuild rename to dev-util/astyle/astyle-2.05.1.ebuild index 71a7e6c..9a0762b 100644 --- a/dev-util/astyle/astyle-2.04.ebuild +++ b/dev-util/astyle/astyle-2.05.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc java static-libs" DEPEND="app-arch/xz-utils - java? ( >=virtual/jdk-1.6 )" + java? ( >=virtual/jdk-1.6:= )" RDEPEND="${DEPEND}" S=${WORKDIR}/${PN} @@ -28,7 +28,7 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}"/${PN}-2.02.1-build_system.patch + epatch "${FILESDIR}"/${P}-build_system.patch java-pkg-opt-2_src_prepare sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \ -e "s:ar crs:$(tc-getAR) crs:" \ @@ -50,13 +50,11 @@ src_install() { pushd src/bin &> /dev/null dobin ${PN} - dolib.so lib${PN}.so.0.0.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so.0 - dosym lib${PN}.so.0.0.0 /usr/$(get_libdir)/lib${PN}.so + dolib.so lib${P}.so + dosym lib${P}.so /usr/$(get_libdir)/lib${PN}.so if use java ; then - dolib.so lib${PN}j.so.0.0.0 - dosym lib${PN}j.so.0.0.0 /usr/$(get_libdir)/lib${PN}j.so.0 - dosym lib${PN}j.so.0.0.0