diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-python/pivy | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'dev-python/pivy')
| -rw-r--r-- | dev-python/pivy/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pivy/files/pivy-0.6.4-find-SoQt.patch | 31 | ||||
| -rw-r--r-- | dev-python/pivy/metadata.xml | 24 | ||||
| -rw-r--r-- | dev-python/pivy/pivy-0.6.5.ebuild | 41 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest new file mode 100644 index 000000000000..3b1437a5bd10 --- /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 000000000000..4d8a6fdd8889 --- /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 000000000000..69fc83b65b9e --- /dev/null +++ b/dev-python/pivy/metadata.xml @@ -0,0 +1,24 @@ +<?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/pivy</remote-id> +</upstream> + <origin>gentoo-staging</origin> +</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 000000000000..052f9ce6649e --- /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,9,10} ) +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 ) |
