1 |
mgorny 13/07/31 22:58:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: graphy-1.0-r1.ebuild |
5 |
Log: |
6 |
Migrate to distutils-r1, bug #479292. |
7 |
|
8 |
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-python/graphy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graphy/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graphy/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graphy/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/graphy/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 16 Jun 2012 07:43:36 -0000 1.3 |
24 |
+++ ChangeLog 31 Jul 2013 22:58:21 -0000 1.4 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/graphy |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/graphy/ChangeLog,v 1.3 2012/06/16 07:43:36 pacho Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graphy/ChangeLog,v 1.4 2013/07/31 22:58:21 mgorny Exp $ |
31 |
+ |
32 |
+*graphy-1.0-r1 (31 Jul 2013) |
33 |
+ |
34 |
+ 31 Jul 2013; Michał Górny <mgorny@g.o> +graphy-1.0-r1.ebuild: |
35 |
+ Migrate to distutils-r1, bug #479292. |
36 |
|
37 |
16 Jun 2012; Pacho Ramos <pacho@g.o> metadata.xml: |
38 |
Drop maintainer as he is not able to maintain this anymore. |
39 |
@@ -13,4 +18,3 @@ |
40 |
24 Dec 2009; Mounir Lamouri <volkmar@g.o> +graphy-1.0.ebuild, |
41 |
+metadata.xml: |
42 |
Initial commit |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-python/graphy/graphy-1.0-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graphy/graphy-1.0-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graphy/graphy-1.0-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: graphy-1.0-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/graphy/graphy-1.0-r1.ebuild,v 1.1 2013/07/31 22:58:21 mgorny Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) |
61 |
|
62 |
inherit distutils-r1 |
63 |
|
64 |
MY_P=${PN}_${PV} |
65 |
|
66 |
DESCRIPTION="Simple Chart Library for Python" |
67 |
HOMEPAGE="http://code.google.com/p/graphy/" |
68 |
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.bz2" |
69 |
|
70 |
LICENSE="Apache-2.0" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc ~x86" |
73 |
IUSE="examples" |
74 |
|
75 |
S=${WORKDIR}/${MY_P} |
76 |
|
77 |
python_prepare_all() { |
78 |
# drop Python version (2.4) from shebangs |
79 |
find -name '*.py' -exec sed -i -e '1s:python2\.4:python:' {} + \ |
80 |
|| die "shebang sed failed" |
81 |
# clean up |
82 |
find graphy/ -name '*.pyc' -delete || die |
83 |
find graphy/ -name '.svn' -exec rm -rf {} + || die |
84 |
|
85 |
distutils-r1_python_prepare_all |
86 |
} |
87 |
|
88 |
python_compile() { |
89 |
: |
90 |
} |
91 |
|
92 |
python_test() { |
93 |
local PYTHONPATH |
94 |
mkdir -p "${BUILD_DIR}"/lib || die |
95 |
cp -r graphy "${BUILD_DIR}"/lib/ || die |
96 |
"${PYTHON}" "${BUILD_DIR}"/lib/graphy/all_tests.py \ |
97 |
|| die "Tests fail with ${EPYTHON}" |
98 |
} |
99 |
|
100 |
python_install() { |
101 |
python_domodule graphy |
102 |
} |
103 |
|
104 |
python_install_all() { |
105 |
use examples && local EXAMPLES=( examples/. ) |
106 |
|
107 |
distutils-r1_python_install_all |
108 |
} |