diff options
Diffstat (limited to 'dev-python/core-srht')
| -rw-r--r-- | dev-python/core-srht/core-srht-0.69.7.ebuild | 20 | 
1 files changed, 19 insertions, 1 deletions
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 +}  | 
