From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/jsonnet/
Date: Sun, 25 Oct 2020 00:14:17 +0000 (UTC) [thread overview]
Message-ID: <1603584803.4ad0a3b530fd0f9a4df1dcadf747f8db8f09f6a0.gyakovlev@gentoo> (raw)
commit: 4ad0a3b530fd0f9a4df1dcadf747f8db8f09f6a0
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 00:01:28 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 00:13:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad0a3b5
dev-lang/jsonnet: revbump, fix many issues
It was installing broken soname symlinks and no libs at all.
Now we install both c and c++ libs
Also install jsonnetfmt and public headers.
Add doc and examples useflag, all files are pre-rendered.
Declare python3_9 and pypy3 support.
Closes: https://bugs.gentoo.org/723058
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-lang/jsonnet/jsonnet-0.16.0-r1.ebuild | 75 +++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/dev-lang/jsonnet/jsonnet-0.16.0-r1.ebuild b/dev-lang/jsonnet/jsonnet-0.16.0-r1.ebuild
new file mode 100644
index 00000000000..7987e965555
--- /dev/null
+++ b/dev-lang/jsonnet/jsonnet-0.16.0-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
+
+inherit toolchain-funcs flag-o-matic distutils-r1
+
+DESCRIPTION="A data templating language for app and tool developers "
+HOMEPAGE="https://jsonnet.org/"
+SRC_URI="https://github.com/google/jsonnet/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+IUSE="custom-optimization doc examples python"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+DEPEND="
+ python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+"
+BDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ )
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+ "${FILESDIR}/jsonnet-0.14.0-makefile.patch"
+ "${FILESDIR}/jsonnet-0.12.1-dont-call-make-from-setuppy.patch"
+)
+
+distutils_enable_tests setup.py
+
+src_prepare() {
+ default
+ use python && distutils-r1_src_prepare
+ sed -i "s@\(PREFIX\)/lib@\(PREFIX\)/$(get_libdir)@g" Makefile || die
+}
+
+src_configure() {
+ use custom-optimization || replace-flags '-O*' -O3
+ tc-export CC CXX
+ default
+}
+
+src_compile() {
+ emake bins libs
+ use python && distutils-r1_src_compile
+}
+
+src_test() {
+ emake test
+ use python && distutils-r1_src_test
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+ use python && distutils-r1_src_install
+ if use doc; then
+ find doc -name '.gitignore' -delete || die
+ docinto html
+ dodoc -r doc/.
+ fi
+ if use examples; then
+ docinto examples
+ dodoc -r examples/.
+ fi
+}
next reply other threads:[~2020-10-25 0:14 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 0:14 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-28 12:29 [gentoo-commits] repo/gentoo:master commit in: dev-lang/jsonnet/ Michał Górny
2024-04-23 22:44 Patrick McLean
2024-04-23 22:43 Patrick McLean
2023-04-19 0:14 Patrick McLean
2023-02-21 6:07 Ionen Wolkens
2022-10-28 16:31 Patrick McLean
2022-10-27 17:32 Patrick McLean
2022-10-27 16:01 Patrick McLean
2022-10-27 16:01 Patrick McLean
2022-10-27 16:01 Patrick McLean
2022-06-07 8:26 Jakov Smolić
2022-06-07 8:26 Jakov Smolić
2022-06-07 8:24 Jakov Smolić
2022-06-07 8:24 Jakov Smolić
2022-01-06 21:23 Georgy Yakovlev
2022-01-06 20:59 Georgy Yakovlev
2022-01-06 20:02 Patrick McLean
2021-02-21 21:30 Conrad Kostecki
2020-11-28 21:43 Patrick McLean
2020-11-25 5:58 Patrick McLean
2020-11-03 7:34 Sam James
2020-10-26 23:49 Sergei Trofimovich
2020-10-25 23:10 Sam James
2020-10-25 0:14 Georgy Yakovlev
2020-10-25 0:14 Georgy Yakovlev
2020-06-29 23:11 Patrick McLean
2020-05-28 17:31 Patrick McLean
2020-02-10 19:34 Patrick McLean
2020-02-10 19:34 Patrick McLean
2019-12-03 2:29 Patrick McLean
2019-12-03 2:29 Patrick McLean
2019-06-03 18:57 Patrick McLean
2019-05-29 4:14 Aaron Bauman
2019-05-03 17:25 Patrick McLean
2019-05-03 17:05 Patrick McLean
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=1603584803.4ad0a3b530fd0f9a4df1dcadf747f8db8f09f6a0.gyakovlev@gentoo \
--to=gyakovlev@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