From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/whirlpool: ChangeLog whirlpool-0.3-r1.ebuild whirlpool-0.3.ebuild |
Date: | Tue, 04 Jun 2013 07:48:49 |
Message-Id: | 20130604074843.A29DB2171D@flycatcher.gentoo.org |
1 | jlec 13/06/04 07:48:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: whirlpool-0.3-r1.ebuild |
5 | Removed: whirlpool-0.3.ebuild |
6 | Log: |
7 | dev-python/whirlpool: Install data files into /usr/share/PN |
8 | |
9 | (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
10 | |
11 | Revision Changes Path |
12 | 1.2 dev-python/whirlpool/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/whirlpool/ChangeLog?rev=1.2&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/whirlpool/ChangeLog?rev=1.2&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/whirlpool/ChangeLog?r1=1.1&r2=1.2 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-python/whirlpool/ChangeLog,v |
21 | retrieving revision 1.1 |
22 | retrieving revision 1.2 |
23 | diff -u -r1.1 -r1.2 |
24 | --- ChangeLog 3 Jun 2013 19:49:24 -0000 1.1 |
25 | +++ ChangeLog 4 Jun 2013 07:48:43 -0000 1.2 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for dev-python/whirlpool |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/whirlpool/ChangeLog,v 1.1 2013/06/03 19:49:24 jlec Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/whirlpool/ChangeLog,v 1.2 2013/06/04 07:48:43 jlec Exp $ |
31 | + |
32 | +*whirlpool-0.3-r1 (04 Jun 2013) |
33 | + |
34 | + 04 Jun 2013; Justin Lecher <jlec@g.o> -whirlpool-0.3.ebuild, |
35 | + +whirlpool-0.3-r1.ebuild: |
36 | + Install data files into /usr/share/PN |
37 | |
38 | *whirlpool-0.3 (03 Jun 2013) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 dev-python/whirlpool/whirlpool-0.3-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/whirlpool/whirlpool-0.3-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/whirlpool/whirlpool-0.3-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: whirlpool-0.3-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-python/whirlpool/whirlpool-0.3-r1.ebuild,v 1.1 2013/06/04 07:48:43 jlec Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | PYTHON_COMPAT=( python2_7 ) |
57 | |
58 | inherit distutils-r1 |
59 | |
60 | MY_PN="Whirlpool" |
61 | MY_P="${MY_PN}-${PV}" |
62 | |
63 | DESCRIPTION="Bindings for whirlpool hash reference implementation" |
64 | HOMEPAGE="https://pypi.python.org/pypi/Whirlpool https://github.com/radiosilence/python-whirlpool" |
65 | SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
66 | |
67 | SLOT="0" |
68 | LICENSE="public-domain" |
69 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
70 | IUSE="test" |
71 | |
72 | RDEPEND="" |
73 | DEPEND="${RDEPEND} |
74 | test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )" |
75 | |
76 | S="${WORKDIR}"/${MY_P} |
77 | |
78 | python_prepare_all() { |
79 | sed \ |
80 | -e "/data_files/s:whirlpool:share/whirlpool:g" \ |
81 | -i setup.py || die |
82 | distutils-r1_python_prepare_all |
83 | } |
84 | |
85 | python_test() { |
86 | ${PYTHON} "${FILESDIR}"/tests.py || die |
87 | } |