From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1236115-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8858B1382C5 for <garchives@archives.gentoo.org>; Wed, 30 Dec 2020 20:35:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9C90E08DD; Wed, 30 Dec 2020 20:35:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F9DAE08DD for <gentoo-commits@lists.gentoo.org>; Wed, 30 Dec 2020 20:35:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89F36341209 for <gentoo-commits@lists.gentoo.org>; Wed, 30 Dec 2020 20:35:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D75D32B for <gentoo-commits@lists.gentoo.org>; Wed, 30 Dec 2020 20:35:16 +0000 (UTC) From: "Miroslav Šulc" <fordfrog@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" <fordfrog@gentoo.org> Message-ID: <1609360505.1f3c1e8991bbf3484b1d7fd4df7d84b7899befdd.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pivy/files/, dev-python/pivy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pivy/Manifest dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch dev-python/pivy/metadata.xml dev-python/pivy/pivy-0.6.5.ebuild X-VCS-Directories: dev-python/pivy/ dev-python/pivy/files/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 1f3c1e8991bbf3484b1d7fd4df7d84b7899befdd X-VCS-Branch: master Date: Wed, 30 Dec 2020 20:35:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd2999ec-ad7f-4050-ae84-d367c0c0ba0f X-Archives-Hash: 5967e2d8580c8e149e63427620a795f2 commit: 1f3c1e8991bbf3484b1d7fd4df7d84b7899befdd Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Wed Dec 30 20:34:05 2020 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Wed Dec 30 20:35:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3c1e89 dev-python/pivy: new ebuild Bug: https://bugs.gentoo.org/659478 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-python/pivy/Manifest | 1 + dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch | 31 ++++++++++++++++++ dev-python/pivy/metadata.xml | 23 +++++++++++++ dev-python/pivy/pivy-0.6.5.ebuild | 41 ++++++++++++++++++++++++ 4 files changed, 96 insertions(+) diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest new file mode 100644 index 00000000000..3b1437a5bd1 --- /dev/null +++ b/dev-python/pivy/Manifest @@ -0,0 +1 @@ +DIST pivy-0.6.5.tar.gz 6614159 BLAKE2B 2652feb26137b2deda8b76083d3bd9018303ca0a0236ea97e83e9ff24ddeda30462a25ac1b20b0d3e718fc9f83ae5ebf7116a5c0d94debcc5b6d729792230655 SHA512 6cf0b1ac348336609f42f6a72df7ffdc3e1042a4f8fc6e2b725ca38f09476c70bafa14c1f083d1badeb5b37b974a0fbf5806ea71d44d734b9ab9b125ce7f8695 diff --git a/dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch b/dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch new file mode 100644 index 00000000000..4d8a6fdd888 --- /dev/null +++ b/dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch @@ -0,0 +1,31 @@ +From 1c9ffef4d85327fe517bdcf7e11c339a4862ba2e Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl@gmail.com> +Date: Wed, 12 Jun 2019 21:21:34 +0200 +Subject: [PATCH] CMakeLists.txt: remove NONE keyword for languages from + project definition. This solves a bug where SoQt is not found on Gentoo + systems (see https://github.com/waebbl/waebbl-gentoo/issues/42) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Thanks to QÍN Yuhào for coming up with this fix. + +Suggested-by: QÍN Yuhào <qinyh18@mails.tsinghua.edu.cn> +Signed-off-by: Bernd Waibel <waebbl@gmail.com> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 76d0d06..48bd3c0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-project(pivy_cmake_setup NONE) ++project(pivy_cmake_setup) + cmake_minimum_required(VERSION 3.5) + + +-- +2.21.0 + diff --git a/dev-python/pivy/metadata.xml b/dev-python/pivy/metadata.xml new file mode 100644 index 00000000000..ec11d492167 --- /dev/null +++ b/dev-python/pivy/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>fordfrog@gentoo.org</email> + <name>Miroslav Šulc</name> +</maintainer> +<maintainer type="person"> + <email>waebbl@gmail.com</email> + <name>Bernd Waibel</name> +</maintainer> +<use> + <flag name="quarter"> + Use <pkg>media-libs/quarter</pkg> for GUI bindings + </flag> + <flag name="soqt"> + Use <pkg>media-libs/SoQt</pkg> for GUI bindings + </flag> +</use> +<upstream> + <remote-id type="github">coin3d/quarter</remote-id> +</upstream> +</pkgmetadata> diff --git a/dev-python/pivy/pivy-0.6.5.ebuild b/dev-python/pivy/pivy-0.6.5.ebuild new file mode 100644 index 00000000000..8bbccd29a30 --- /dev/null +++ b/dev-python/pivy/pivy-0.6.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="Coin3D bindings for Python" +HOMEPAGE="https://github.com/coin3d/pivy" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + PIVY_REPO_URI="https://github.com/coin3d/pivy.git" +else + SRC_URI="https://github.com/coin3d/pivy/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="+quarter soqt" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( quarter soqt ) +" + +RDEPEND=" + >=media-libs/coin-4.0.0 + quarter? ( media-libs/quarter ) + soqt? ( >=media-libs/SoQt-1.6.0 ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/swig" + +PATCHES=( "${FILESDIR}/${PN}-0.6.4-find-SoQt.patch" ) + +DOCS=( AUTHORS HACKING NEWS README.md THANKS )