diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pycollada |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pycollada')
-rw-r--r-- | dev-python/pycollada/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pycollada/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pycollada/pycollada-0.4.ebuild | 63 | ||||
-rw-r--r-- | dev-python/pycollada/pycollada-9999.ebuild | 63 |
4 files changed, 143 insertions, 0 deletions
diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest new file mode 100644 index 000000000000..ce44941af055 --- /dev/null +++ b/dev-python/pycollada/Manifest @@ -0,0 +1,6 @@ +DIST pycollada-0.4.tar.gz 519732 SHA256 62a69cce29759900cce0400dac8796d7210de1910dad4c60d4094248c7738121 SHA512 6e9569b858f2014aa08764d0bf328c8317b94edc91e99c2a7c97bf2355983555ea103012d6e6f197862cb3df113ca9263de18fc47edb3c60e74fa8e58b5ca8b0 WHIRLPOOL ce54dcb29cab7e1d97ac8c2eaa3718182373dfa79c7647c7c46f5a2afde88bf7832f98db4a89bdfb58964ccbab041787ac17a25dabc148e963e0739bac27780e +EBUILD pycollada-0.4.ebuild 1222 SHA256 7b969aac335956b86572fe7fa6bd6d97d42e673995620a22fa325cded3675c64 SHA512 2052333ded6165cda96290846334b38b0c34714a79eff0fe0bc42b450eb6c7259ab5788ecf1416bae55b3fa936cfcf4b5b2273b62305507cd32a1a1a36c839b6 WHIRLPOOL 2956471d4b71c4cffcc08d067c7e677e408e744d3289dda4b9661970dcb57975cfa17484066b7a5154f8bd46cda0470badb88b4dff8a8f19c1764166f6b7c9ab +EBUILD pycollada-9999.ebuild 1190 SHA256 477d14ea7306d3f0139a47d85dfaa9df155175dcee2614f92840e7158e02410f SHA512 b0b3142eb3117f4e0db3a6606eae1768ef623c25886f5a23f0b5172a5798718f8697df94be2646a89e6e530951c1c22d549c3904954f5f7b95f193ce5d0a8ed8 WHIRLPOOL 2e1ad6d7d2fd73ac9f05a3ce98219c5513d027600663404196343f14f243348e6b102b0caf0b4fd3f250891782f8ce5b02ddc1762ea10e66183a3c7a315b23df +MISC ChangeLog 3164 SHA256 743fc908c4b8369e22b5ff056ab3dae4a6d0229b2994311f17db842d24b628d3 SHA512 23c81cf7678ca45fa68c86ea54bdc1c4f4da539daeb3499d14f5b9af321a92fe530c6cf4b7b133832a38c950c9c4ae662a943a04ae20d30279801c7c89b3b40b WHIRLPOOL 29f6c6bd8a94e0ff6d7c45e986d406b9489e2d4ae535d1e55b50b3b23abcd52777698723df18c30532959d9456ec8b6d718a9f5df1a9e1511603348b28765fed +MISC ChangeLog-2015 807 SHA256 77cb4ce2b29cc5c794952f8947a5cb76bf113d98840b5990b79abdfd3412d63b SHA512 497a1cb1008998667535e8c6398f9502a866e127d67e898ec6ca5187a6cfefe944c5fed58c10704e523963d7737295f36305653e77dbc227fb551e164dd0f7ff WHIRLPOOL 21bc9d9b3c46f5d4c1dea5abd69d9a1bb6b9152a753a359b81f2a82f01da68b45ed78ddd558deaee13bbc1deac91bf4c2ec1fffb645f43555a2150e04363aa89 +MISC metadata.xml 327 SHA256 e62eb3ae97b86bda5bdde168d04423b4ed2fc2622229507b967c5ca34b67a088 SHA512 a413c6d76aa3a80cf2f32c4cc75760c0574019eff6d381c1f46aefe4bc7924e59f28d593691b2ac7bb0a7afa7fcdb11a264f3bbc600bfab61148634282307886 WHIRLPOOL efe6b7ed50977052280af4b94a684bec4e96c690d9f663263d519e7d3f647bcb4a64d0c7da842be3f8e5dd3f85c1234bf47b5d7609377487ade068a5b8b99ecf diff --git a/dev-python/pycollada/metadata.xml b/dev-python/pycollada/metadata.xml new file mode 100644 index 000000000000..9438ce631d39 --- /dev/null +++ b/dev-python/pycollada/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="github">pycollada/pycollada</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pycollada/pycollada-0.4.ebuild b/dev-python/pycollada/pycollada-0.4.ebuild new file mode 100644 index 000000000000..2f8bf9700865 --- /dev/null +++ b/dev-python/pycollada/pycollada-0.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_MULTIPLE_ABI=1 + +inherit distutils-r1 + +DESCRIPTION="python library for reading and writing collada documents" +HOMEPAGE="https://pycollada.github.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +DEPEND="doc? ( dev-python/sphinx ) + test? ( dev-python/python-dateutil )" +RDEPEND="dev-python/numpy + dev-python/lxml + >=dev-python/python-dateutil-2.0" + +src_compile() { + distutils-r1_src_compile + + if use doc ; then + pushd docs + emake html + popd + fi +} + +src_install() { + distutils-r1_src_install + + if use doc ; then + pushd docs/_build/html + dohtml -r * + popd + fi + + if use examples ; then + insinto /usr/share/${P}/ + doins -r examples + fi + + install_test_data() { + insinto $(python_get_sitedir)/collada/tests/ + doins -r collada/tests/data + } + python_foreach_impl install_test_data +} + +src_test() { + test_collada() { + for script in "${S}"/collada/tests/*.py ; do + PYTHONPATH="${S}" $EPYTHON "${script}" + done + } + python_foreach_impl test_collada +} diff --git a/dev-python/pycollada/pycollada-9999.ebuild b/dev-python/pycollada/pycollada-9999.ebuild new file mode 100644 index 000000000000..f0b16d863454 --- /dev/null +++ b/dev-python/pycollada/pycollada-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_MULTIPLE_ABI=1 + +inherit distutils-r1 git-2 + +DESCRIPTION="python library for reading and writing collada documents" +HOMEPAGE="https://pycollada.github.com/" +EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="doc examples test" + +DEPEND="doc? ( dev-python/sphinx ) + test? ( dev-python/python-dateutil )" +RDEPEND="dev-python/numpy + dev-python/lxml + >=dev-python/python-dateutil-2.0" + +src_compile() { + distutils-r1_src_compile + + if use doc ; then + pushd docs + emake html + popd + fi +} + +src_install() { + distutils-r1_src_install + + if use doc ; then + pushd docs/_build/html + dohtml -r * + popd + fi + + if use examples ; then + insinto /usr/share/${P}/ + doins -r examples + fi + + install_test_data() { + insinto $(python_get_sitedir)/collada/tests/ + doins -r collada/tests/data + } + python_foreach_impl install_test_data +} + +src_test() { + test_collada() { + for script in "${S}"/collada/tests/*.py ; do + PYTHONPATH="${S}" $EPYTHON "${script}" + done + } + python_foreach_impl test_collada +} |