From 1fb95da94a77f9c4e3ad4370412813f6d93f5cbd Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Fri, 17 Apr 2020 15:36:31 +0200 Subject: [PATCH] dev-python/pycollada: bump to 0.7.1 Closes: https://bugs.gentoo.org/717566 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Bernd Waibel Signed-off-by: Joonas Niilola --- dev-python/pycollada/Manifest | 1 + dev-python/pycollada/metadata.xml | 5 ++- dev-python/pycollada/pycollada-0.7.1.ebuild | 45 +++++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 dev-python/pycollada/pycollada-0.7.1.ebuild diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest index 1b273279a3ad..47d5abe8cb17 100644 --- a/dev-python/pycollada/Manifest +++ b/dev-python/pycollada/Manifest @@ -1 +1,2 @@ DIST pycollada-0.6.tar.gz 3109963 BLAKE2B 92e9b3a28c959700fad4f4af1c6375f47b1a3cabb4ff3b8eec47a5625bd680d7088b7c9677e0d395f3be296d555996e5e5819f11ab82a0fa37b0c6fbec33795f SHA512 043eaafbd97a588897870e89202e281777094e4bf63ea56a979b6f7aef7ad549fc2b71f3b575c0b9c413bc10756ba36e02cc7cbd497a6cbaa51f06e99b34f0cd +DIST pycollada-0.7.1.tar.gz 3526373 BLAKE2B 9adcbff206bc856fce1eef1784734c5604800cff350d32a83d53a4eaf965673adac797f510662dffc70fcfd76a7102fdb9321ead89d765954ffccc9338df446a SHA512 ac4d88b2398bf0364beaaf3e2e468be9131dc0f8088bfce8be18d9eb5a7c093db84a364931884fa7c493dfae81036ec63bc7c689ebf49e961eefc0c4853a0131 diff --git a/dev-python/pycollada/metadata.xml b/dev-python/pycollada/metadata.xml index 04ffb3bbb4c8..e0cc39c32687 100644 --- a/dev-python/pycollada/metadata.xml +++ b/dev-python/pycollada/metadata.xml @@ -10,8 +10,9 @@ Proxy Maintainers -A python COLLADA library, which can be used to create, edit and load -COLLADA documents. +A python module for creating, editing and loading COLLADA, which is a +COLLAborative Design Activity for establishing an interchange file format +for interactive 3D applications. pycollada/pycollada diff --git a/dev-python/pycollada/pycollada-0.7.1.ebuild b/dev-python/pycollada/pycollada-0.7.1.ebuild new file mode 100644 index 000000000000..9e07aa9cc4f7 --- /dev/null +++ b/dev-python/pycollada/pycollada-0.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for reading and writing COLLADA documents" +HOMEPAGE="https://pycollada.readthedocs.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.2[${PYTHON_USEDEP}] +" + +DOCS=( AUTHORS.md COPYING README.markdown ) + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +python_install_all() { + if use examples ; then + insinto /usr/share/${P}/ + doins -r examples + fi + + distutils-r1_python_install_all +} + +python_install() { + distutils-r1_python_install + + # ensure data files for tests are getting installed too + python_moduleinto collada/tests/ + python_domodule collada/tests/data +} -- 2.26.2