Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/peewee/
Date: Mon, 27 Feb 2023 17:49:51
Message-Id: 1677520184.dfffdb997a48ae98406b70dd1d59477ace8c5546.mgorny@gentoo
1 commit: dfffdb997a48ae98406b70dd1d59477ace8c5546
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 17:44:38 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 17:49:44 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfffdb99
7
8 dev-python/peewee: Bump to 3.16.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/peewee/Manifest | 1 +
13 dev-python/peewee/peewee-3.16.0.ebuild | 41 ++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest
17 index 981481bfb314..d9cecd3dc380 100644
18 --- a/dev-python/peewee/Manifest
19 +++ b/dev-python/peewee/Manifest
20 @@ -1 +1,2 @@
21 DIST peewee-3.15.4.gh.tar.gz 908759 BLAKE2B 5bb53598f44c75f4b819d7aa032a2bc812f1e6de415b4cc01e22e521e4881dd409ceaf26435ddfcf08167c5193594917f23b15ae91f037fa4216d78752e77247 SHA512 9042e1c4fffac0c395500597981ab4732383c273e2b7f2b129b2b7702d9762772a219bb848a1f0aff802c468f38327f629df1c49028858451578115cf0811a13
22 +DIST peewee-3.16.0.gh.tar.gz 1085430 BLAKE2B 3acfbbc9d8cce7e4bd1c0027905f4ca44431f376a243adffbfadd4d3f15b4e729c4736076e8ec72c40261ca269c66d811afb6c25b9d075d5913a13869da4f4dd SHA512 f77a040831bd3189135196ede9748c92af9db21127839dfacd7712586273bdd22c688ca22bfa373805fa1b64f770b7cea850cba53e73f324f25ced1305830409
23
24 diff --git a/dev-python/peewee/peewee-3.16.0.ebuild b/dev-python/peewee/peewee-3.16.0.ebuild
25 new file mode 100644
26 index 000000000000..510db3493fa3
27 --- /dev/null
28 +++ b/dev-python/peewee/peewee-3.16.0.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{9..11} )
37 +PYTHON_REQ_USE="sqlite"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Small Python ORM"
42 +HOMEPAGE="
43 + https://github.com/coleifer/peewee/
44 + https://pypi.org/project/peewee/
45 +"
46 +SRC_URI="
47 + https://github.com/coleifer/${PN}/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~riscv ~x86"
54 +IUSE="examples test"
55 +RESTRICT="!test? ( test )"
56 +
57 +BDEPEND="
58 + dev-python/cython[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_sphinx docs
62 +
63 +python_test() {
64 + "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}"
65 +}
66 +
67 +python_install_all() {
68 + use examples && DOCS=( examples/ )
69 + distutils-r1_python_install_all
70 +}