Make sure that automake includes the python/test/* files.
CVS patchset: 5461
CVS date: 2002/06/03 23:27:05
@top_srcdir@/popt/popthelp.c \
@top_srcdir@/popt/poptint.h \
@top_srcdir@/popt/poptparse.c \
- @top_srcdir@/python/db-py.c \
- @top_srcdir@/python/db-py.h \
+ @top_srcdir@/python/_rpmdb.c \
@top_srcdir@/python/hash.c \
@top_srcdir@/python/hash.h \
@top_srcdir@/python/header-py.c \
@top_srcdir@/python/header-py.h \
+ @top_srcdir@/python/rpmal-py.c \
+ @top_srcdir@/python/rpmal-py.h \
+ @top_srcdir@/python/rpmdb-py.c \
+ @top_srcdir@/python/rpmdb-py.h \
+ @top_srcdir@/python/rpmds-py.c \
+ @top_srcdir@/python/rpmds-py.h \
+ @top_srcdir@/python/rpmfd-py.c \
+ @top_srcdir@/python/rpmfd-py.h \
+ @top_srcdir@/python/rpmfi-py.c \
+ @top_srcdir@/python/rpmfi-py.h \
+ @top_srcdir@/python/rpmmi-py.c \
+ @top_srcdir@/python/rpmmi-py.h \
@top_srcdir@/python/rpmmodule.c \
+ @top_srcdir@/python/rpmrc-py.c \
+ @top_srcdir@/python/rpmrc-py.h \
+ @top_srcdir@/python/rpmte-py.c \
+ @top_srcdir@/python/rpmte-py.h \
+ @top_srcdir@/python/rpmts-py.c \
+ @top_srcdir@/python/rpmts-py.h \
@top_srcdir@/python/upgrade.c \
@top_srcdir@/python/upgrade.h \
@top_srcdir@/tools/dump.c \
misc/Makefile intl/Makefile po/Makefile.in
doc/Makefile doc/manual/Makefile
doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile
- python/Makefile python/rpmdb/Makefile ],
+ python/Makefile python/rpmdb/Makefile python/test/Makefile ],
[ echo timestamp > popt/stamp-h.in
echo timestamp > beecrypt/stamp-h.in
echo timestamp > stamp-h.in
PYVER= @WITH_PYTHON_VERSION@
-SUBDIRS = rpmdb
+SUBDIRS = rpmdb test
INCLUDES = -I. \
-I$(top_srcdir)/lib \
PYVER = @WITH_PYTHON_VERSION@
-SUBDIRS = rpmdb
+SUBDIRS = rpmdb test
INCLUDES = -I. \
-I$(top_srcdir)/lib \
+/** \ingroup python
+ * \file python/_rpmdb.c
+ */
+
/*----------------------------------------------------------------------
Copyright (c) 1999-2001, Digital Creations, Fredericksburg, VA, USA
and Andrew Kuchling. All rights reserved.
#define PY_BSDDB_VERSION "3.3.1"
-static char *rcs_id = "$Id: _rpmdb.c,v 1.2 2002/06/03 20:44:08 jbj Exp $";
+static char *rcs_id = "$Id: _rpmdb.c,v 1.3 2002/06/03 23:27:05 jbj Exp $";
#ifdef WITH_THREAD
#include "debug.h"
/** \ingroup python
- * \class rpm.hdr
+ * \class Rpmhdr
* \brief A python header object represents an RPM package header.
*
* All RPM packages have headers that provide metadata for the package.
#include "debug.h"
/** \ingroup python
- * \class rpm.db
+ * \class Rpmdb
* \brief A python rpmdb object represents an RPM database.
*
* Instances of the rpmdb object provide access to the records of a
PYVER= @WITH_PYTHON_VERSION@
+EXTRA_DIST = \
+ __init__.py dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py
+
rpmdbdir = $(prefix)/lib/python${PYVER}/site-packages/rpmdb
-rpmdb_SCRIPTS = __init__.py \
- dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py
+rpmdb_SCRIPTS = \
+ __init__.py dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py
extern int _rpmio_debug;
/** \ingroup python
- * \name Class: rpm.fd
- * \class rpm.fd
+ * \name Class: Rpmfd
+ * \class Rpmfd
* \brief An python rpm.fd object represents an rpm I/O handle.
*/
#include "debug.h"
/** \ingroup python
- * \class rpm.mi
+ * \class Rpmmi
* \brief A python rpm.mi match iterator object represents the result of a
* database query.
*
*/
/** \ingroup python
- * \name Class: rpm.mi
+ * \name Class: Rpmmi
*/
/*@{*/
}
#endif
-/** \ingroup python
+/**
*/
static PyObject *
rpmmi_Pattern(rpmmiObject * s, PyObject * args)
static int _rc_debug = 0;
/** \ingroup python
- * \class rpm.rc
+ * \class Rpmrc
* \brief A python rpm.rc object encapsulates rpmlib configuration.
*/
#include "debug.h"
/** \ingroup python
- * \name Class: rpm.te
- * \class rpm.te
+ * \name Class: Rpmte
+ * \class Rpmte
* \brief An python rpm.te object represents an element of a transaction set.
*/
#include "debug.h"
/** \ingroup python
- * \name Class: rpm.ts
- * \class rpm.ts
+ * \name Class: Rpmts
+ * \class Rpmts
* \brief A python rpm.ts object represents an RPM transaction set.
*
* The transaction set is the workhorse of RPM. It performs the
%defattr(-,root,root)
%{__prefix}/lib/python%{with_python_version}/site-packages/rpmmodule.so
#%{__prefix}/lib/python%{with_python_version}/site-packages/poptmodule.so
+%{__prefix}/lib/python%{with_python_version}/site-packages/rpmdb
%endif
%if %{with_perl_subpackage}