summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2018-12-23 23:21:11 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-02-08 00:03:38 +0100
commit824a3e45c0a79d7571267d4d525ab274a0cc2e93 (patch)
tree2d208e750f05e8bad5e49b969e85cb7bee61c7bd /dev-python/pycollada
parentgames-board/teg: add support for teg configure options. (diff)
downloadgentoo-824a3e45c0a79d7571267d4d525ab274a0cc2e93.tar.gz
gentoo-824a3e45c0a79d7571267d4d525ab274a0cc2e93.tar.bz2
gentoo-824a3e45c0a79d7571267d4d525ab274a0cc2e93.zip
dev-python/pycollada: version bump.
* remove old 0.4 * bump to EAPI 7 * add myself as maintainer (see https://archives.gentoo.org/gentoo-dev/message/3d497dc197a35250614437572ef80e4b) Closes: https://bugs.gentoo.org/518388 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10689 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/pycollada')
-rw-r--r--dev-python/pycollada/Manifest2
-rw-r--r--dev-python/pycollada/metadata.xml19
-rw-r--r--dev-python/pycollada/pycollada-0.6.ebuild (renamed from dev-python/pycollada/pycollada-0.4.ebuild)39
3 files changed, 38 insertions, 22 deletions
diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest
index 8b9b16a339e9..1b273279a3ad 100644
--- a/dev-python/pycollada/Manifest
+++ b/dev-python/pycollada/Manifest
@@ -1 +1 @@
-DIST pycollada-0.4.tar.gz 519732 BLAKE2B 9fd9b7ca369943cb6b2d9960b343ed39a9e578bb2e94c06d5e7c027a814220b13ff66d6137371edab150befd4b4301e9cf5420385f7dd3ad72dc11a38c38afa9 SHA512 6e9569b858f2014aa08764d0bf328c8317b94edc91e99c2a7c97bf2355983555ea103012d6e6f197862cb3df113ca9263de18fc47edb3c60e74fa8e58b5ca8b0
+DIST pycollada-0.6.tar.gz 3109963 BLAKE2B 92e9b3a28c959700fad4f4af1c6375f47b1a3cabb4ff3b8eec47a5625bd680d7088b7c9677e0d395f3be296d555996e5e5819f11ab82a0fa37b0c6fbec33795f SHA512 043eaafbd97a588897870e89202e281777094e4bf63ea56a979b6f7aef7ad549fc2b71f3b575c0b9c413bc10756ba36e02cc7cbd497a6cbaa51f06e99b34f0cd
diff --git a/dev-python/pycollada/metadata.xml b/dev-python/pycollada/metadata.xml
index bf9cf589620c..04ffb3bbb4c8 100644
--- a/dev-python/pycollada/metadata.xml
+++ b/dev-python/pycollada/metadata.xml
@@ -1,8 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">pycollada/pycollada</remote-id>
- </upstream>
+<maintainer type="person">
+ <email>waebbl@gmail.com</email>
+ <name>Bernd Waibel</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<longdescription>
+A python COLLADA library, which can be used to create, edit and load
+COLLADA documents.
+</longdescription>
+<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.6.ebuild
index 91e85d338acd..dfbca8cf7b50 100644
--- a/dev-python/pycollada/pycollada-0.4.ebuild
+++ b/dev-python/pycollada/pycollada-0.6.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="7"
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/"
+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"
@@ -16,31 +16,36 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx )
- test? ( dev-python/python-dateutil )"
-RDEPEND="dev-python/numpy
- dev-python/lxml
- >=dev-python/python-dateutil-2.0"
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )
+"
+
+REQUIRED_USE="${PYTHON_REQ_USE}"
+
+DOCS=( AUTHORS.md CHANGELOG.rst COPYING README.markdown )
src_compile() {
distutils-r1_src_compile
if use doc ; then
- pushd docs
+ pushd docs > /dev/null || die
emake html
- popd
+ popd > /dev/null || die
fi
}
src_install() {
distutils-r1_src_install
- if use doc ; then
- pushd docs/_build/html
- dohtml -r *
- popd
- fi
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ einstalldocs
if use examples ; then
insinto /usr/share/${P}/