1 |
commit: be3b276b0690bc0397d89e55bd421886e4c911f5 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 29 17:05:53 2017 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 29 17:05:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3b276b |
7 |
|
8 |
dev-python/peewee: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
dev-python/peewee/Manifest | 1 + |
13 |
dev-python/peewee/peewee-2.8.3.ebuild | 47 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest |
17 |
index 9ade043b9cc..86b6ba4a61d 100644 |
18 |
--- a/dev-python/peewee/Manifest |
19 |
+++ b/dev-python/peewee/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST peewee-2.7.4.tar.gz 608818 SHA256 ff25784ab40d58d659bc8f24e07fe891579b09f74417fca9d8d57772e514c409 SHA512 c72391316c8bd1f712bcb26d4d6e5ef386a415da536d78cade35d42bbb9c8c6d7b0494bf329bd67e3ac5b91a2d76e97365376b0e91a5c6a5b78ab1696f7576cb WHIRLPOOL acc0862963256173b7e918f5456e10dcfb2e533a9cf213841bb42d2bbcea475f8bf329f4227311163de5e9974ea06d1ab9d78b1ab25ce762c11f1d6689556196 |
22 |
DIST peewee-2.8.1.tar.gz 628870 SHA256 a14cfd248c837987346bada53617d7c298a2bd24e18fb4020e6d6e75bf5df05c SHA512 fd65001f6227f3b470046794f306def4a69b2637d916d4d7ee1057dab5671eaae88f32fe5345e3266829651e7529c53d9928516135af520832f34bfc0b1b9f39 WHIRLPOOL e95f14b16dd134153e4d5180a20546dfca3334c9db1e170b20d7f7c8b5e12331612f96daca7de2eddc0ffd64fe786db40b3482200fcd3268f2e1d407bd65fb72 |
23 |
DIST peewee-2.8.2.tar.gz 762456 SHA256 f9a62c41b0e38854e420881d316fc5834b1a1900d3d8c97bc3d00cafde22c265 SHA512 8ffab1c6ac8815e409df67eb2a71604a6e1087693b848a0e49dfd7c1c1cdab4271a81cfb5a8b4c363e19c750ec65608dd6f519a1d2e9a84786d47483cd1e8e20 WHIRLPOOL df129ea2009356d34683f0ac54f6533ac9ba611196dcdd5028b8202461302706459e48b222182d9dfa7b91611d625079531672683aebf3e7d258d2e61cbb3fc0 |
24 |
+DIST peewee-2.8.3.tar.gz 639529 SHA256 356dd041b9fa66d6e7cbc4ff44ec87845abf7d7471427d77bef0f8fa3c9ed9dc SHA512 03a2a24acc12c024d9ffc2ccdc70e763e4879f65221b44cda7ee41083e85e8fa5ffa39227a20baa32368d6bd1f104621bb431740430ef6eb0457225fc78e76e4 WHIRLPOOL 8514c94fe7c71a62641c3d4af1674757ef8e4b703a3bdc90646d1a43f4c3208611c1243294e804d96bf57b8bb025a0a355efd973fffa90ad62d5191713748680 |
25 |
|
26 |
diff --git a/dev-python/peewee/peewee-2.8.3.ebuild b/dev-python/peewee/peewee-2.8.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..453831768e0 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/peewee/peewee-2.8.3.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
37 |
+PYTHON_REQ_USE="sqlite(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
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 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc examples" |
49 |
+ |
50 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
52 |
+# Req'd to ensure a unique tmp.db for each python impl running the testsuite. |
53 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
54 |
+ |
55 |
+python_prepare_all() { |
56 |
+ sed -i -e "s#test_suite='tests',##g;" ./setup.py || die |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |
59 |
+ |
60 |
+python_compile() { |
61 |
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
62 |
+ distutils-r1_python_compile |
63 |
+} |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ use doc && emake -C docs html |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ # Testsuite run using runtests.py does not require deps listed in previous ebuild |
71 |
+ "${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}" |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
76 |
+ use examples && DOCS=( examples/ ) |
77 |
+ distutils-r1_python_install_all |
78 |
+} |