public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/
Date: Sun, 19 Dec 2021 10:24:36 +0000 (UTC)	[thread overview]
Message-ID: <1639909465.7a9f89e7d1d46ad1347220438f537cc6dea3199e.tupone@gentoo> (raw)

commit:     7a9f89e7d1d46ad1347220438f537cc6dea3199e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 10:24:25 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 10:24:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9f89e7

dev-ada/langkit: build something

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/langkit/langkit-22.0.0-r1.ebuild | 67 --------------------------------
 dev-ada/langkit/langkit-22.0.0-r2.ebuild |  6 +--
 2 files changed, 3 insertions(+), 70 deletions(-)

diff --git a/dev-ada/langkit/langkit-22.0.0-r1.ebuild b/dev-ada/langkit/langkit-22.0.0-r1.ebuild
deleted file mode 100644
index 60713a0d90b8..000000000000
--- a/dev-ada/langkit/langkit-22.0.0-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="A Python framework to generate language parsers"
-HOMEPAGE="https://www.adacore.com/community"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
-	-> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-ada/gnatcoll-bindings[iconv,shared,static-libs]
-	dev-python/mako[${PYTHON_USEDEP}]
-	dev-python/pyyaml[${PYTHON_USEDEP}]
-	dev-python/funcy[${PYTHON_USEDEP}]
-	dev-python/docutils[${PYTHON_USEDEP}]
-	dev-ada/e3-core[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-gnarl.patch
-)
-
-src_prepare() {
-	default
-	cd testsuite/tests
-
-	# missing gprbuild option to build libraries static/relocatable
-	rm -r {langkit_support,adalog,misc/link_two_libs} || die
-
-	# require railroad-diagrams
-	rm -r contrib/svg_railroad_diagrams || die
-}
-
-src_compile() {
-	gprbuild -v -P support/langkit_support.gpr -p -j$(makeopts_jobs) \
-		-XBUILD_MODE=dev -XLIBRARY_TYPE=relocatable -cargs:Ada ${ADAFLAGS} \
-		|| die
-	distutils-r1_src_compile
-}
-
-src_test() {
-	${EPYTHON} ./manage.py make --no-langkit-support || die
-	eval $(./manage.py setenv)
-	${EPYTHON} ./manage.py test --verbose |& tee langkit.testOut
-	grep -qw FAIL langkit.testOut && die
-}
-
-src_install() {
-	gprinstall -v -P support/langkit_support.gpr -p -XBUILD_MODE=dev \
-		--prefix="${D}"/usr --build-var=LIBRARY_TYPE \
-		--build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \
-		--sources-subdir=include/langkit_support \
-		-XLIBRARY_TYPE=relocatable --build-name=relocatable || die
-	distutils-r1_src_install
-}

diff --git a/dev-ada/langkit/langkit-22.0.0-r2.ebuild b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
index ac883ef76f9f..4393f8601a43 100644
--- a/dev-ada/langkit/langkit-22.0.0-r2.ebuild
+++ b/dev-ada/langkit/langkit-22.0.0-r2.ebuild
@@ -14,11 +14,11 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
 	-> ${P}.tar.gz"
 
 LICENSE="GPL-3"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="+shared static-libs static-pic"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	|| ( shared static-libs static-pic )"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-ada/gnatcoll-bindings[iconv,shared?,static-libs?,static-pic?]


             reply	other threads:[~2021-12-19 10:24 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 10:24 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 19:06 [gentoo-commits] repo/gentoo:master commit in: dev-ada/langkit/ Alfredo Tupone
2025-02-01 21:52 Alfredo Tupone
2025-01-31 23:17 Alfredo Tupone
2025-01-29 18:12 Alfredo Tupone
2025-01-27 19:43 Alfredo Tupone
2025-01-25 22:32 Alfredo Tupone
2025-01-25 21:09 Alfredo Tupone
2024-12-15  4:30 Sam James
2024-12-15  4:30 Sam James
2024-03-15 20:55 Alfredo Tupone
2024-03-06 18:37 Alfredo Tupone
2023-12-10  9:39 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-01-10 14:31 Michał Górny
2022-12-11 21:10 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-11-21 17:59 Alfredo Tupone
2022-09-29 18:54 Alfredo Tupone
2022-02-03 16:42 Alfredo Tupone
2021-12-22 19:10 Alfredo Tupone
2021-12-20 20:42 Alfredo Tupone
2021-12-14  7:19 Alfredo Tupone
2019-11-15  7:24 Alfredo Tupone
2019-10-18 17:14 Alfredo Tupone
2019-07-07 19:57 Alfredo Tupone
2019-06-18  6:07 Alfredo Tupone
2018-11-11 20:33 Alfredo Tupone
2018-04-22  7:46 Alfredo Tupone
2018-03-11 16:36 Alfredo Tupone
2017-12-24 11:20 Alfredo Tupone

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=1639909465.7a9f89e7d1d46ad1347220438f537cc6dea3199e.tupone@gentoo \
    --to=tupone@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