diff options
author | eroen <eroen-overlay@occam.eroen.eu> | 2016-10-17 19:03:02 +0200 |
---|---|---|
committer | eroen <eroen-overlay@occam.eroen.eu> | 2016-10-20 19:32:18 +0200 |
commit | 84e59d13983a9b30e9fabab510d0e2477e07e031 (patch) | |
tree | 05ab224f994998bf9ca2dd3309f487e752aba547 /dev-lang | |
parent | covim - enable single dev-python/twisted package (diff) | |
download | eroen-84e59d13983a9b30e9fabab510d0e2477e07e031.tar.gz eroen-84e59d13983a9b30e9fabab510d0e2477e07e031.tar.bz2 eroen-84e59d13983a9b30e9fabab510d0e2477e07e031.zip |
lci-0.11.2 - bump
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/lci/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/lci/lci-0.11.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-lang/lci/Manifest b/dev-lang/lci/Manifest index c9da781..4d55da5 100644 --- a/dev-lang/lci/Manifest +++ b/dev-lang/lci/Manifest @@ -1 +1,2 @@ +DIST lci-0.11.2.tar.gz 312257 SHA256 cb1065936d3a7463928dcddfc345a8d7d8602678394efc0e54981f9dd98c27d2 SHA512 37e94cb6c51c0a41e6cc8953c5314b0f25a898f853053f748ad09af82f9c1948054866f7f2cee8e9f9c517a05bd7b367ea44f73aa74f63719ea25d9e0f507a73 WHIRLPOOL b7532b983b9a2ca7c4a4d431a09c1082091b33716a63941b52e10d8d83af58bf35d1a08d50dc510b998c21a826cdad2cd42606cefbdff21cb855524defa4d557 DIST v0.11.1.tar.gz 291577 SHA256 190e87db40d7584c47e444c645aa61432f0b2f9de38c854e1abca309ce9021e1 SHA512 0a8910aa440cbd4753f9946b6c5d42ff1ce3a1102b5b670db4c356f6b69d3432feefcd6002eb0833fd14aba5aa5ebf72647b77557851ee9a3b4a477f2dc41d02 WHIRLPOOL 7480979c5c1e6c64b12db3df9a1d4baee7b0aa8a309e46718a6b73b32828efb819fd056d295142a60335a43c6b3583efb85682da8e788d17a815cb7e04e98e77 diff --git a/dev-lang/lci/lci-0.11.2.ebuild b/dev-lang/lci/lci-0.11.2.ebuild new file mode 100644 index 0000000..17931d9 --- /dev/null +++ b/dev-lang/lci/lci-0.11.2.ebuild @@ -0,0 +1,61 @@ +# By eroen <eroen-overlay@occam.eroen.eu>, 2013 - 2016 +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. + +EAPI=6 + +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 cmake-utils + +DESCRIPTION="LOLCODE interpreter written in C" +HOMEPAGE="http://lolcode.org https://github.com/justinmeza/lci" +LICENSE="GPL-3+" +SLOT="0" +IUSE="doc memtest test" + +if [[ ${PV} == 9999 ]]; then + inherit git-3 + EGIT_REPO_URI=https://github.com/justinmeza/lci.git +else + SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz -> $P.tar.gz" + KEYWORDS="~amd64" +fi + +RDEPEND="" +DEPEND=" + doc? ( app-doc/doxygen ) + test? ( + ${PYTHON_DEPS} + memtest? ( dev-util/valgrind ) )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + use test && python_fix_shebang test/testDriver.py + + # broken for out-of-source builds + sed -e '/PROJECT_LOGO/d' \ + -i Doxyfile || die +} + +src_configure() { + local mycmakeargs=( + "-DPERFORM_MEM_TESTS:BOOL=$(usex test "$(usex memtest)")" + ) + einfo $mymakeargs + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile docs +} + +src_install() { + cmake-utils_src_install + dodoc -r "$BUILD_DIR/html" +} |