From 1f22c5938251335f631df6bd6abfc380b3f8ed31 Mon Sep 17 00:00:00 2001 From: eroen Date: Mon, 13 May 2013 14:13:12 +0200 Subject: added lci-0.11.1 and -9999 --- dev-lang/lci/Manifest | 4 ++++ dev-lang/lci/lci-0.11.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ dev-lang/lci/lci-9999.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ dev-lang/lci/metadata.xml | 12 ++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 dev-lang/lci/Manifest create mode 100644 dev-lang/lci/lci-0.11.1.ebuild create mode 100644 dev-lang/lci/lci-9999.ebuild create mode 100644 dev-lang/lci/metadata.xml (limited to 'dev-lang') diff --git a/dev-lang/lci/Manifest b/dev-lang/lci/Manifest new file mode 100644 index 0000000..f735223 --- /dev/null +++ b/dev-lang/lci/Manifest @@ -0,0 +1,4 @@ +DIST v0.11.1.tar.gz 291577 SHA256 190e87db40d7584c47e444c645aa61432f0b2f9de38c854e1abca309ce9021e1 SHA512 0a8910aa440cbd4753f9946b6c5d42ff1ce3a1102b5b670db4c356f6b69d3432feefcd6002eb0833fd14aba5aa5ebf72647b77557851ee9a3b4a477f2dc41d02 WHIRLPOOL 7480979c5c1e6c64b12db3df9a1d4baee7b0aa8a309e46718a6b73b32828efb819fd056d295142a60335a43c6b3583efb85682da8e788d17a815cb7e04e98e77 +EBUILD lci-0.11.1.ebuild 869 SHA256 7a6e6f3ba8c34cffa61a89aa4bb0bf40b7b80e1343dc0076791c85dbfaacc93d SHA512 df825148bb7064180f26fcbfa7e1563eb434566414bbe0543d061b461c7f7c2f23aa979dcc67d7bef7c16968010288c48a7a74a700e27159b21fa6d904c10b01 WHIRLPOOL 50c22103741b04105ff9caf733c476084b9b3f33afdfda0f8332ce7c1e0ebd88f81d9d5744ffad8b8c03fa2bd63a098829eb5d95a75d80b252ce7ac540bdac46 +EBUILD lci-9999.ebuild 869 SHA256 7a6e6f3ba8c34cffa61a89aa4bb0bf40b7b80e1343dc0076791c85dbfaacc93d SHA512 df825148bb7064180f26fcbfa7e1563eb434566414bbe0543d061b461c7f7c2f23aa979dcc67d7bef7c16968010288c48a7a74a700e27159b21fa6d904c10b01 WHIRLPOOL 50c22103741b04105ff9caf733c476084b9b3f33afdfda0f8332ce7c1e0ebd88f81d9d5744ffad8b8c03fa2bd63a098829eb5d95a75d80b252ce7ac540bdac46 +MISC metadata.xml 424 SHA256 99bb98d385e695a229a23cb53cc667811a7165feb0051534e02030c165523250 SHA512 1b811d2ea178b7b43d601c2d028d4eceef83f59c917e2736984b0e21014919b7b9ec893c9dc4136417d9bbd7385023b10d058fb4e3abd7b2c1fe6c784b789f8c WHIRLPOOL 5d6c363bd09cf70fb7ea4fa46643afb8f2a8b75a0ab49942c9b6c621452410b2a84a40c85ca311095a002b0692066b4f4eb63c3e361e0d4a4036a433484af1db diff --git a/dev-lang/lci/lci-0.11.1.ebuild b/dev-lang/lci/lci-0.11.1.ebuild new file mode 100644 index 0000000..37f7258 --- /dev/null +++ b/dev-lang/lci/lci-0.11.1.ebuild @@ -0,0 +1,40 @@ +# By eroen, 2013 +# Distributed under the terms of the ISC licence +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT="python2_7" +inherit eutils python-single-r1 cmake-utils + +DESCRIPTION="LOLCODE interpreter written in C" +HOMEPAGE="http://lolcode.org/" +LICENSE="GPL-3+" +SLOT="0" +IUSE="test memtest" + +if [[ ${PV} == 9999 ]]; then + inherit git-2 + EGIT_REPO_URI=https://github.com/justinmeza/lci.git +else + SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +HDEPEND="test? ( + virtual/python-argparse[${PYTHON_USEDEP}] + memtest? ( dev-util/valgrind ) )" +LIBDEPEND="" +DEPEND="${LIBDEPEND}" +RDEPEND="${LIBDEPEND}" +[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" + +src_prepare() { + epatch_user + python_fix_shebang test/testDriver.py +} + +src_configure() { + mycmakeargs=($(cmake-utils_use memtest PERFORM_MEM_TESTS:BOOL)) + cmake-utils_src_configure +} diff --git a/dev-lang/lci/lci-9999.ebuild b/dev-lang/lci/lci-9999.ebuild new file mode 100644 index 0000000..37f7258 --- /dev/null +++ b/dev-lang/lci/lci-9999.ebuild @@ -0,0 +1,40 @@ +# By eroen, 2013 +# Distributed under the terms of the ISC licence +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT="python2_7" +inherit eutils python-single-r1 cmake-utils + +DESCRIPTION="LOLCODE interpreter written in C" +HOMEPAGE="http://lolcode.org/" +LICENSE="GPL-3+" +SLOT="0" +IUSE="test memtest" + +if [[ ${PV} == 9999 ]]; then + inherit git-2 + EGIT_REPO_URI=https://github.com/justinmeza/lci.git +else + SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +HDEPEND="test? ( + virtual/python-argparse[${PYTHON_USEDEP}] + memtest? ( dev-util/valgrind ) )" +LIBDEPEND="" +DEPEND="${LIBDEPEND}" +RDEPEND="${LIBDEPEND}" +[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" + +src_prepare() { + epatch_user + python_fix_shebang test/testDriver.py +} + +src_configure() { + mycmakeargs=($(cmake-utils_use memtest PERFORM_MEM_TESTS:BOOL)) + cmake-utils_src_configure +} diff --git a/dev-lang/lci/metadata.xml b/dev-lang/lci/metadata.xml new file mode 100644 index 0000000..72ab7a5 --- /dev/null +++ b/dev-lang/lci/metadata.xml @@ -0,0 +1,12 @@ + + + + + lci is a LOLCODE interpreter written in C and is designed to be correct, + portable, fast, and precisely documented. + + + Perform memory tests with dev-util/valgrind. Takes a while. + + + -- cgit v1.2.3-65-gdbad