From d28857b322402e48794c4d05ca444943367b2a6f Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sat, 7 Jan 2023 23:20:27 -0500 Subject: dev-python/core-srht: update Signed-off-by: Julien Roy --- dev-python/core-srht/core-srht-0.69.7.ebuild | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'dev-python/core-srht/core-srht-0.69.7.ebuild') diff --git a/dev-python/core-srht/core-srht-0.69.7.ebuild b/dev-python/core-srht/core-srht-0.69.7.ebuild index 5a225d5..ab60e80 100644 --- a/dev-python/core-srht/core-srht-0.69.7.ebuild +++ b/dev-python/core-srht/core-srht-0.69.7.ebuild @@ -18,7 +18,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/alembic[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/alembic[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/bleach[${PYTHON_USEDEP}] dev-python/celery[${PYTHON_USEDEP}] @@ -31,6 +32,7 @@ RDEPEND="dev-python/alembic[${PYTHON_USEDEP}] dev-python/prometheus_client[${PYTHON_USEDEP}] dev-python/psycopg:2[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] + dev-python/redis-py[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] dev-python/SQLAlchemy-Utils[${PYTHON_USEDEP}] @@ -43,3 +45,19 @@ src_unpack() { mv "${WORKDIR}/bootstrap-${BOOTSTRAPVER}" "${WORKDIR}/bootstrap" || die cp -r "${WORKDIR}/bootstrap" "${S}/srht/scss" || die } + +src_prepare() { + default + pyver="$(python3 --version | cut -d. -f1-2 | cut -d' ' -f2-)" + sed -e "s/python3.8/python$pyver/" -i srht/Makefile || die +} + +src_compile() { + export PKGVER=${PV} + default +} + +src_install() { + export PKGVER=${PV} + default +} -- cgit v1.2.3