diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 06:56:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 06:56:53 +0000 |
commit | 1fbaf1314579f2155166bebd1ddfe6131d400807 (patch) | |
tree | b034ac67fab73c50b138ed5a57e5823cda058299 /dev-python/pycollada/pycollada-0.8.ebuild | |
parent | f50726afc610727258a31ddfa8b3b32639b20a10 (diff) |
gentoo auto-resync : 08:01:2024 - 06:56:53
Diffstat (limited to 'dev-python/pycollada/pycollada-0.8.ebuild')
-rw-r--r-- | dev-python/pycollada/pycollada-0.8.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
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 +} |