commit: ceebbab1dd48e9c2acd5161dd5d2318d43d24ac0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 8 03:25:59 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 8 03:47:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceebbab1
dev-python/pycollada: Bump to 0.8 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pycollada/Manifest | 1 + dev-python/pycollada/pycollada-0.8.ebuild | 53 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest index 6771f0d627b1..ed7aac9deaa9 100644 --- a/dev-python/pycollada/Manifest +++ b/dev-python/pycollada/Manifest @@ -1 +1,2 @@ DIST pycollada-0.7.2.gh.tar.gz 3526845 BLAKE2B 3d8b4d2478fa4937756db69afbd8716ccd2dd4e0bec8e7dc045e84f06573605c0872d31bdee3d6ccca4b800699746877530f2fa81b5790c3f5c0cb3e7583fa66 SHA512 5c21155d52d54de62d192d4da0385bc7110ddd3962fe3e0e9e5904bbcd0e66cb1a95765c9996cdc5beef0edb30ee2123ae23b904d029be1c119e902d2fc4e7fe +DIST pycollada-0.8.gh.tar.gz 3586706 BLAKE2B 533a2a309b4c7ee60671edfd241b80e7128330b2cd85d2707fc4f83b0aceb2d792d8efec77f9a6a8600eec0704878a4342449fde68f77e42617eff30965973a5 SHA512 7171469b8434a7c24ec2ebadefa9ad5268382659cb5b2b3712cf0ba73c7948e7fa4061ecfa02001862c76e1139293ab68cf425472222348e28efa28bc75f844f diff --git a/dev-python/pycollada/pycollada-0.8.ebuild b/dev-python/pycollada/pycollada-0.8.ebuild new file mode 100644 index 000000000000..396c0f814d49 --- /dev/null +++ b/dev-python/pycollada/pycollada-0.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for reading and writing COLLADA documents" +HOMEPAGE=" + https://pycollada.readthedocs.io/ + https://github.com/pycollada/pycollada/ + https://pypi.org/project/pycollada/ +" +SRC_URI=" + https://github.com/pycollada/pycollada/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~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/${PF}/ + 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 +}