public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/
@ 2022-05-16 13:14 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2022-05-16 13:14 UTC (permalink / raw
  To: gentoo-commits

commit:     78812ee4feafba07e463e940b72255c508d1dfd8
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 13:13:49 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon May 16 13:13:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78812ee4

dev-libs/FP16: add PeachPy depend

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

 ...2021.03.20.ebuild => FP16-2021.03.20-r1.ebuild} | 23 ++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20.ebuild b/dev-libs/FP16/FP16-2021.03.20-r1.ebuild
similarity index 63%
rename from dev-libs/FP16/FP16-2021.03.20.ebuild
rename to dev-libs/FP16/FP16-2021.03.20-r1.ebuild
index 160c3c91f429..4fb39fced810 100644
--- a/dev-libs/FP16/FP16-2021.03.20.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r1.ebuild
@@ -2,9 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit cmake
+PYTHON_COMPAT=( python3_{8,9,10,11} )
+inherit python-r1 cmake
 
 CommitId=0a92994d729ff76a58f692d3028ca1b64b145d91
+
 DESCRIPTION="conversion to/from half-precision floating point formats"
 HOMEPAGE="https://github.com/Maratyszcza/FP16/"
 SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz
@@ -14,9 +16,10 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="dev-libs/psimd"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND} ${PYTHON_DEPS}"
 BDEPEND="test? ( dev-cpp/gtest )"
 RESTRICT="!test? ( test )"
 
@@ -26,6 +29,12 @@ PATCHES=(
 	"${FILESDIR}"/${P}-gentoo.patch
 )
 
+src_prepare() {
+	cmake_src_prepare
+	mkdir -p module/fp16 || die
+	cp include/fp16/*py module/fp16 || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DFP16_BUILD_BENCHMARKS=OFF
@@ -33,3 +42,13 @@ src_configure() {
 	)
 	cmake_src_configure
 }
+
+python_install() {
+	python_domodule module/fp16
+}
+
+src_install() {
+	cmake_src_install
+	rm "${D}"/usr/include/fp16/*.py || die
+	python_foreach_impl python_install
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/
@ 2022-05-17  6:51 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2022-05-17  6:51 UTC (permalink / raw
  To: gentoo-commits

commit:     931646e3f0a843dfdb34d7ba78a61f928346842d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 06:51:45 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 17 06:51:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931646e3

dev-libs/FP16: add PeachPy deps

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

 .../FP16/{FP16-2021.03.20-r1.ebuild => FP16-2021.03.20-r2.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20-r1.ebuild b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
similarity index 90%
rename from dev-libs/FP16/FP16-2021.03.20-r1.ebuild
rename to dev-libs/FP16/FP16-2021.03.20-r2.ebuild
index 4fb39fced810..1673b468cb71 100644
--- a/dev-libs/FP16/FP16-2021.03.20-r1.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{8,9,10,11} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 inherit python-r1 cmake
 
 CommitId=0a92994d729ff76a58f692d3028ca1b64b145d91
@@ -19,7 +19,11 @@ IUSE="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="dev-libs/psimd"
-RDEPEND="${DEPEND} ${PYTHON_DEPS}"
+RDEPEND="
+	${DEPEND}
+	${PYTHON_DEPS}
+	dev-python/PeachPy[${PYTHON_USEDEP}]
+"
 BDEPEND="test? ( dev-cpp/gtest )"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/
@ 2022-11-10 16:51 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2022-11-10 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     66347a8c14436d17b063118cf4e6111643ffbf38
Author:     Marek Behún <kabel <AT> kernel <DOT> org>
AuthorDate: Thu Nov 10 10:39:00 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 16:50:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66347a8c

dev-libs/FP16: Fix install phase for Gentoo Prefix

Use the ED instead of D variable in src_install() to fix the
installation when installing in Gentoo Prefix.

Signed-off-by: Marek Behún <kabel <AT> kernel.org>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FP16/FP16-2021.03.20-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
index 1673b468cb71..c829131617f1 100644
--- a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
@@ -53,6 +53,6 @@ python_install() {
 
 src_install() {
 	cmake_src_install
-	rm "${D}"/usr/include/fp16/*.py || die
+	rm "${ED}"/usr/include/fp16/*.py || die
 	python_foreach_impl python_install
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/
@ 2023-02-19  9:37 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2023-02-19  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     822ef3c169a28216ada4ea08b0cf8a3d09559608
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 09:37:01 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 09:37:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822ef3c1

dev-libs/FP16: add python 3.11 support

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FP16/{FP16-2021.03.20-r2.ebuild => FP16-2021.03.20-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild b/dev-libs/FP16/FP16-2021.03.20-r3.ebuild
similarity index 97%
rename from dev-libs/FP16/FP16-2021.03.20-r2.ebuild
rename to dev-libs/FP16/FP16-2021.03.20-r3.ebuild
index b9dca4b566b5..4e21e1d10fc3 100644
--- a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r3.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit python-r1 cmake
 
 CommitId=0a92994d729ff76a58f692d3028ca1b64b145d91


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/
@ 2023-12-30 18:05 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2023-12-30 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     7a957288ed9e62dd092e6c13f6e45a53b145055c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 18:03:18 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 18:04:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a957288

dev-libs/FP16: enable python3_12

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FP16/{FP16-2021.03.20-r3.ebuild => FP16-2021.03.20-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20-r3.ebuild b/dev-libs/FP16/FP16-2021.03.20-r4.ebuild
similarity index 97%
rename from dev-libs/FP16/FP16-2021.03.20-r3.ebuild
rename to dev-libs/FP16/FP16-2021.03.20-r4.ebuild
index 4e21e1d10fc3..af3be0a34c68 100644
--- a/dev-libs/FP16/FP16-2021.03.20-r3.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r4.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 inherit python-r1 cmake
 
 CommitId=0a92994d729ff76a58f692d3028ca1b64b145d91


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-30 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 18:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/FP16/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2023-02-19  9:37 Alfredo Tupone
2022-11-10 16:51 Alfredo Tupone
2022-05-17  6:51 Alfredo Tupone
2022-05-16 13:14 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox