diff --git a/databases/py-sybase/Makefile b/databases/py-sybase/Makefile new file mode 100644 index 00000000000..143d2efc621 --- /dev/null +++ b/databases/py-sybase/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/10/13 17:15:05 sturm Exp $ + +COMMENT= "Python interface to the Sybase relational database system" + +DISTNAME= sybase-0.36 +PKGNAME= py-${DISTNAME} +CATEGORIES= databases + +HOMEPAGE= http://www.object-craft.com.au/projects/sybase/ +MASTER_SITES= ${HOMEPAGE}download/ + +MAINTAINER= Xavier Santolaria + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= python + +MODPY_DISTUTILS_BUILD= build_ext +MODPY_DISTUTILS_BUILDARGS= -DHAVE_FREETDS=61 + +LIB_DEPENDS= tds.2,sybdb.3,ct.1::databases/freetds + +MAKE_ENV+= SYBASE="${LOCALBASE}" + +EXAMPLESDIR= ${PREFIX}/share/examples/py-sybase + +post-install: + ${INSTALL_DATA_DIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/timeout.readme ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.{py,sql} ${EXAMPLESDIR} + +.include diff --git a/databases/py-sybase/distinfo b/databases/py-sybase/distinfo new file mode 100644 index 00000000000..f6ee1b4e044 --- /dev/null +++ b/databases/py-sybase/distinfo @@ -0,0 +1,3 @@ +MD5 (sybase-0.36.tar.gz) = 61b624b137d78462b9dc4c3d8ba43450 +RMD160 (sybase-0.36.tar.gz) = 179ac1ecb385bdfdbb252d0ffbd1dbba61973789 +SHA1 (sybase-0.36.tar.gz) = 9b46e9e0dfb222cd36101208d3dcb9190f15b6aa diff --git a/databases/py-sybase/pkg/DESCR b/databases/py-sybase/pkg/DESCR new file mode 100644 index 00000000000..43111d85a97 --- /dev/null +++ b/databases/py-sybase/pkg/DESCR @@ -0,0 +1 @@ +Python interface to the Sybase relational database system. diff --git a/databases/py-sybase/pkg/PLIST b/databases/py-sybase/pkg/PLIST new file mode 100644 index 00000000000..1c91f7c0bb4 --- /dev/null +++ b/databases/py-sybase/pkg/PLIST @@ -0,0 +1,25 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/13 17:15:05 sturm Exp $ +lib/python${MODPY_VERSION}/site-packages/Sybase.py +lib/python${MODPY_VERSION}/site-packages/Sybase.pyc +lib/python${MODPY_VERSION}/site-packages/sybasect.so +share/examples/py-sybase/README +share/examples/py-sybase/array_bind.py +share/examples/py-sybase/array_bind.sql +share/examples/py-sybase/bulkcopy.py +share/examples/py-sybase/bulkcopy.sql +share/examples/py-sybase/cursor_sel.py +share/examples/py-sybase/cursor_upd.py +share/examples/py-sybase/cursor_upd.sql +share/examples/py-sybase/diag_example.py +share/examples/py-sybase/dynamic_cur.py +share/examples/py-sybase/dynamic_ins.py +share/examples/py-sybase/dynamic_ins.sql +share/examples/py-sybase/example.py +share/examples/py-sybase/mult_text.py +share/examples/py-sybase/mult_text.sql +share/examples/py-sybase/params.py +share/examples/py-sybase/rpc.py +share/examples/py-sybase/rpc.sql +share/examples/py-sybase/timeout.py +share/examples/py-sybase/timeout.readme +@dirrm share/examples/py-sybase