diff options
Diffstat (limited to 'dev-lua/luassert')
-rw-r--r-- | dev-lua/luassert/Manifest | 6 | ||||
-rw-r--r-- | dev-lua/luassert/luassert-1.7.10.ebuild | 38 | ||||
-rw-r--r-- | dev-lua/luassert/luassert-1.7.9.ebuild | 27 | ||||
-rw-r--r-- | dev-lua/luassert/metadata.xml | 19 |
4 files changed, 90 insertions, 0 deletions
diff --git a/dev-lua/luassert/Manifest b/dev-lua/luassert/Manifest new file mode 100644 index 000000000000..04eef8c4be88 --- /dev/null +++ b/dev-lua/luassert/Manifest @@ -0,0 +1,6 @@ +DIST luassert-1.7.10.tar.gz 35789 SHA256 f9f8347727c2a4aa8af30d88a0de0314f04cd681b60430e24f6ec0ed393e12e1 SHA512 2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05 WHIRLPOOL 15c67d24a151998373f6afdc434b1b603d9944a901ec7cf3337dd35c9420b8801fb89fc80a579307e8f95255adc2d636be139025f546698a2421757c5d6c63b6 +DIST luassert-1.7.9.tar.gz 34803 SHA256 e632e3f4819badc4906370242b652d5c912317e735b0ccc8c4d5c851591ff161 SHA512 4e1257bf7adaa9002af7c6ac15f2d042c9094ceeae9ce065c51296c663a99fa239ac8d37f106151100478cde8c68d3290b42588553ac681d183e7edef288414b WHIRLPOOL 0e9d848c3d7ae29dd444504814f3c4ba7d00994d766a3aea560e5a4cd8ee479dd35a64fe3b43b7ad6eaf869e70357658f6208e3f3aa5a729becb0bab3bb19aeb +EBUILD luassert-1.7.10.ebuild 838 SHA256 c67f10b266af9b9737556f904b366cf796da44990e1e852ef9495cfffca8fb11 SHA512 1a2486a94256fb08c0de62902a06192bf0fe66a56fa170272d2f04d9b7c862e3508c8a288f416f740982a95a2cf0e7b8f2a52af0cb2edfc1ca12ccc4f4e747fc WHIRLPOOL cddaa3610a75fec7ae8c3efe610f3748f4cdf40985055300cc5581689c90a683660225ff310bbafe289550aa57734b69b1b3b3d615caf906a646145cc480b0e7 +EBUILD luassert-1.7.9.ebuild 609 SHA256 7e10cb79a6b456526b903a2618ed3ef3e804249d48b84a648193a496f748aa72 SHA512 920ca16cdb8eb819218d6eeaf97fcfb18777f68963cc79249622e856b7ef35cc8231e7436c8cb84a673ea50ce20dd95960834be0f19d71c2041e827a3f51bd9d WHIRLPOOL a16e377b0fa2daf51dd61eda62bfba352d9e846bfd42b45db9c7f6c731a54185d30dd42646f63fea250b3d53c3e91c679ceb9c04fb86729265012103e0678283 +MISC ChangeLog 1076 SHA256 2cc48f00b5be8d3678110a3d1c21e472307df8f091072f6a80448e7604ec2429 SHA512 5b1eac5412ab05d908e4f55693ac56872108216e25ee841bd29571ac2882fbabac67c19b1f7fe3e3fefbdd53e02b5f1ac964026156394d30498b80858a4bc7a0 WHIRLPOOL c75a55dcb9fd0f3f719a7dda6b9d9c52d9f560f9e4bd3c6db60e1af8f5a0a657a8cc3046a4136dec7695fa04daec5a0bec62780eaa14020aebcc0d6a355d56d9 +MISC metadata.xml 609 SHA256 6fb140ea18be848b56c110c8f49b7b32f623de797c2219b7cb2d5b0164723ef4 SHA512 0f1e3f19bf6aee8354b31c70e821577da91825cb42e848410f91cbea2123c82ae6d7518b14b95ba995ed186cc0de7c6380c09943cedf511cb471ccc0b6d0fe0e WHIRLPOOL fe08a152ed3e611b8180a54e9e1b6aaed2abaeb23c272f7a9fbce782c7cbf17a34791d51fe881e68ac2b739bfc7db4d101a34339bddac0801f5a8ba4a42465f0 diff --git a/dev-lua/luassert/luassert-1.7.10.ebuild b/dev-lua/luassert/luassert-1.7.10.ebuild new file mode 100644 index 000000000000..cc60c96aaf5c --- /dev/null +++ b/dev-lua/luassert/luassert-1.7.10.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Lua Assertions Extension" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="luajit test" + +CDEPEND=" + !luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2 )" +RDEPEND="${CDEPEND} + >=dev-lua/say-1.2_p1[luajit=]" +DEPEND="${CDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +DOCS=( CONTRIBUTING.md README.md ) + +src_test() { + busted -o gtest || die +} + +src_install() { + local instdir + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"/${PN} + insinto "${instdir#${EPREFIX}}" + doins -r src/* + einstalldocs +} diff --git a/dev-lua/luassert/luassert-1.7.9.ebuild b/dev-lua/luassert/luassert-1.7.9.ebuild new file mode 100644 index 000000000000..82b2bca8d3da --- /dev/null +++ b/dev-lua/luassert/luassert-1.7.9.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Lua Assertions Extension" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1:=" +DEPEND="${COMMON_DEPEND} +virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + >=dev-lua/say-1.2_p1" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} + doins -r src/* + dodoc *.md +} diff --git a/dev-lua/luassert/metadata.xml b/dev-lua/luassert/metadata.xml new file mode 100644 index 000000000000..8f62d93090bd --- /dev/null +++ b/dev-lua/luassert/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + Adds a framework that allows registering new assertions + without compromising builtin assertion functionality. + </longdescription> + <use> + <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of + <pkg>dev-lang/lua</pkg></flag> + </use> + <upstream> + <remote-id type="github">Olivine-Labs/luassert</remote-id> + </upstream> +</pkgmetadata> |