Files
ports/databases/pg_activity/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
889 B
Makefile

PORTNAME= pg_activity
PORTVERSION= 3.6.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= databases python
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Htop like application for PostgreSQL server activity monitoring
WWW= https://github.com/dalibo/pg_activity
LICENSE= PostgreSQL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blessed>=0:devel/py-blessed@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}attrs>=20.1.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}humanize>=0:devel/py-humanize@${PY_FLAVOR}
USES= python
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
GH_ACCOUNT= dalibo
USE_PYTHON= autoplist distutils noegginfo concurrent optsuffix
post-patch:
${REINPLACE_CMD} -e 's|\/usr\/share|${PREFIX}/share|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>