diff options
author | 2018-02-17 19:52:09 +0700 | |
---|---|---|
committer | 2018-02-17 19:52:09 +0700 | |
commit | 06dd40f643e0fca608d8e77bd4d19ad64d1431e9 (patch) | |
tree | 68fa8ace46b1c93f8bc8efc89b116ce37a73dc20 | |
parent | lyaml: fixed (thanks @gvvaughan for describing the buildsystem specialities, ... (diff) | |
download | lua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.tar.gz lua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.tar.bz2 lua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.zip |
lua-std-*: added; specl: supposed to be a fix, but not yet (see gvvaughan/specl#28 )
-rw-r--r-- | dev-lua/lua-std-debug/lua-std-debug-9999.ebuild | 38 | ||||
-rw-r--r-- | dev-lua/lua-std-debug/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/lua-std-functional/lua-std-functional-9999.ebuild | 35 | ||||
-rw-r--r-- | dev-lua/lua-std-functional/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/lua-std-normalize/lua-std-normalize-9999.ebuild | 35 | ||||
-rw-r--r-- | dev-lua/lua-std-normalize/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild | 35 | ||||
-rw-r--r-- | dev-lua/lua-std-prototype/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/lua-std-strict/lua-std-strict-9999.ebuild | 34 | ||||
-rw-r--r-- | dev-lua/lua-std-strict/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/specl/specl-9999.ebuild | 23 |
11 files changed, 253 insertions, 17 deletions
diff --git a/dev-lua/lua-std-debug/lua-std-debug-9999.ebuild b/dev-lua/lua-std-debug/lua-std-debug-9999.ebuild new file mode 100644 index 0000000..a2f520f --- /dev/null +++ b/dev-lua/lua-std-debug/lua-std-debug-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="lua-stdlib" +GITHUB_PN="_${PN#lua-std-}" + +inherit lua + +DESCRIPTION="Debug Hints Library" +HOMEPAGE="https://github.com/lua-stdlib/_debug" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +lua_add_bdepend "doc? ( dev-lua/ldoc )" + +HTML_DOCS=(doc/.) +DOCS=(README.md NEWS.md) + +all_lua_prepare() { + lua_default +} + +each_lua_compile() { + if [[ "${PV}" == "9999" ]]; then + ver="git:$(git rev-parse --short @):${LUA_IMPL}" + fi + lua_default +} + +each_lua_install() { + dolua lib/std +} diff --git a/dev-lua/lua-std-debug/metadata.xml b/dev-lua/lua-std-debug/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/lua-std-debug/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> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/dev-lua/lua-std-functional/lua-std-functional-9999.ebuild b/dev-lua/lua-std-functional/lua-std-functional-9999.ebuild new file mode 100644 index 0000000..206f8e2 --- /dev/null +++ b/dev-lua/lua-std-functional/lua-std-functional-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="lua-stdlib" +GITHUB_PN="${PN#lua-std-}" + +inherit lua + +DESCRIPTION="Functional Programming with Lua" +HOMEPAGE="https://github.com/lua-stdlib/functional" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +HTML_DOCS=(doc/.) +DOCS=(README.md NEWS.md) + +lua_add_bdepend "doc? ( dev-lua/ldoc )" +lua_add_rdepend "dev-lua/lua-std-normalize" + +each_lua_compile() { + if [[ "${PV}" == "9999" ]]; then + ver="git:$(git rev-parse --short @):${LUA_IMPL}" + fi + lua_default +} + +each_lua_install() { + dolua lib/std +} diff --git a/dev-lua/lua-std-functional/metadata.xml b/dev-lua/lua-std-functional/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/lua-std-functional/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> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/dev-lua/lua-std-normalize/lua-std-normalize-9999.ebuild b/dev-lua/lua-std-normalize/lua-std-normalize-9999.ebuild new file mode 100644 index 0000000..05316b2 --- /dev/null +++ b/dev-lua/lua-std-normalize/lua-std-normalize-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="lua-stdlib" +GITHUB_PN="${PN#lua-std-}" + +inherit lua + +DESCRIPTION="normalized Lua functions" +HOMEPAGE="https://github.com/lua-stdlib/normalize" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +HTML_DOCS=(doc/.) +DOCS=(README.md NEWS.md) + +lua_add_bdepend "doc? ( dev-lua/ldoc )" +lua_add_rdepend "dev-lua/lua-std-debug" + +each_lua_compile() { + if [[ "${PV}" == "9999" ]]; then + ver="git:$(git rev-parse --short @):${LUA_IMPL}" + fi + lua_default +} + +each_lua_install() { + dolua lib/std +} diff --git a/dev-lua/lua-std-normalize/metadata.xml b/dev-lua/lua-std-normalize/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/lua-std-normalize/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> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild b/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild new file mode 100644 index 0000000..4b9ab04 --- /dev/null +++ b/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="lua-stdlib" +GITHUB_PN="${PN#lua-std-}" + +inherit lua + +DESCRIPTION="Prototype Oriented Programming with Lua" +HOMEPAGE="https://github.com/lua-stdlib/prototype" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +HTML_DOCS=(doc/.) +DOCS=(README.md NEWS.md) + +lua_add_bdepend "doc? ( dev-lua/ldoc )" +lua_add_rdepend "dev-lua/lua-std-normalize" + +each_lua_compile() { + if [[ "${PV}" == "9999" ]]; then + ver="git:$(git rev-parse --short @):${LUA_IMPL}" + fi + lua_default +} + +each_lua_install() { + dolua lib/std +} diff --git a/dev-lua/lua-std-prototype/metadata.xml b/dev-lua/lua-std-prototype/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/lua-std-prototype/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> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/dev-lua/lua-std-strict/lua-std-strict-9999.ebuild b/dev-lua/lua-std-strict/lua-std-strict-9999.ebuild new file mode 100644 index 0000000..6b7e511 --- /dev/null +++ b/dev-lua/lua-std-strict/lua-std-strict-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="lua-stdlib" +GITHUB_PN="${PN#lua-std-}" + +inherit lua + +DESCRIPTION="Check for use of undeclared variables" +HOMEPAGE="https://github.com/lua-stdlib/strict" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +HTML_DOCS=(doc/.) +DOCS=(README.md NEWS.md) + +lua_add_bdepend "doc? ( dev-lua/ldoc )" + +each_lua_compile() { + if [[ "${PV}" == "9999" ]]; then + ver="git:$(git rev-parse --short @):${LUA_IMPL}" + fi + lua_default +} + +each_lua_install() { + dolua lib/std +} diff --git a/dev-lua/lua-std-strict/metadata.xml b/dev-lua/lua-std-strict/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/lua-std-strict/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> + <email>mva@mva.name</email> + <description> + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + </description> + <name>Vadim A. Misbakh-Soloviov</name> +</maintainer> +<longdescription>FIXME</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/dev-lua/specl/specl-9999.ebuild b/dev-lua/specl/specl-9999.ebuild index 27c3989..5d948a9 100644 --- a/dev-lua/specl/specl-9999.ebuild +++ b/dev-lua/specl/specl-9999.ebuild @@ -16,24 +16,13 @@ SLOT="0" KEYWORDS="" IUSE="doc" -RDEPEND=" - dev-lua/luamacro - dev-lua/lyaml -" -DEPEND=" - ${RDEPEND} -" +lua_add_rdepend dev-lua/luamacro +lua_add_rdepend dev-lua/lyaml +lua_add_bdepend dev-lua/lyaml +lua_add_bdepend dev-lua/lua-std-normalize DOCS=(README.md doc/specl.md NEWS.md) -HTML_DOCS=(html/.) - -all_lua_prepare() { - mkdir -p html - sed \ - -e '/^dir/s@"."@"../html"@' \ - -i doc/config.ld.in - lua_default -} +HTML_DOCS=(doc/.) each_lua_compile() { make lib/specl/version.lua @@ -46,5 +35,5 @@ all_lua_compile() { each_lua_install() { dobin bin/specl - dolua lib/specl/*.lua lib/specl/*/ + dolua lib/specl } |