diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-28 08:43:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-28 09:00:36 +0200 |
commit | 68c3c40a53cf7158b6a65e219b8fd5c6ba1e03e7 (patch) | |
tree | 8e5e84219fc2b7803951e98c0e085a57b38474d4 /dev-python/peewee | |
parent | dev-python/textdistance: Bump to 4.2.2 (diff) | |
download | gentoo-68c3c40a53cf7158b6a65e219b8fd5c6ba1e03e7.tar.gz gentoo-68c3c40a53cf7158b6a65e219b8fd5c6ba1e03e7.tar.bz2 gentoo-68c3c40a53cf7158b6a65e219b8fd5c6ba1e03e7.zip |
dev-python/peewee: Bump to 3.14.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/peewee')
-rw-r--r-- | dev-python/peewee/Manifest | 1 | ||||
-rw-r--r-- | dev-python/peewee/peewee-3.14.7.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index ed67a21c31a4..a0660b009779 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1 +1,2 @@ DIST peewee-3.14.4.tar.gz 882123 BLAKE2B e20848eaa7cd93ea5fcea152ffbfdbab694d9fea7ee8b945c029fee8d6c4a263317fbb0506df31d490611a2b2ac0718b0fdbea875f0013eb1f3f71941f12a26b SHA512 261856f4b691b8f5610d041a049148f213c22348a7e50514f7792932c1f4e8735b4dddb8a29c42e583c38e89551df2f05951d81bda0c47a80dc1eeeb0345f30f +DIST peewee-3.14.7.tar.gz 891167 BLAKE2B eb8e095fc76ac8984f43fe57ea691eb570551fe07e43092a1d7acb023fbcf9cb1f3e921a428695c8e88d959cdf306c426a8fd3f3a58443a752521e161caa31ee SHA512 ea416fda8c39f08236d2f3b440ac6229a40b37caba7d487e1be34a75a05ff880eabb9423033043dfbfe25ab887fad8dcc8fcf2a3778836f19ae2c1ad8df77d96 diff --git a/dev-python/peewee/peewee-3.14.7.ebuild b/dev-python/peewee/peewee-3.14.7.ebuild new file mode 100644 index 000000000000..1cc6d6fccfb0 --- /dev/null +++ b/dev-python/peewee/peewee-3.14.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Small Python ORM" +HOMEPAGE="https://github.com/coleifer/peewee/" +SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( dev-python/psycopg[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs + +python_test() { + "${EPYTHON}" ./runtests.py -v 2 || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && DOCS=( examples/ ) + distutils-r1_python_install_all +} |