1 |
commit: c147fd12ba50898bc95c33059224018923fe466f |
2 |
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> |
3 |
AuthorDate: Tue Jan 29 21:27:14 2013 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 29 21:27:14 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=c147fd12 |
7 |
|
8 |
dev-python/nose-testconfig: QA |
9 |
|
10 |
--- |
11 |
dev-python/nose-testconfig/metadata.xml | 1 - |
12 |
.../nose-testconfig/nose-testconfig-0.3.ebuild | 23 +++++++++++-------- |
13 |
2 files changed, 13 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/nose-testconfig/metadata.xml b/dev-python/nose-testconfig/metadata.xml |
16 |
index 5e10119..cc3fe24 100644 |
17 |
--- a/dev-python/nose-testconfig/metadata.xml |
18 |
+++ b/dev-python/nose-testconfig/metadata.xml |
19 |
@@ -1,7 +1,6 @@ |
20 |
<?xml version="1.0" encoding="UTF-8"?> |
21 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
22 |
<pkgmetadata> |
23 |
- <herd>no-herd</herd> |
24 |
<maintainer> |
25 |
<email>maintainer-wanted@g.o</email> |
26 |
</maintainer> |
27 |
|
28 |
diff --git a/dev-python/nose-testconfig/nose-testconfig-0.3.ebuild b/dev-python/nose-testconfig/nose-testconfig-0.3.ebuild |
29 |
index 4d6a116..767c167 100644 |
30 |
--- a/dev-python/nose-testconfig/nose-testconfig-0.3.ebuild |
31 |
+++ b/dev-python/nose-testconfig/nose-testconfig-0.3.ebuild |
32 |
@@ -1,30 +1,33 @@ |
33 |
-# Copyright 1999-2008 Gentoo Foundation |
34 |
+# Copyright 1999-2013 Gentoo Foundation |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
# $Header: $ |
37 |
|
38 |
-inherit distutils |
39 |
+EAPI="3" |
40 |
|
41 |
+inherit distutils |
42 |
|
43 |
DESCRIPTION="Test Configuration plugin for nosetests." |
44 |
HOMEPAGE="http://pypi.python.org/pypi/nose-testconfig" |
45 |
-SRC_URI="http://pypi.python.org/packages/source/n/${PN}/${P}.tar.gz" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
LICENSE="Apache-2.0" |
48 |
KEYWORDS="~x86" |
49 |
SLOT="0" |
50 |
IUSE="doc examples" |
51 |
+ |
52 |
DEPEND="dev-python/setuptools" |
53 |
+RDEPEND="" |
54 |
|
55 |
src_install() { |
56 |
- rm "${S}/build/lib/ez_setup.py" "${S}/ez_setup.py" |
57 |
distutils_src_install |
58 |
+ |
59 |
if use doc; then |
60 |
- insinto /usr/share/doc/"${PF}" |
61 |
- dodoc "${S}"/docs/* |
62 |
+ insinto /usr/share/doc/${PF} |
63 |
+ dodoc "${S}"/docs/* || die |
64 |
fi |
65 |
+ |
66 |
if use examples; then |
67 |
- rm examples/test_config.pyc |
68 |
- insinto /usr/share/doc/"${PF}"/examples |
69 |
- doins -r "${S}"/examples/* |
70 |
+ rm examples/test_config.pyc || die |
71 |
+ insinto /usr/share/doc/${PF}/examples |
72 |
+ doins -r "${S}"/examples/* || die |
73 |
fi |
74 |
} |
75 |
- |