public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lpeg/
Date: Tue, 31 Jan 2017 05:18:13 +0000 (UTC)	[thread overview]
Message-ID: <1485839888.fcc30385aa31b7c5cbe15b95750e847cfb21f1b0.radhermit@gentoo> (raw)

commit:     fcc30385aa31b7c5cbe15b95750e847cfb21f1b0
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 05:16:04 2017 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 05:18:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc30385

dev-lua/lpeg: version bump to 1.0.1

 dev-lua/lpeg/Manifest          |  1 +
 dev-lua/lpeg/lpeg-1.0.1.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-lua/lpeg/Manifest b/dev-lua/lpeg/Manifest
index 851d00b..db3af40 100644
--- a/dev-lua/lpeg/Manifest
+++ b/dev-lua/lpeg/Manifest
@@ -2,3 +2,4 @@ DIST lpeg-0.12.1.tar.gz 67519 SHA256 60c6752dd043034c01929b04dab377d139f53bc0987
 DIST lpeg-0.12.2.tar.gz 68122 SHA256 6aad270b91d1b1c6fd75f68e162329a04a644e50e917d55f46cc8384b7120004 SHA512 81505674473d83e2c777d470cd6ba4eead48ecc32e58e52bc192ca7a167f882e722c5a0cae62937fb3f5f71d6216de1ba4ea3d932e72265028f293d778df5e9e WHIRLPOOL df86921662b812ede574a602e84bc0dc581006b5027f40f3a6c0e15e8ac03dbea40ab3b5c8417143a14a25e953f084818b80af317d17dacdda97283366c51632
 DIST lpeg-0.12.tar.gz 66649 SHA256 efa545144cd219eee823af7624d90f78c2230677ba740b7151c5d0c303778b76 SHA512 bf8c4fe486f5e965b793d8526dd1fc5c8905c4b065a1abe52ec8e41ebbe48292315a7460dc56fb7a029b4673057f9da7e53854bb79bb54dd8a4378391efc24a2 WHIRLPOOL 3e131da888eff53fbfa6203ed363f34832c52fb0fafca9006dd1da956c89a76528dc9aaf255426a148497c55df74ccb72cf87e234f5c432c4e2c28a5dfd0a9a1
 DIST lpeg-1.0.0.tar.gz 70267 SHA256 10190ae758a22a16415429a9eb70344cf29cbda738a6962a9f94a732340abf8e SHA512 a245d2e0b8604121d8b4466052ab5da4f2b1f81c1c4b2579d8d5498920fc351d46fe4159a0b5948d1b377ef9bda410c4bf40ffd228b9f26bf346dfba2a7b9fb7 WHIRLPOOL 808b1ddc61402c707a829641051c9321030573e85e863a6463bd8f114e89576dc7566585ae331a8af6d1f970c29b4256141df90fa5fe3616bea5691040262498
+DIST lpeg-1.0.1.tar.gz 71527 SHA256 62d9f7a9ea3c1f215c77e0cadd8534c6ad9af0fb711c3f89188a8891c72f026b SHA512 7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa WHIRLPOOL a678ee2b2f934ebc32b19764703b14ec90d7440cd204fceae9ba89b8a2b0b89f9192a71548e7818b66e37f8bc916c051a360a848fcc645b7ab7265016a794020

diff --git a/dev-lua/lpeg/lpeg-1.0.1.ebuild b/dev-lua/lpeg/lpeg-1.0.1.ebuild
new file mode 100644
index 00000000..7353daf
--- /dev/null
+++ b/dev-lua/lpeg/lpeg-1.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Parsing Expression Grammars for Lua"
+HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
+SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
+IUSE="debug doc luajit"
+
+RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+	luajit? ( dev-lang/luajit:2= )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+DOCS=( "HISTORY" )
+HTML_DOCS=( "lpeg.html"  "re.html"  )
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-makefile.patch )
+
+src_prepare() {
+	default
+	use debug && append-cflags -DLPEG_DEBUG
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" \
+		LUADIR="$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))"
+}
+
+src_test() {
+	$(usex luajit 'luajit' 'lua') test.lua || die
+}
+
+src_install() {
+	local instdir
+	instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
+	exeinto "${instdir#${EPREFIX}}"
+	doexe lpeg.so
+	instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
+	insinto "${instdir#${EPREFIX}}"
+	doins re.lua
+
+	use doc && einstalldocs
+}


             reply	other threads:[~2017-01-31  5:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31  5:18 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31 14:32 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lpeg/ Arthur Zamarin
2023-06-28 22:34 Sam James
2022-02-15  1:25 Conrad Kostecki
2021-10-11 13:47 Yixun Lan
2021-06-07 14:20 Guilherme Amadio
2021-03-16 17:37 Conrad Kostecki
2021-03-09 18:22 Aaron Bauman
2021-01-23 22:42 Sam James
2020-12-03 13:11 Marek Szuba
2020-11-29 15:37 Conrad Kostecki
2020-11-28 23:13 Robin H. Johnson
2020-04-23 16:29 Sergei Trofimovich
2020-04-17 16:24 Sergei Trofimovich
2020-04-08 20:53 Sergei Trofimovich
2018-07-07 12:15 Jonas Stein
2018-03-28 20:55 Matt Turner
2018-01-05 13:30 Patrice Clement
2018-01-05 11:18 Patrice Clement
2017-07-29 12:34 Alexis Ballier
2016-12-09  5:13 Benda XU
2016-12-02  2:33 Benda XU
2016-06-19 12:27 Sergei Trofimovich
2016-04-21 22:37 Patrice Clement
2016-04-21 22:37 Patrice Clement
2016-04-21 18:05 Tim Harder
2016-03-12  6:56 Tim Harder
2015-09-15  0:41 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1485839888.fcc30385aa31b7c5cbe15b95750e847cfb21f1b0.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox