diff options
author | 2012-12-05 20:41:24 -0500 | |
---|---|---|
committer | 2012-12-05 20:41:24 -0500 | |
commit | c20e3ba6a1a906e8070dc153768d86d9b7c7628b (patch) | |
tree | b90a38c820fa0ff0cca26c493b8301afb74d58f9 | |
parent | Updating Changelog (diff) | |
download | dMaggot-c20e3ba6a1a906e8070dc153768d86d9b7c7628b.tar.gz dMaggot-c20e3ba6a1a906e8070dc153768d86d9b7c7628b.tar.bz2 dMaggot-c20e3ba6a1a906e8070dc153768d86d9b7c7628b.zip |
Adding version 0.11
-rw-r--r-- | dev-util/gcc-python-plugin/ChangeLog | 4 | ||||
-rw-r--r-- | dev-util/gcc-python-plugin/Manifest | 4 | ||||
-rw-r--r-- | dev-util/gcc-python-plugin/gcc-python-plugin-0.11.ebuild | 95 |
3 files changed, 102 insertions, 1 deletions
diff --git a/dev-util/gcc-python-plugin/ChangeLog b/dev-util/gcc-python-plugin/ChangeLog index a0f9752..e45692b 100644 --- a/dev-util/gcc-python-plugin/ChangeLog +++ b/dev-util/gcc-python-plugin/ChangeLog @@ -1,3 +1,7 @@ +2012-12-05 <david@BlackPearl> + + * gcc-python-plugin-0.11.ebuild (DEPEND): Adding ebuild for version 0.11 + 2012-06-04 <david.narvaez@computer.org> * gcc-python-plugin-9999.ebuild: Adding live ebuild, will no support diff --git a/dev-util/gcc-python-plugin/Manifest b/dev-util/gcc-python-plugin/Manifest index 7ad5eac..df85aa0 100644 --- a/dev-util/gcc-python-plugin/Manifest +++ b/dev-util/gcc-python-plugin/Manifest @@ -3,8 +3,10 @@ AUX gcc-python-plugin-man-target.diff 425 SHA256 a4d2b1270e5f41a669e657cb1b04814 AUX gcc-python-plugin-python3-docs.diff 1103 SHA256 111ef08f5bc6bc37d8db661a11e8105dcd8ee107178165dc0d7e0ffad72973e5 SHA512 e498673528d0c3af1ea7ff141fc308eef455be69f2531e65241cc67b1b532be48b79b57971264e3e8c7622abc2df15fa5ac1fee3710e29392b7d63e34ad5f661 WHIRLPOOL 1a191d3a5d29c37d97c74b2c99a960cd855145ce2a6dfaaf91ab108c62f98eed312ad841d220c4fc74b3f22aa80f00d1f28016bb0cfce5b6aa421a707ff6b652 AUX gcc-with-python 127 SHA256 9b3e8c17f64b6cd59310069628238dce65c0aaba91d55b8b976dd3ab2f876617 SHA512 7005cfd21e60129ccb00e9c9bb7de5f02c8315b403c680b88ec05fd75622c783ebaeeb4778ec60792dba74eb7e14f5b2fff6c180a9b16826cb81f3380d2b94f3 WHIRLPOOL d5aa88eef40bd975478fc668ad0a5d155eb430e9216ea1508f6a97ab4e41f171aca8eba86704859d2cb92cde7424ef8dfaee9386af38ef7232812475a1e99c4d DIST gcc-python-plugin-0.10.tar.gz 836437 SHA256 1f12bb252394cb3ea6218e76fca126820b4c65d0abe16d94345cb66a50018ab8 SHA512 fae932f2ee1956eb36b3a68977823279f3f7192c7cb617ca1d5dc1b51cbfc7dad71bec0f69c3b897c49446d444625c8c6736fcbb1aae93262202b9d74dc229ad WHIRLPOOL 08c3e642f195f95dcb35960fe8bd79d6a3bd5daab67812f355b90d11584602cb8952e15fce54197d8dc408ef57661515cca3946759c3f3e2a7ecfef864f25f4d +DIST gcc-python-plugin-0.11.tar.gz 839171 SHA256 8015ffe2c09123b74c194b8a390ec3584ef8b2f02990d4ad033a1f7759f1eb79 SHA512 0a7966617690df7ca322f4ed197713444d4f12ff95c37d76ab609a49f4e1c08351e5185eeefdff7f99c23683dd1ae78020d53c01e4c5b29fae0d402a8142a2b6 WHIRLPOOL 1154c55853f70daa0e070244c84cfae5a5561500e0827248e77bcab190e806488dcd527cc65cfc01ba95991a42ec3409b43c7610563e4e151d00f5c85f940b16 DIST gcc-python-plugin-0.9.tar.gz 660168 SHA256 4559d5c31fdb3394563931f1dfd4f69f35b48ec0ad8b3d0d9921389429cbe82a EBUILD gcc-python-plugin-0.10.ebuild 2181 SHA256 2fe5d35bcf2d1be069dc0aebe0921d30e4aeec8fa2b3593963d5e968f443ff6e SHA512 9ced3cd44bf91d3bfe723747f1f0d6217e717353bd542caae68968018c2fd7919ba0e50e832afe65a81de261bc3251a28f486a6d971aa34f58cc3bd8ab65d47a WHIRLPOOL 86cbeeadad33d009277815a3e80ba9c17ac6f4a3649805d85b1f0ebbab2fc01b4f8f734f78a739c1aebd44fa89289af4973c1dd70cbadebecc726237b7aab8f5 +EBUILD gcc-python-plugin-0.11.ebuild 1987 SHA256 e43533d73b7a4ab40dcdfd8b718c8b8f4277a4d0d8270fd0469526b9237e1253 SHA512 99059869f24badfb22db34627c30b98c0c7e957efe32ae7fba8794fd9e36dcaf108a0fb6588c3d231d1f8aea4202fe55a0fc15f4a2c80927cb3879820a7412f6 WHIRLPOOL 6a415b8b3649e7086986faf0f7da586a5040622e101fa36501afdcd102b2ba4ebebf1335d53deb134057e9633b0ff4dbd09ce9dea4621ffda67982184b066ec0 EBUILD gcc-python-plugin-0.9.ebuild 2089 SHA256 9ac645782c845f852f7763e923d8f5d61ba0aebaa7fe00791b3c162172955973 SHA512 0a54144e81022a4405fac1d368025d444434dc75b5e54b8d8b8fd1451d40edf1b900f3c220ea6556efe553625e4c30c4f84cd0ee4ede114a576c809ab162b3df WHIRLPOOL d10c48e228400f75098cb8597afab60f06e42907aaa8b7ea657c21fb1b956639e768f00237ea04568f7b46037de2f973abec48661986bed59463465c5e6030ad EBUILD gcc-python-plugin-9999.ebuild 1934 SHA256 2abe5332c50d51a6f3455886735b24df57cceedbd26284e76a7d2fbd20b63efd SHA512 0144a856487aaccbad8ec54616ed2658ea22b681a15bd0e22d3e16b97c2eda9207aa2736084e05085ed888c32beadedd3ef9085618e66f160dad455b46439f1c WHIRLPOOL 804420b6bd877cfb035696beda38b5e83c04f529818dcb20ba88c230d98d348aaf1b1141fd5c85edbe6523e62970cf51dd8f52dfe01564068a741500d6043571 -MISC ChangeLog 318 SHA256 3064b62e222e92ce3d5e2c81a72a20667d12444025acdd2bcf933070eaf16f8f SHA512 8e0d39c3da4cb18fe3b949b5c683b8a1cf51de52d9e1049238aab6f00b94bcfc3676b7605c58530841dcd40a152ef58e1163b1f3bf6178f42c01194a4dcd3bcb WHIRLPOOL b687d35f034541df7f898a80987e9c9006b10432b51954daad340c54bafcafc7ac9021c1acc5245e30a01bf7bda5c294e160c3d7bcd9a5ca956ae48ddac509b1 +MISC ChangeLog 431 SHA256 8806c4c0ad1459d07c5430470c59ad543cff0892930dfe5386033955ba0a53a6 SHA512 9fb5fe8225aa029123c097b92d3695438bc4ee7389894fa525e70a367c2e4a5f84a0fcfe85ea8c16b594cd0bfc929297183acd6da21eda5ceeeac5c5acb5c9d6 WHIRLPOOL c959f97ca9a8b69a0751183d4652edd718eac78b3691fc8af403fbdd9ff28dfc19f3a5f734d2819619ce874894164ff529d45881509bd89752d74fee7a5fda28 diff --git a/dev-util/gcc-python-plugin/gcc-python-plugin-0.11.ebuild b/dev-util/gcc-python-plugin/gcc-python-plugin-0.11.ebuild new file mode 100644 index 0000000..0fca37e --- /dev/null +++ b/dev-util/gcc-python-plugin/gcc-python-plugin-0.11.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="*" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" + +inherit python toolchain-funcs versionator eutils + +DESCRIPTION="GCC Python plugin for static analysis" +HOMEPAGE="https://fedorahosted.org/gcc-python-plugin" +SRC_URI="https://fedorahosted.org/releases/g/c/gcc-python-plugin/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +DEPEND="${DEPEND} +>=sys-devel/gcc-4.6 +dev-python/six +dev-python/pygments +media-gfx/graphviz +doc? ( + dev-python/sphinx + dev-python/pycairo +) +" + +RDEPEND="${DEPEND}" + +DEPEND="${DEPEND} +doc? ( + dev-python/sphinx + dev-python/pycairo +) +" + +src_configure() { + return +} + +src_compile() { + rename_items() { + PLUGIN_NAME="python$(python_get_version --major)" + GCC_WITH_PYTHON_SCRIPT_NAME="gcc-with-${PLUGIN_NAME}" + + cp python.so "${PLUGIN_NAME}.so" + cp gcc-with-python "${GCC_WITH_PYTHON_SCRIPT_NAME}" + sed -i -e"s|-fplugin=[^ ]*|-fplugin=${PLUGIN_NAME}|" "${GCC_WITH_PYTHON_SCRIPT_NAME}" + sed -i -e"s|-fplugin-arg-python-script|-fplugin-arg-${PLUGIN_NAME}-script|" "${GCC_WITH_PYTHON_SCRIPT_NAME}" + } + + python_execute_function -d -s plugin + python_execute_function -s rename_items + + cd "${WORKDIR}/${P}-$(python_get_version -f)" + + emake man + + if use doc; then + emake html + fi +} + +src_test() { + emake testcpybuilder test-suite testcpychecker +} + +src_install() { + GCC_PLUGIN_DIR="$(gcc --print-file-name=plugin)" + + install_plugin_files() { + dobin "gcc-with-python$(python_get_version --major)" + insinto "${GCC_PLUGIN_DIR}" + doins "python$(python_get_version --major).so" + insinto "$(python_get_sitedir)" + doins gccutils.py + doins -r libcpychecker + } + + python_execute_function -s install_plugin_files + dobin "${FILESDIR}/gcc-with-python" + + cd "${WORKDIR}/${P}-$(python_get_version -f)" + + doman docs/_build/man/* + + if use doc; then + dodoc -r examples + dodoc -r docs/_build/html + fi +} |