diff options
author | Bernd Waibel <waebbl@gmail.com> | 2020-04-17 15:36:31 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-21 11:16:09 +0300 |
commit | 1fb95da94a77f9c4e3ad4370412813f6d93f5cbd (patch) | |
tree | 3ae733d1dbe05505bc780badf65bc8682343178f /dev-python/pycollada/pycollada-0.7.1.ebuild | |
parent | skel.metadata.xml: indent, add content to longdescription (diff) | |
download | gentoo-1fb95da94a77f9c4e3ad4370412813f6d93f5cbd.tar.gz gentoo-1fb95da94a77f9c4e3ad4370412813f6d93f5cbd.tar.bz2 gentoo-1fb95da94a77f9c4e3ad4370412813f6d93f5cbd.zip |
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 <waebbl@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/pycollada/pycollada-0.7.1.ebuild')
-rw-r--r-- | dev-python/pycollada/pycollada-0.7.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
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 +} |