public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/wren/
Date: Tue, 15 Dec 2020 09:41:05 +0000 (UTC)	[thread overview]
Message-ID: <1608025255.bf7e5e416239d18bfe6c5223a82884b6c136dd1f.telans@gentoo> (raw)

commit:     bf7e5e416239d18bfe6c5223a82884b6c136dd1f
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Tue Dec 15 09:40:10 2020 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Tue Dec 15 09:40:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf7e5e41

dev-lang/wren: bump to 0.3.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-lang/wren/Manifest          |  2 ++
 dev-lang/wren/wren-0.3.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-lang/wren/Manifest b/dev-lang/wren/Manifest
index 782d2d9f..b9f78a9a 100644
--- a/dev-lang/wren/Manifest
+++ b/dev-lang/wren/Manifest
@@ -1 +1,3 @@
 DIST wren-0.2.0.tar.gz 1791488 BLAKE2B a2f48e9b115ea89cf25af1fe8cefa3c26639ce06f89796df4f5eb744b2382b44f83d6285eedfa9cb5681342cc8ebca535bae586445225622c8ebdb30c7088975 SHA512 67912df14d8afa16a4e50fa67e232870e08eb392601f7b1633bcfb242f2de7624b9a3501df9e1ae40fb62646db57ff6553733ddb3015b6b5086999dadf7d2da2
+DIST wren-0.3.0.tar.gz 1228834 BLAKE2B ff809008646970815b0f3ef3457d12ad1e6ac431b32f059035b15f1ad9f46247510a28d34d789472c6dc9fe1caeee71e09bd5484fe21dfdb356d8fcfc206a812 SHA512 8c05b69539b8a51289efecbd998bf1d054ff90944b949720b512b7a1202ace9ba56779f2e995097571459da6d8447f925f54c8170a3f6edeeaac6df265ffdc4c
+DIST wren-cli-0.3.0.tar.gz 509755 BLAKE2B 13034a6aeaa7ef2a20163714233c4750f1ab88fb232758c26bd35f8616c239936b1f80bf95c95da4d2ad2436a7813f1763002637030473a9abed8d0a4532d61d SHA512 8d4894c5e669c0c03bfb546c37cb9e917990a6cb6c59d399cbb5a03a9c9de7954bc203646ac776643c73ab9cb6e331868707d82e7c2ebd8625a9d80f4aea4f20

diff --git a/dev-lang/wren/wren-0.3.0.ebuild b/dev-lang/wren/wren-0.3.0.ebuild
new file mode 100644
index 00000000..5240bf6e
--- /dev/null
+++ b/dev-lang/wren/wren-0.3.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="The Wren Programming Language"
+HOMEPAGE="https://wren.io/"
+SRC_URI="
+	https://github.com/wren-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/wren-lang/${PN}-cli/archive/${PV}.tar.gz -> ${PN}-cli-${PV}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/libuv"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+
+	# Don't pre-strip
+	sed -i 's/-s$//' projects/make/wren_shared.make || die
+	sed -i 's/-s$//' "${WORKDIR}"/wren-cli-${PV}/projects/make/wren_cli.make || die
+
+	cat <<EOF > ${PN}.pc
+prefix="${EPREFIX}/usr"
+libdir="\${prefix}/$(get_libdir)"
+includedir="\${prefix}/include"
+
+Name: ${PN}
+Description: ${DESCRIPTION}
+URL: ${HOMEPAGE}
+Version: ${PV}
+Libs: "-L\${libdir}\" -l${PN}
+Cflags: "-I\${includedir}"
+EOF
+}
+
+src_compile() {
+	cd projects/make
+	emake
+	cd "${WORKDIR}/wren-cli-${PV}/projects/make"
+	emake
+}
+
+python_test() {
+	${EPYTHON} util/test.py || die
+}
+
+src_install() {
+	newbin "${WORKDIR}"/wren-cli-${PV}/bin/wren_cli wren
+	dolib.so lib/libwren.so
+	doheader src/include/wren.h
+	doheader src/include/wren.hpp
+
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins ${PN}.pc
+	einstalldocs
+}


             reply	other threads:[~2020-12-15  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15  9:41 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-16 14:06 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/wren/ Anna Vyalkova
2020-12-21  4:25 Theo Anderson
2020-12-15  9:41 Theo Anderson

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=1608025255.bf7e5e416239d18bfe6c5223a82884b6c136dd1f.telans@gentoo \
    --to=telans@posteo.de \
    --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