mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
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>
This commit is contained in:
committed by
Patrice Clement
parent
46fd3b34a3
commit
824a3e45c0
@@ -1 +1 @@
|
||||
DIST pycollada-0.4.tar.gz 519732 BLAKE2B 9fd9b7ca369943cb6b2d9960b343ed39a9e578bb2e94c06d5e7c027a814220b13ff66d6137371edab150befd4b4301e9cf5420385f7dd3ad72dc11a38c38afa9 SHA512 6e9569b858f2014aa08764d0bf328c8317b94edc91e99c2a7c97bf2355983555ea103012d6e6f197862cb3df113ca9263de18fc47edb3c60e74fa8e58b5ca8b0
|
||||
DIST pycollada-0.6.tar.gz 3109963 BLAKE2B 92e9b3a28c959700fad4f4af1c6375f47b1a3cabb4ff3b8eec47a5625bd680d7088b7c9677e0d395f3be296d555996e5e5819f11ab82a0fa37b0c6fbec33795f SHA512 043eaafbd97a588897870e89202e281777094e4bf63ea56a979b6f7aef7ad549fc2b71f3b575c0b9c413bc10756ba36e02cc7cbd497a6cbaa51f06e99b34f0cd
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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}/
|
||||
Reference in New Issue
Block a user