dev-python/peewee: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-08-23 20:41:39 +02:00
parent cd9d28f7e7
commit a962994cc3
2 changed files with 0 additions and 84 deletions

View File

@@ -1,3 +1,2 @@
DIST peewee-4.1.2.gh.tar.gz 1046776 BLAKE2B 8a66ea828ad669db4d20cce089e485f75b9f792bc94fea8a1a1d46f9391e062f89c33cb2e7a34aae84645580967c586d4efff067d1aa4d7cfd6cc1da01fe90e9 SHA512 4a384817a8b3a146ac818b7327cc1ef4a02c0322409353ac29f64d9c66e1e6eeebb226db67fa6e4754662e82307b0abaa57b7526faa4dc7d90d911b8cc3094e9
DIST peewee-4.2.6.gh.tar.gz 1068419 BLAKE2B b3ca315cc1bd2a1a11a1ef241b01326d5b9cbb944b1a810cc1f79206ceb6a1c44e0baf13c3b83eea185369d5a303f95363c4934d57574d54b648b7add97830de SHA512 2c67659f67158317849671871e10a01d54ed5113e7e9cd82f1b3144d3f5fcc2be18211bf94a3a30c98740c091522a6ebe4d573f7fbf45cf3e24432341cc9c088
DIST peewee-4.3.0.gh.tar.gz 1091937 BLAKE2B a4af95bc80dce47c2e2abc74afd01d2e25736067ffbbd6f60dd6f62974c9a9a62be4fbfb963646ba3e99c91953839c7612c796381768e35e28ec53bb2114ecf2 SHA512 1745b92e9edd0a34a15aeccdedfc1f7a30f95457f09b1c257b2e6b4ebd377fd515150270de2e0f2d564646302317368a78ad73fcce99398a752e14d1643d40da

View File

@@ -1,83 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
DESCRIPTION="Small Python ORM"
HOMEPAGE="
https://github.com/coleifer/peewee/
https://pypi.org/project/peewee/
"
SRC_URI="
https://github.com/coleifer/peewee/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv x86"
IUSE="examples +native-extensions test"
RESTRICT="!test? ( test )"
DEPEND="
native-extensions? ( dev-db/sqlite:3= )
"
RDEPEND="
${DEPEND}
"
BDEPEND="
native-extensions? (
dev-python/cython[${PYTHON_USEDEP}]
)
test? (
dev-db/postgresql
dev-python/psycopg:0[${PYTHON_USEDEP}]
sys-libs/timezone-data
)
"
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme
src_prepare() {
default
# disable test failing on postgres 16
sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die
}
src_compile() {
if ! use native-extensions; then
local -x NO_SQLITE=1
fi
distutils-r1_src_compile
}
src_test() {
initdb -D "${T}"/pgsql || die
pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die
createdb -h "${T}" peewee_test || die
psql -h "${T}" peewee_test -c 'create extension hstore;' || die
local -x PEEWEE_PSQL_HOST="${T}"
distutils-r1_src_test
pg_ctl -w -D "${T}"/pgsql stop || die
}
python_test() {
"${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}"
}
python_install_all() {
use examples && DOCS=( examples/ )
distutils-r1_python_install_all
}