pkgsrc/databases/skytools/Makefile
obache 84fec03b03 Update skytools to 3.2.
Patch from rudolf via private mail.

2014-03-31  -  SkyTools 3.2  -  "Hit any user to continue"

  = Features =

    * scripts/data_maintainer.py: can use csv file as source
    * debian: support Postgres 9.3, 9.4

  = Minor features =

    * londiste: added ignore_truncate handler option
    * londiste add-table: added lock_timeout option to avoid possible locking issues
    * scripts/data_maintainer.py: added dynamic throttling support (via sql)
    * skytools.scripting: added options to lower log level for exceptions
    * skytools.scripting: simple retriable execute (for sql)

  = Fixes =

    * londiste.create_partition: fixed to avoid deadlocks from concurrent workers
    * londiste.handlers.dispatch: fixed "ignore events aiming at obsolete partitions" bug
    * pgq.cascade.admin: do not allow subscribing to itself (same node)
    * pgq.consumer: fixed RetriableEvent and RetriableWalkerEvent
    * skytools.dbstruct: quote sequence names
    * skytools.set_tcp_keepalive: add compat with newer OSX, simplify, enable win32
    * scripts/data_maintainer.py: fixed to survive null in stats column of sql_modify
    * sql/londiste: fixed londiste.table_info trigger issue
    * sql/pgq: fix retry-queue vs. newgrants
    * sql/pgq: tag pgq.batch_id_seq as dumpable (extension)

  = Cleanups =

    * londiste.drop_obsolete_partitions: drop tables in alphabetical order (that is from the oldest)
    * londiste.handlers: removed duplicate debug logging
    * londiste: moved config processing from dispatch to base handler
    * pgq.localconsumer: added file path check on config load
    * scripts/data_maintainer.py: clean-up
    * debian: include data_maintainer3 in package
    * Get rid of dictfetch*() usage, it's obsolete.
2014-04-24 05:48:01 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2014/04/24 05:48:01 obache Exp $
DISTNAME= skytools-3.2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3622/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pgfoundry.org/projects/skytools
COMMENT= Tools for PostgreSQL for queueing, replication and failover
LICENSE= isc
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
DEPENDS+= rsync-[0-9]*:../../net/rsync
USE_LANGUAGES= c
GNU_CONFIGURE= yes
USE_TOOLS+= awk gmake grep sed
PY_PATCHPLIST= yes
PY_NO_EGG= no
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PRINT_PLIST_AWK+= { gsub("-py${PYVERSSUFFIX}.egg-info", \
"-py$${PYVERSSUFFIX}.egg-info") }
REPLACE_PYTHON+= scripts/*.py
REPLACE_PYTHON+= python/*.py
REPLACE_PYTHON+= python/skytools/*.py
REPLACE_PYTHON+= python/pgq/*.py
REPLACE_PYTHON+= python/pgq/cascade/*.py
REPLACE_PYTHON+= python/londiste/*.py
REPLACE_PYTHON+= python/londiste/handlers/*.py
REPLACE_PYTHON+= misc/*.py
REPLACE_PYTHON+= *.py
REPLACE_PYTHON+= tests/setadm/*.py
REPLACE_PYTHON+= tests/londiste/*.py
REPLACE_PYTHON+= tests/skylog/*.py
REPLACE_PYTHON+= tests/cascade/*.py
REPLACE_PYTHON+= tests/localconsumer/*.py
REPLACE_PYTHON+= tests/quoting/*.py
.include "../../mk/pgsql.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"