1 |
commit: 824a3e45c0a79d7571267d4d525ab274a0cc2e93 |
2 |
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 23 22:21:11 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 7 23:03:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824a3e45 |
7 |
|
8 |
dev-python/pycollada: version bump. |
9 |
|
10 |
* remove old 0.4 |
11 |
* bump to EAPI 7 |
12 |
* add myself as maintainer (see |
13 |
https://archives.gentoo.org/gentoo-dev/message/3d497dc197a35250614437572ef80e4b) |
14 |
|
15 |
Closes: https://bugs.gentoo.org/518388 |
16 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
17 |
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com> |
18 |
Closes: https://github.com/gentoo/gentoo/pull/10689 |
19 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
20 |
|
21 |
dev-python/pycollada/Manifest | 2 +- |
22 |
dev-python/pycollada/metadata.xml | 19 ++++++++--- |
23 |
.../{pycollada-0.4.ebuild => pycollada-0.6.ebuild} | 39 ++++++++++++---------- |
24 |
3 files changed, 38 insertions(+), 22 deletions(-) |
25 |
|
26 |
diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest |
27 |
index 8b9b16a339e..1b273279a3a 100644 |
28 |
--- a/dev-python/pycollada/Manifest |
29 |
+++ b/dev-python/pycollada/Manifest |
30 |
@@ -1 +1 @@ |
31 |
-DIST pycollada-0.4.tar.gz 519732 BLAKE2B 9fd9b7ca369943cb6b2d9960b343ed39a9e578bb2e94c06d5e7c027a814220b13ff66d6137371edab150befd4b4301e9cf5420385f7dd3ad72dc11a38c38afa9 SHA512 6e9569b858f2014aa08764d0bf328c8317b94edc91e99c2a7c97bf2355983555ea103012d6e6f197862cb3df113ca9263de18fc47edb3c60e74fa8e58b5ca8b0 |
32 |
+DIST pycollada-0.6.tar.gz 3109963 BLAKE2B 92e9b3a28c959700fad4f4af1c6375f47b1a3cabb4ff3b8eec47a5625bd680d7088b7c9677e0d395f3be296d555996e5e5819f11ab82a0fa37b0c6fbec33795f SHA512 043eaafbd97a588897870e89202e281777094e4bf63ea56a979b6f7aef7ad549fc2b71f3b575c0b9c413bc10756ba36e02cc7cbd497a6cbaa51f06e99b34f0cd |
33 |
|
34 |
diff --git a/dev-python/pycollada/metadata.xml b/dev-python/pycollada/metadata.xml |
35 |
index bf9cf589620..04ffb3bbb4c 100644 |
36 |
--- a/dev-python/pycollada/metadata.xml |
37 |
+++ b/dev-python/pycollada/metadata.xml |
38 |
@@ -1,8 +1,19 @@ |
39 |
<?xml version="1.0" encoding="UTF-8"?> |
40 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
41 |
<pkgmetadata> |
42 |
- <!-- maintainer-needed --> |
43 |
- <upstream> |
44 |
- <remote-id type="github">pycollada/pycollada</remote-id> |
45 |
- </upstream> |
46 |
+<maintainer type="person"> |
47 |
+ <email>waebbl@×××××.com</email> |
48 |
+ <name>Bernd Waibel</name> |
49 |
+</maintainer> |
50 |
+<maintainer type="project"> |
51 |
+ <email>proxy-maint@g.o</email> |
52 |
+ <name>Proxy Maintainers</name> |
53 |
+</maintainer> |
54 |
+<longdescription> |
55 |
+A python COLLADA library, which can be used to create, edit and load |
56 |
+COLLADA documents. |
57 |
+</longdescription> |
58 |
+<upstream> |
59 |
+ <remote-id type="github">pycollada/pycollada</remote-id> |
60 |
+</upstream> |
61 |
</pkgmetadata> |
62 |
|
63 |
diff --git a/dev-python/pycollada/pycollada-0.4.ebuild b/dev-python/pycollada/pycollada-0.6.ebuild |
64 |
similarity index 55% |
65 |
rename from dev-python/pycollada/pycollada-0.4.ebuild |
66 |
rename to dev-python/pycollada/pycollada-0.6.ebuild |
67 |
index 91e85d338ac..dfbca8cf7b5 100644 |
68 |
--- a/dev-python/pycollada/pycollada-0.4.ebuild |
69 |
+++ b/dev-python/pycollada/pycollada-0.6.ebuild |
70 |
@@ -1,14 +1,14 @@ |
71 |
-# Copyright 1999-2017 Gentoo Foundation |
72 |
+# Copyright 1999-2018 Gentoo Authors |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
|
75 |
-EAPI="5" |
76 |
+EAPI="7" |
77 |
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
78 |
PYTHON_MULTIPLE_ABI=1 |
79 |
|
80 |
inherit distutils-r1 |
81 |
|
82 |
-DESCRIPTION="python library for reading and writing collada documents" |
83 |
-HOMEPAGE="https://pycollada.github.com/" |
84 |
+DESCRIPTION="Python library for reading and writing COLLADA documents" |
85 |
+HOMEPAGE="https://pycollada.readthedocs.org/" |
86 |
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
87 |
|
88 |
LICENSE="BSD" |
89 |
@@ -16,31 +16,36 @@ SLOT="0" |
90 |
KEYWORDS="~amd64 ~x86" |
91 |
IUSE="doc examples test" |
92 |
|
93 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
94 |
- doc? ( dev-python/sphinx ) |
95 |
- test? ( dev-python/python-dateutil )" |
96 |
-RDEPEND="dev-python/numpy |
97 |
- dev-python/lxml |
98 |
- >=dev-python/python-dateutil-2.0" |
99 |
+RDEPEND=" |
100 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
101 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/python-dateutil-2.2[${PYTHON_USEDEP}] |
103 |
+" |
104 |
+DEPEND="${RDEPEND} |
105 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
106 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
107 |
+ test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] ) |
108 |
+" |
109 |
+ |
110 |
+REQUIRED_USE="${PYTHON_REQ_USE}" |
111 |
+ |
112 |
+DOCS=( AUTHORS.md CHANGELOG.rst COPYING README.markdown ) |
113 |
|
114 |
src_compile() { |
115 |
distutils-r1_src_compile |
116 |
|
117 |
if use doc ; then |
118 |
- pushd docs |
119 |
+ pushd docs > /dev/null || die |
120 |
emake html |
121 |
- popd |
122 |
+ popd > /dev/null || die |
123 |
fi |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
distutils-r1_src_install |
128 |
|
129 |
- if use doc ; then |
130 |
- pushd docs/_build/html |
131 |
- dohtml -r * |
132 |
- popd |
133 |
- fi |
134 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
135 |
+ einstalldocs |
136 |
|
137 |
if use examples ; then |
138 |
insinto /usr/share/${P}/ |