diff options
author | 2018-06-20 01:04:51 -0500 | |
---|---|---|
committer | 2018-06-20 01:04:51 -0500 | |
commit | 56dce8fc5615cbdb72bde56c8888c0a6f1e629b6 (patch) | |
tree | ac760f36b11c909ff03d7aa2ee29c0bdf7ee902e /dev-lua | |
parent | Ensure that penlight modules get installed to the respective lua-version subd... (diff) | |
download | ag-ops-56dce8fc5615cbdb72bde56c8888c0a6f1e629b6.tar.gz ag-ops-56dce8fc5615cbdb72bde56c8888c0a6f1e629b6.tar.bz2 ag-ops-56dce8fc5615cbdb72bde56c8888c0a6f1e629b6.zip |
added `dev-lua/say` to be checked and updated
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/say/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/say/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/say/say-1.3_p1-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-lua/say/say-1.3_p1.ebuild | 29 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-lua/say/Manifest b/dev-lua/say/Manifest new file mode 100644 index 0000000..20d3795 --- /dev/null +++ b/dev-lua/say/Manifest @@ -0,0 +1,4 @@ +DIST say-1.3_p1.tar.gz 3667 BLAKE2B bd99687a71129c5038749b0a2ea48411a411cf05559793cc0c4802a5b7aa620fbf4fd15ed9ab661b33c7b9f94468aaf9e292d177aca4d1c7cd29009601d015f0 SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 +EBUILD say-1.3_p1-r1.ebuild 861 BLAKE2B 605eda1809eaf8313da50001d3dff8bbc75668ef0b8db6c0c831282297c68cf51134f209f1c77e02de930c6f4575d02b81155f5f2b243bf7de9e927d553b7bb6 SHA512 6ca9cafba5250179d8f61ac48293642cbc8b3a91ec52ed5787dec10af6ffd7c1fdb5564de4d0a16664c8b282b3afcec95b27e31d861b41d8f835b74e189f0a9e +EBUILD say-1.3_p1.ebuild 664 BLAKE2B 23a1ec3ce6ae91d6ee0a79f2b882e49c75b25ac2b6dd45cbbe6c46a44e088f9050120cd21e90b0222e6f7029521a79a3040b4500687fe6aca625cfc0abd287f0 SHA512 348ac3a993aeee0c570dabdf7fc632c8532801620ce384f1b1b8f18b75ee20b6894f0ac1fc0a4d646e6be38df6136f88631f37e26a79275c6f27d8314a486ba8 +MISC metadata.xml 413 BLAKE2B 3d56347a7a9b9dd6d404078d70b4f775c982f957a53f6b49f03392bf814a08ff91b8b2ac8409bdb56b1a343f2bc04eb81578b0297eab33f37459430f2fe37bbb SHA512 c0cd2d55a07c8d7338a274a3a8204bf2c63ad46b4d9b78f720766120af4b28482c3c68df18c1e7dacfe99d3898b4bf680b9692097939cdc820ee5aa9fc11a928 diff --git a/dev-lua/say/metadata.xml b/dev-lua/say/metadata.xml new file mode 100644 index 0000000..3f45427 --- /dev/null +++ b/dev-lua/say/metadata.xml @@ -0,0 +1,14 @@ +<?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"> + Useful for internationalization. + </longdescription> + <upstream> + <remote-id type="github">Olivine-Labs/say</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/say/say-1.3_p1-r1.ebuild b/dev-lua/say/say-1.3_p1-r1.ebuild new file mode 100644 index 0000000..ddf48b6 --- /dev/null +++ b/dev-lua/say/say-1.3_p1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +MY_PV=1.3-1 + +inherit toolchain-funcs + +DESCRIPTION="Lua String Hashing/Indexing Library" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="luajit test" + +RDEPEND=" + !luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +DOCS=( CONTRIBUTING.md README.md ) + +S="${WORKDIR}/${PN}-${MY_PV}" + +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 src/init.lua + einstalldocs +} diff --git a/dev-lua/say/say-1.3_p1.ebuild b/dev-lua/say/say-1.3_p1.ebuild new file mode 100644 index 0000000..edf21e3 --- /dev/null +++ b/dev-lua/say/say-1.3_p1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +MY_PV=1.3-1 + +inherit toolchain-funcs + +DESCRIPTION="Lua String Hashing/Indexing Library" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_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}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} +doins src/init.lua +dodoc CONTRIBUTING.md README.md +} |