pkgsrc/databases/skytools/Makefile
obache 9d5755c043 Import skytools-3.1.5 as databases/skytools.
Based on PR pkg/48639 by rudolf.

SkyTools is a package of tools in use in Skype for replication and failover.
It also includes a generic queuing mechanism called PgQ and a utility
library for Python scripts, as well as a script for setting up and managing
WAL based standby servers.

PgQ is a queuing system written in PL/pgSQL, Python and C code. It is based
on snapshot-based event handling ideas from Slony-I, and is written for
general usage. PgQ provides an efficient, transactional, queueing system
with multi-node support (including work sharing and splitting, failover and
switchover, for queues and for consumers). PgQ is split into 3 layers:
Producers, Ticker and Consumers.

Londiste is a replication tool written in Python, using PgQ as event
transport.

Walmgr is a script that will setup WAL archiving, does the initial backup,
and runtime WAL archive and restore. It can also be used for
up-to-last-second partial file copying, so that less than the whole file is
lost in case of loss of the master database server.
2014-03-06 11:28:41 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2014/03/06 11:28:41 obache Exp $
DISTNAME= skytools-3.1.5
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3515/
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"