mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-lua/messagepack: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST lua-messagepack-0.3.2.tar.xz 13416 BLAKE2B 03d80c3a1fc8d8bfa30821f3b83ead61bc0a8ccf565d9ac17ca0b1d97ac7c72d0550695ee13feb6ff38cd8098fa331c3acaf4b52c0f95bfc3141b70a655ba9df SHA512 d5b0193f157ea5ce4df6fa54fab3662c279bdf03679ba4e5f9d4341875c66c4a96a5f11fd68e06a92fe2c47681584708dc79b9a9337356391c41f4de76c6ddcd
|
||||
DIST messagepack-0.5.2_p20201025.tar.gz 19652 BLAKE2B 5f85081daf2ab7f57399cb47782fbde0dfd2afe9514fdb652da1ba0eacd832e5c0924258b788d919b0a07e227f37ee58a239004086e7d6759b4727922ea57d76 SHA512 245790163ec819438fd3426f59ab2e5672864be647748dace35155be712ad4eaf78f8d7228d5a0ce94bfb92f6a1d1071cf871483bf99e02ba18872c31b3d0682
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua
|
||||
|
||||
DESCRIPTION="A pure Lua implementation of the MessagePack serialization format"
|
||||
HOMEPAGE="http://fperrad.github.io/lua-MessagePack/"
|
||||
SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/lua-${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Requires lua-TestMore, which we currently haven't got in the tree
|
||||
RESTRICT=test
|
||||
|
||||
DEPEND="${LUA_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
lua_src_install() {
|
||||
local src_postfix=""
|
||||
if [[ ${ELUA} != luajit ]] && $(ver_test $(lua_get_version) -ge 5.3); then
|
||||
src_postfix="5.3"
|
||||
fi
|
||||
|
||||
insinto "$(lua_get_lmod_dir)"
|
||||
doins src${src_postfix}/MessagePack.lua
|
||||
}
|
||||
|
||||
# nothing to compile
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
dodoc CHANGES README.md
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A pure Lua implementation of the MessagePack serialization format"
|
||||
HOMEPAGE="http://fperrad.github.io/lua-MessagePack/"
|
||||
SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/lua-${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+luajit"
|
||||
|
||||
RDEPEND="luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( dev-lang/lua:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
local lua=lua
|
||||
use luajit && lua=luajit
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
|
||||
doins src/MessagePack.lua
|
||||
dodoc CHANGES README.md
|
||||
}
|
||||
Reference in New Issue
Block a user