From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- dev-python/pivy/Manifest | 6 ++- ...01-fix-CMakeLists.txt-for-distutils_cmake.patch | 24 +++++++++++ ...o-specific-clear-swig-deprecation-warning.patch | 26 ++++++++++++ dev-python/pivy/pivy-0.6.5.ebuild | 4 +- dev-python/pivy/pivy-0.6.6.ebuild | 47 ++++++++++++++++++++++ 5 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 dev-python/pivy/files/pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch create mode 100644 dev-python/pivy/files/pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch create mode 100644 dev-python/pivy/pivy-0.6.6.ebuild (limited to 'dev-python/pivy') diff --git a/dev-python/pivy/Manifest b/dev-python/pivy/Manifest index 286b6fad1903..266fb3dc9e9c 100644 --- a/dev-python/pivy/Manifest +++ b/dev-python/pivy/Manifest @@ -1,4 +1,8 @@ AUX pivy-0.6.4-find-SoQt.patch 925 BLAKE2B fe3224f5aa0286204e81352b0e6c331654eb15fc509a219a4924cedafebda305182882c2de51aef504ae9a0432beeb4a67c5f80aafc24dab7a40c3a3d37c34dd SHA512 02a9c530759901488073bfa69c7a97d3814d4daa94f4724158ce037e208016f2fd025ac5020717ed80e5f561721d5be6967f0f44521738248f492fd11b7044f8 +AUX pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch 703 BLAKE2B b2a183cd4a5d20a1ede7427a1c895766c63f694c38e559e4c7d12a1b8a0a88cfd596b26e31ca35489dc637110dae13f89c671fe52c9555624694ef494f8fcd2d SHA512 7ecc957ac8209aee41c010768d9953fc4820a3e6929dd45be16732385f6e1edd12febc2e05786090835eb35235bb976e1122df2b7da6d0d68c6ae3bdbf9dd9c0 +AUX pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch 940 BLAKE2B d7e25c5690a7ea665d923753bcb0811ec9e9702f5085f6a368f1ffbeb84f7b17e8ee6dc02a5374bc5dd45c195cc068bf825b284a97a69be762e9348e7645067e SHA512 75ea0c401cf35b97c119c5a652b91911151ed878136860a90aa53730632dfb89dcd69fb66149145ae59005a93c89e89d1153c8cc23d4d978f9a68fd9ef65c7e2 DIST pivy-0.6.5.tar.gz 6614159 BLAKE2B 2652feb26137b2deda8b76083d3bd9018303ca0a0236ea97e83e9ff24ddeda30462a25ac1b20b0d3e718fc9f83ae5ebf7116a5c0d94debcc5b6d729792230655 SHA512 6cf0b1ac348336609f42f6a72df7ffdc3e1042a4f8fc6e2b725ca38f09476c70bafa14c1f083d1badeb5b37b974a0fbf5806ea71d44d734b9ab9b125ce7f8695 -EBUILD pivy-0.6.5.ebuild 851 BLAKE2B eb167b1ece4c0a504358c51b877a3903262a66d96dd96c7a856e085125192a757923af5d8e7b769a63a965207f8de6efb0cd1998fa556e819c8b9904d83d2ab1 SHA512 9c11a39d5b57615fca65a9ebd2f44fa839a8bd45059ae742b467064a72248fa4a9285495eb0666313c1717aca9148b2c6c619ccac2c59fff2e4b5237ac463a72 +DIST pivy-0.6.6.tar.gz 6618471 BLAKE2B 5bcf2479bf26628e3dfe59c1440901368442de2f32a5680ef1af10d49239d8c73b79809495d7227937fd7784af1e1ded27f93f0255793e713add0c1cc35b8e5d SHA512 e260c6abd0aede7621d5fed66eeceb98a32634af84370ef713d70d583ec017cded4be682fd7e70e5faa19988a5e032a9d2f2308b8ae6dd9495d76e884de1d80c +EBUILD pivy-0.6.5.ebuild 849 BLAKE2B c7eb20b8b11055613aee43095f6718af8bd8491ce95e2daa58f7981487b80c7479b9d7591ab38b691af9977b996b9dcafba697d20387b2fd2b37f28242089c61 SHA512 1fb3aa18e294100b7f990e9faa6f79e1327735707991fe9bfe2dec0ecd0f589c8d24e14439fd4cf3f37a2fa854d4f77f225f49eee724cba5beab804dcfd3b187 +EBUILD pivy-0.6.6.ebuild 976 BLAKE2B a4709613b52f319e8db76b75d3969299edb3f590125908fe52e784dfb5d786869985bccdd2e217b678aabb47c6b40aca0d300e99b1d75384dee97971f9175b74 SHA512 e402ca60b77a9768ac63d0d9c9dffded14487d2c8b9c6a546b557cc63d491c1f0eca150b53965cd9b3e9c5201581bc9cf4a73d4883978a63e8add640fa23da40 MISC metadata.xml 618 BLAKE2B 095d0cec730919daafc8b6a5f6a7ae93b98c92716d8d2a6d3b4cd50ddc5f076a6d1a30e82c59d218f270ac3334fc3561eb87c79fc43a02b3181d941846d5906d SHA512 fde49deb73bb20cbd39fdcaca4dd0edcae817c0436807c0d5ab494adb0bcaace2c9115cc4355b962b01d77e72cf8f06c7ed22212fdf8601c91905215663e71e4 diff --git a/dev-python/pivy/files/pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch b/dev-python/pivy/files/pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch new file mode 100644 index 000000000000..a2e97027b586 --- /dev/null +++ b/dev-python/pivy/files/pivy-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch @@ -0,0 +1,24 @@ +From 44e8dd5b2252c7639021506202df60d6664153d7 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel +Date: Sat, 10 Apr 2021 10:27:55 +0200 +Subject: [PATCH] fix CMakeLists.txt for distutils_cmake + +Signed-off-by: Bernd Waibel +--- + distutils_cmake/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/distutils_cmake/CMakeLists.txt b/distutils_cmake/CMakeLists.txt +index 976be6a..ccc54e4 100644 +--- a/distutils_cmake/CMakeLists.txt ++++ b/distutils_cmake/CMakeLists.txt +@@ -1,5 +1,5 @@ + cmake_minimum_required(VERSION 3.5) +-project(pivy_cmake_setup NONE) ++project(pivy_cmake_setup) + + + find_package(Coin CONFIG REQUIRED) +-- +2.31.1 + diff --git a/dev-python/pivy/files/pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch b/dev-python/pivy/files/pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch new file mode 100644 index 000000000000..f3e7c8f0fd70 --- /dev/null +++ b/dev-python/pivy/files/pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch @@ -0,0 +1,26 @@ +From 8fd388dd17f8bfa7df62cbea86d077c1d0d0cb66 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel +Date: Sat, 10 Apr 2021 10:49:57 +0200 +Subject: [PATCH] [Gentoo-specific] clear swig deprecation warning + +Signed-off-by: Bernd Waibel +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 14f0f1b..b1f9a8f 100755 +--- a/setup.py ++++ b/setup.py +@@ -144,7 +144,7 @@ class pivy_build(build): + SWIG = ((sys.platform == "win32" and "swig.exe") or "swig") + + SWIG_SUPPRESS_WARNINGS = "-w302,306,307,312,314,325,361,362,467,389,503,509,510" +- SWIG_PARAMS = "-c++ -python -includeall -modern -D__PIVY__ " + \ ++ SWIG_PARAMS = "-c++ -python -includeall -D__PIVY__ " + \ + "-I. -Ifake_headers -I\"%s\" %s -o %s_wrap.cpp " + \ + "interfaces" + os.sep + "%s.i" + if sys.version_info.major >= 3: +-- +2.31.1 + diff --git a/dev-python/pivy/pivy-0.6.5.ebuild b/dev-python/pivy/pivy-0.6.5.ebuild index 189d4ac89f74..d72586655e36 100644 --- a/dev-python/pivy/pivy-0.6.5.ebuild +++ b/dev-python/pivy/pivy-0.6.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]]; then 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" + KEYWORDS="amd64 x86" fi LICENSE="ISC" diff --git a/dev-python/pivy/pivy-0.6.6.ebuild b/dev-python/pivy/pivy-0.6.6.ebuild new file mode 100644 index 000000000000..840079762e22 --- /dev/null +++ b/dev-python/pivy/pivy-0.6.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +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 + dev-util/cmake +" + +PATCHES=( + "${FILESDIR}"/${P}-0001-fix-CMakeLists.txt-for-distutils_cmake.patch + "${FILESDIR}"/${P}-0002-Gentoo-specific-clear-swig-deprecation-warning.patch +) + +DOCS=( AUTHORS HACKING NEWS README.md THANKS ) -- cgit v1.2.3