update to pg_activity-2.1.2, moving to py3. drop the py- prefix on the

pkgname as this is a standalone tool. looks ok landry@, no reply maintainer@
This commit is contained in:
sthen 2021-03-20 21:23:58 +00:00
parent e75e7dc88b
commit 808fc62cd4
5 changed files with 66 additions and 22 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.5 2021/02/23 19:39:12 sthen Exp $
# $OpenBSD: Makefile,v 1.6 2021/03/20 21:23:58 sthen Exp $
COMMENT = command line tool for PostgreSQL server activity monitoring
MODPY_EGG_VERSION = 1.5.0
MODPY_EGG_VERSION = 2.1.2
DISTNAME = pg_activity-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
GH_ACCOUNT = julmon
GH_ACCOUNT = dalibo
GH_PROJECT = pg_activity
GH_TAGNAME = v${MODPY_EGG_VERSION}
@ -18,11 +17,13 @@ MAINTAINER = Ingo Feinerer <feinerer@logic.at>
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
MODPY_SETUPTOOLS = Yes
MODPY_SETUP_ARGS = --with-man
RUN_DEPENDS = databases/py-psycopg2 \
sysutils/py-psutil
RUN_DEPENDS = databases/py-psycopg2${MODPY_FLAVOR} \
devel/py-attrs${MODPY_FLAVOR} \
sysutils/py-blessed${MODPY_FLAVOR} \
sysutils/py-psutil${MODPY_FLAVOR} \
textproc/py-humanize${MODPY_FLAVOR}
post-patch:
sed -i 's|/usr/share|${LOCALBASE}|' ${WRKSRC}/setup.py

View File

@ -1,2 +1,2 @@
SHA256 (pg_activity-1.5.0.tar.gz) = 8nqHElkbjhwGNPgLjAckwaYsiKXFInnhVF0VknRaDdU=
SIZE (pg_activity-1.5.0.tar.gz) = 92392
SHA256 (pg_activity-2.1.2.tar.gz) = IK5DgCaw7Hsk4bTeTzVEvibye8giCdgLX3E2tJm8RyA=
SIZE (pg_activity-2.1.2.tar.gz) = 277878

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/10/15 07:29:10 feinerer Exp $
@comment $OpenBSD: PLIST,v 1.2 2021/03/20 21:23:58 sthen Exp $
@conflict py-pg_activity-*
bin/pg_activity
lib/python${MODPY_VERSION}/site-packages/pg_activity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pg_activity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -7,14 +8,55 @@ lib/python${MODPY_VERSION}/site-packages/pg_activity-${MODPY_EGG_VERSION}-py${MO
lib/python${MODPY_VERSION}/site-packages/pg_activity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pg_activity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pgactivity/
lib/python${MODPY_VERSION}/site-packages/pgactivity/Data.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/Data.pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/Process.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/Process.pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/UI.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/UI.pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/__init__.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}activities.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}colors.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}data.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}handlers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}keys.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}ui.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}views.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/${MODPY_PYCACHE}widgets.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/activities.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/colors.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/compat.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/data.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/handlers.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/keys.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/disable_log_min_duration_sample.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/disable_log_min_duration_statement.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/do_pg_cancel_backend.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/do_pg_terminate_backend.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_active_connections.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_active_connections_post_90200.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_blocking.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_blocking_post_90200.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_db_info.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pg_activity.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pg_activity_post_100000.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pg_activity_post_110000.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pg_activity_post_90200.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pg_activity_post_90600.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pga_inet_addresses.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_pid_file.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_version.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_waiting.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/get_waiting_post_90200.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/queries/is_superuser.sql
lib/python${MODPY_VERSION}/site-packages/pgactivity/types.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/ui.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/utils.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/views.py
lib/python${MODPY_VERSION}/site-packages/pgactivity/widgets.py
@man man/man1/pg_activity.1
share/doc/${MODPY_PY_PREFIX}pg_activity/
share/doc/${MODPY_PY_PREFIX}pg_activity/LICENSE.txt
share/doc/py-pg_activity/
share/doc/py-pg_activity/LICENSE.txt

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1233 2021/03/15 21:40:46 sthen Exp $
# $OpenBSD: Makefile,v 1.1234 2021/03/20 21:23:58 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.621
PKGNAME = quirks-3.622
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1247 2021/03/15 21:40:46 sthen Exp $
# $OpenBSD: Quirks.pm,v 1.1248 2021/03/20 21:23:58 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -615,6 +615,7 @@ my $stem_extensions = {
'py-setproctitle' => 'py3-setproctitle',
'py-ptyprocess' => 'py3-ptyprocess',
'py-jwt' => 'py3-jwt',
'py-pg_activity' => 'pg_activity', # removing py- prefix
};
my $obsolete_reason = {