1 |
commit: 46a59dee7dfa37f123fa85f3333a593ca6bb0465 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 18:54:04 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 19:04:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a59dee |
7 |
|
8 |
dev-python/wtf-peewee: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/wtf-peewee/Manifest | 1 + |
13 |
dev-python/wtf-peewee/wtf-peewee-0.2.4.ebuild | 38 +++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/wtf-peewee/Manifest b/dev-python/wtf-peewee/Manifest |
17 |
index 2291282..0e140a3 100644 |
18 |
--- a/dev-python/wtf-peewee/Manifest |
19 |
+++ b/dev-python/wtf-peewee/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST wtf-peewee-0.2.3.tar.gz 60654 SHA256 d64bab9c8b9b247f21534e87a94b988afd9655d7abaa14dc7d2af0bea3a3b9da SHA512 0a8e4a6586a4521d99c35b907935286c20b9106214a9826960073e710fc0a91c68402b9812d2b0119263786f8e48bdcacf999044ade9f3a27afa9bc7fd058926 WHIRLPOOL b44d3480d274f26ff84993c8941c473e6104bab8cd65bd8befb903dc9f2d6fad16299d6b4fc5f3b8af822dbc6aa9781dbe9ba43da6fb2f2dcf929578d3eac7ea |
22 |
+DIST wtf-peewee-0.2.4.tar.gz 60869 SHA256 e771daf99ec6ecab0771742f3bb104058cd5e0b72ad404c6d278b6eefc116349 SHA512 f63ecae4b39873124d11408a58732cc147a7b8a68b7f19be1f8ff67c4847b7daddd9f62c180a723af00176d2d13531fa30d076cf64ea618c260da522555ec7e7 WHIRLPOOL 0fcbc0c919e1df3af1f5d2787ebb8934c697e7dc6f65c9b264306d62a9b552e8969658c7cf6654f260b0e902b4aa3708aed694b36b4262cbf4e3e49aa2c9e43e |
23 |
|
24 |
diff --git a/dev-python/wtf-peewee/wtf-peewee-0.2.4.ebuild b/dev-python/wtf-peewee/wtf-peewee-0.2.4.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..ad5ad9d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/wtf-peewee/wtf-peewee-0.2.4.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+PYTHON_COMPAT=( python2_7 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+RESTRICT="test" |
40 |
+ |
41 |
+DESCRIPTION="Small python ORM" |
42 |
+HOMEPAGE="https://github.com/coleifer/peewee/" |
43 |
+SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="examples test" |
48 |
+ |
49 |
+RDEPEND=">=dev-python/peewee-2.0.0[${PYTHON_USEDEP}] |
50 |
+ dev-python/wtforms[${PYTHON_USEDEP}]" |
51 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ test? ( "${RDEPEND}" )" |
53 |
+ |
54 |
+python_prepare_all() { |
55 |
+ # https://github.com/coleifer/peewee/issues/361 |
56 |
+ sed -e s':test_null_form_saving:_&:' -i "${PN/\-/}"/tests.py || die |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |
59 |
+ |
60 |
+python_test() { |
61 |
+ "${PYTHON}" ./runtests.py || die "Testing failed with ${EPYTHON}" |
62 |
+} |
63 |
+ |
64 |
+python_install_all() { |
65 |
+ use examples && local EXAMPLES=( example/. ) |
66 |
+ distutils-r1_python_install_all |
67 |
+} |