summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2014-12-21 00:05:51 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2014-12-21 00:05:51 +0000
commit5efb8f0035b5b71be8224709a1356ba7064b5867 (patch)
tree2010bfc7a41779763c676b794f9d1f9e170f24d2 /dev-lua
parentThanks to Chris Kerr for reporting, add quickcheck-unicode to test dependenci... (diff)
downloadhistorical-5efb8f0035b5b71be8224709a1356ba7064b5867.tar.gz
historical-5efb8f0035b5b71be8224709a1356ba7064b5867.tar.bz2
historical-5efb8f0035b5b71be8224709a1356ba7064b5867.zip
version bump. bug #500702
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/ChangeLog10
-rw-r--r--dev-lua/luarocks/Manifest14
-rw-r--r--dev-lua/luarocks/luarocks-2.2.0.ebuild53
3 files changed, 64 insertions, 13 deletions
diff --git a/dev-lua/luarocks/ChangeLog b/dev-lua/luarocks/ChangeLog
index e157e515bab0..e19bc7f3913c 100644
--- a/dev-lua/luarocks/ChangeLog
+++ b/dev-lua/luarocks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lua/luarocks
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.6 2013/05/19 22:08:41 mabi Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.7 2014/12/21 00:05:45 rafaelmartins Exp $
+
+*luarocks-2.2.0 (21 Dec 2014)
+
+ 21 Dec 2014; Rafael G. Martins <rafaelmartins@gentoo.org>
+ +luarocks-2.2.0.ebuild:
+ version bump. bug #500702
*luarocks-2.0.12 (19 May 2013)
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index 7605dad3a9f0..478f980685c4 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST luarocks-2.0.12.tar.gz 89028 SHA256 ad4b465c5dfbdce436ef746a434317110d79f18ff79202a2697e215f4ac407ed SHA512 5ece403d7bc7804ff47ec8d0ecdea7687d530d10ddf0a800c4a2a68b69a263e68f40ab7e55e39a59ab05315d3e2bc9cf76a0618803dc8e12c7e52941b4a7053f WHIRLPOOL 1b789530b3b0973fb1291177f947e97d68aafe1efaea59ad2b4cbf39fe5cda5a9ae391efc497328fe04afbce7b75d7f396d05ee3cb9953674f1bf5581393ad6a
DIST luarocks-2.0.7.1.tar.gz 81757 SHA256 a7da6f796e6cffd63dd7a7f9a2fdab2ca3a1461e5e5e94aa8569068b701f7272 SHA512 00f37c2baed83bbc7182a4595973bbe5c252fd7f530ebc35ba254fab727c1e6a7f743bafc25bfbde945e40d531f0e764c1f785edddef62fc6219e318bffdc6f3 WHIRLPOOL 8d2ae2abfb327b3fbfe84cd1fe4cfc1371ce68dc34548b78a36745f2dbad23f83791023e378d911287d8acecf6af9c8e3f9597552c8d01795114d464a5c78bf7
DIST luarocks-2.0.8.tar.gz 82313 SHA256 f8abf1ab03b744a817721a0ff4a0ee454e068735efaa8d1aadcfcd0f07cdaa88 SHA512 8246b3a863197bc5bd9efad343f8f5ba22d7a34904fd3afe99f916631ee30930ec91d15298e67abf22f0bcc6cda02785a5bbc9e60b424a631162e20941d20523 WHIRLPOOL 36d9673c308861a55cb6343e9245c7359710550835a7157bfb7e1389654e9c4c9963e09d3219d6df16bc8e275b2393c8fe21f10b3bbf0279be86f67c81cd523c
+DIST luarocks-2.2.0.tar.gz 111549 SHA256 9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c SHA512 41f32e383263485758e64df661ecfbd744369035362755c64466f2c52a8740ed941b80cab3212222d7d24e4b1a7ed9ccb84fa66c8e458526056af0b06d97224f WHIRLPOOL 6ad29916659fad936a58396bfdaf41efe056e660fa9b957e61fca6832ae0e1a7448a1eb58a304f4af82c01e23248042eab8fa39ca4f3095b0dd62e637ff167e2
EBUILD luarocks-2.0.12.ebuild 1373 SHA256 3cca10b1eb35b9555e9a3df82f73c2cfbd7f99b4cdcc6f4511e150d86800a803 SHA512 7ab6c42305ce4f39fafd42f5aee0a91033401cf0726860bedaf4631c44b3e4c88e9ef0666e7fd58395327f0fd16dd59b72dc424510e08f54a663cd5e442289ef WHIRLPOOL 7a70f4f6629c637715760a7e70db28243b3f5c9c391d247626e68cb1c22eb8fc5db230cb5f2d295b81616e528fb60945087bad44ffa36c3622e3f05662c16c8e
EBUILD luarocks-2.0.7.1.ebuild 1320 SHA256 29a63846fd37750b9d153a021d33b2d04e4b1d0a887032f1005ceaac4b952c98 SHA512 fc34cbc034cb6b17780e820a2b03126211a98bd93e247710031bf652a241093150185ac9db2352b3e7e74408b9791f6b8afe158d51ceb1351381bfdd420df68a WHIRLPOOL a9c508efb37378ed74afde1d63fc955de03967bb5f9abd724f031e70e7a6a4f92de8a037da90ff0201880e007db1d32ed6d3fb650a5c0a559b8b8cde801bb66e
EBUILD luarocks-2.0.8.ebuild 1390 SHA256 17795ef21d995b78b2792b9eca5271d0584b21cb8b81e3bd7af05eaa4a0dee4a SHA512 29076962c646a6e096a2db637c399646ac197e18cf873977e8999ccca526ae59885fce0d35da629f23d12b2f33c79e9fa769e6ca3b6394940c54de503784ddc5 WHIRLPOOL 70c531ddbcbaae6929a5698309eca79ee98c40ef7caecd9e703bdea2b9c1cd6c72d48f6e62e882328d1d3c8a4c31308ae3515c8c9ddd937db9f36111fb91f725
-MISC ChangeLog 1337 SHA256 03d9b2ac0974da1bf4f6a7e8f4f0fdb24b698c9f6e1ab41b8cb396b905f3939e SHA512 62eb75fbca4a8acc2aa70241811fa242565839fa0a99f115755b0daa88c9a37c9a3e9761fb7fedbf54bc5c0bdb9fdcabe6ce0bc118bee2698ee0af4b9d3378f7 WHIRLPOOL 0928f3767bf97a54ff583b1c31d2dac914e5bb521913cbdbfcdc2b5f341869d9781e3686345c5eb5077984960ecdf967b4abae4451d3b40845482326b50a5d19
+EBUILD luarocks-2.2.0.ebuild 1381 SHA256 8774dc74cce9e9119fdab56a8df13d1d70874c4ffe31d509d07ed51662d1acd7 SHA512 72873d0ccaebe1af6b2da6e087501889c84f9f3cec366d1596ac9d22a5d9f696c5f5fb766b6f917289770990bd37228f87181c0492bc299a38d0620ad404444c WHIRLPOOL 69cfadcb397fa07954798dc979c93b3baa268ad999a3ffd99bfb6a089f7f618849239eb8604b9e9cec2de63f215785e990b3ba2d8103041e37a89b157918c486
+MISC ChangeLog 1492 SHA256 1787f0ed48b269b517d5108f89a2f6a62e6daadb08775015c00a0e73d53a6f96 SHA512 cfabd2af0b337e64d469c56e9663392c3ffb4112e136bb7ab31bdd1a1222558b4785d002eb553da38a48f46972df1e1dc9b14d072f63daa9bd11c33f18c6f418 WHIRLPOOL c4138fdbb66a8cb7cef2453f6152e9e324195e02017e3bd4813d8964fb349966d87fdb58257e23e76b8e5549d54f52e584814bdadba36fbad5c4940e317b7ac1
MISC metadata.xml 542 SHA256 ed3e4f0b6c3e9b6072f4ce86496d09c263bd3eee9a04b1812b18ee140b93ef65 SHA512 5491f87b1d5e2ff3b3ba55707ea19ccaeb2c8a9b95e7bef3f09a6132254604f6fa466aa31c203a9e1f4270e9c651347e97dbaab7c7bfdaa3e9e43cfb7c7ee961 WHIRLPOOL fbfcfb14d6358180ff380c9282f6d2b03a527fb47944a27a09b3865ebafedac8553e18fc799aa29e134a01478427af7a303575a63c89b7fb8b8537633f308055
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEAREIAAYFAlGZTbEACgkQfNMcoUhJ7Gyc6wCgiDFk8X6UR2HZB1MmPyvhqTuD
-44UAnRYbuuBh1fV82IN1sJsYBlUdZxOg
-=AHCn
------END PGP SIGNATURE-----
diff --git a/dev-lua/luarocks/luarocks-2.2.0.ebuild b/dev-lua/luarocks/luarocks-2.2.0.ebuild
new file mode 100644
index 000000000000..6bff1fc6a87b
--- /dev/null
+++ b/dev-lua/luarocks/luarocks-2.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/luarocks-2.2.0.ebuild,v 1.1 2014/12/21 00:05:45 rafaelmartins Exp $
+
+EAPI=4
+
+inherit eutils multilib
+
+DESCRIPTION="A deployment and management system for Lua modules"
+HOMEPAGE="http://www.luarocks.org"
+SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="curl openssl"
+
+DEPEND="dev-lang/lua
+ curl? ( net-misc/curl )
+ openssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}
+ app-arch/unzip"
+
+src_configure() {
+ USE_MD5="md5sum"
+ USE_FETCH="wget"
+ use openssl && USE_MD5="openssl"
+ use curl && USE_FETCH="curl"
+
+ # econf doesn't work b/c it passes variables the custom configure can't
+ # handle
+ ./configure \
+ --prefix=/usr \
+ --with-lua-lib=/usr/$(get_libdir) \
+ --rocks-tree=/usr/$(get_libdir)/lua/luarocks \
+ --with-downloader=$USE_FETCH \
+ --with-md5-checker=$USE_MD5 \
+ || die "configure failed"
+}
+
+src_compile() {
+ # -j1 b/c make tries to delete files it has yet to create (bug #402005)
+ emake DESTDIR="${D}" -j1 || die "make failed"
+}
+
+src_install() {
+ # -j1 b/c otherwise it fails to find src/bin/luarocks
+ emake DESTDIR="${D}" -j1 install || die "einstall"
+}
+
+pkg_preinst() {
+ find "${D}" -type f | xargs sed -i -e "s:${D}::g" || die "sed failed"
+}