[Midnightbsd-cvs] mports [24121] trunk/databases: add py ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 12:06:50 EDT 2018


Revision: 24121
          http://svnweb.midnightbsd.org/mports/?rev=24121
Author:   laffer1
Date:     2018-09-03 12:06:49 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add py ports

Modified Paths:
--------------
    trunk/databases/Makefile

Added Paths:
-----------
    trunk/databases/py-sqlalchemy-migrate/
    trunk/databases/py-sqlalchemy-migrate/Makefile
    trunk/databases/py-sqlalchemy-migrate/distinfo
    trunk/databases/py-sqlalchemy-migrate/pkg-descr
    trunk/databases/py-sqlalchemy10/
    trunk/databases/py-sqlalchemy10/Makefile
    trunk/databases/py-sqlalchemy10/distinfo
    trunk/databases/py-sqlalchemy10/pkg-descr
    trunk/databases/py-sqlalchemy11/
    trunk/databases/py-sqlalchemy11/Makefile
    trunk/databases/py-sqlalchemy11/distinfo
    trunk/databases/py-sqlalchemy11/pkg-descr
    trunk/databases/py-sqlalchemy12/
    trunk/databases/py-sqlalchemy12/Makefile
    trunk/databases/py-sqlalchemy12/distinfo
    trunk/databases/py-sqlalchemy12/pkg-descr
    trunk/databases/py-sybase/
    trunk/databases/py-sybase/Makefile
    trunk/databases/py-sybase/distinfo
    trunk/databases/py-sybase/pkg-descr
    trunk/databases/py-sybase/pkg-plist

Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile	2018-09-03 16:00:44 UTC (rev 24120)
+++ trunk/databases/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -151,8 +151,13 @@
 SUBDIR += py-mysql2pgsql
 SUBDIR += py-postgresql
 SUBDIR += py-psycopg2
+SUBDIR += py-sqlalchemy10
+SUBDIR += py-sqlalchemy11
+SUBDIR += py-sqlalchemy12
+SUBDIR += py-sqlalchemy-migrate
 SUBDIR += py-sqlite3
 SUBDIR += py-sqlite3dbm
+SUBDIR += py-sybase
 SUBDIR += qdbm
 SUBDIR += qt4-mysql-plugin
 SUBDIR += qt4-odbc-plugin

Added: trunk/databases/py-sqlalchemy-migrate/Makefile
===================================================================
--- trunk/databases/py-sqlalchemy-migrate/Makefile	                        (rev 0)
+++ trunk/databases/py-sqlalchemy-migrate/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,28 @@
+# $MidnightBSD$
+
+PORTNAME=	sqlalchemy-migrate
+PORTVERSION=	0.11.0
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Database schema migrations for SQLAlchemy
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.3:devel/py-pbr
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0.7.8:databases/py-sqlalchemy10 \
+		${PYTHON_PKGNAMEPREFIX}Tempita>=0.4:textproc/py-Tempita \
+		${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator \
+		${PYTHON_PKGNAMEPREFIX}sqlparse>0:databases/py-sqlparse \
+		${PYTHON_PKGNAMEPREFIX}six>=1.7.0:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}pbr>=1.3:devel/py-pbr
+
+USES=		python
+USE_PYTHON=	distutils concurrent autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>


Property changes on: trunk/databases/py-sqlalchemy-migrate/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy-migrate/distinfo
===================================================================
--- trunk/databases/py-sqlalchemy-migrate/distinfo	                        (rev 0)
+++ trunk/databases/py-sqlalchemy-migrate/distinfo	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489575145
+SHA256 (sqlalchemy-migrate-0.11.0.tar.gz) = e68af5e3e0561f629d4eb23d9d0ea77d2649747f2eff37fd29aece74615ca251
+SIZE (sqlalchemy-migrate-0.11.0.tar.gz) = 128299


Property changes on: trunk/databases/py-sqlalchemy-migrate/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy-migrate/pkg-descr
===================================================================
--- trunk/databases/py-sqlalchemy-migrate/pkg-descr	                        (rev 0)
+++ trunk/databases/py-sqlalchemy-migrate/pkg-descr	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,7 @@
+Inspired by Ruby on Rails' migrations, Migrate provides a way to deal
+with database schema changes in SQLAlchemy projects. Migrate extends
+SQLAlchemy to have database changeset handling. It provides a database
+change repository mechanism which can be used from the command line as
+well as from inside python code.
+
+WWW: https://github.com/openstack/sqlalchemy-migrate


Property changes on: trunk/databases/py-sqlalchemy-migrate/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy10/Makefile
===================================================================
--- trunk/databases/py-sqlalchemy10/Makefile	                        (rev 0)
+++ trunk/databases/py-sqlalchemy10/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,80 @@
+# $MidnightBSD$
+
+PORTNAME=	sqlalchemy
+PORTVERSION=	1.0.14
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	10
+DISTNAME=	SQLAlchemy-${DISTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python SQL toolkit and Object Relational Mapper 1.0.x
+
+LICENSE=	mit
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+PY2TO3_CMD=	${LOCALBASE}/bin/2to3-${PYTHON_VER}
+PY2TO3_ARGS=	--no-diffs --nobackups --verbose --write
+TEST_TARGET=	do-test
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}sqlalchemy0[6789]* ${PYTHON_PKGNAMEPREFIX}sqlalchemy1[12]
+
+OPTIONS_DEFINE=		DOCS EXAMPLES
+OPTIONS_MULTI=		BACKEND
+OPTIONS_MULTI_BACKEND=	MSSQL MYSQL PGSQL SQLITE SYBASE
+OPTIONS_DEFAULT=	SQLITE
+
+MSSQL_DESC=	MS SQL Server backend
+SYBASE_DESC=	Sybase backend
+
+MSSQL_RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pymssql.py:databases/py-pymssql
+PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:databases/py-psycopg2
+SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
+SYBASE_RUN_DEPENDS=	${PYTHON_SITELIBDIR}/Sybase.py:databases/py-sybase
+
+PORTDOCS=		*
+PORTEXAMPLES=		*
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb
+#.else
+# At the moment databases/py-pymysql does not build with Python3
+# See https://github.com/petehunt/PyMySQL#python-3-0-support
+#MYSQL_RUN_DEPENDS+=	pymysql>=0.5:databases/py-pymysql
+.endif
+
+pre-build:
+.if ${PYTHON_REL} >= 3000
+	@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/lib
+	@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/doc
+	@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples
+.endif
+
+# C extensions are not supported with all versions of Python, so ignore
+# errors here if there are no .so files to strip.
+post-install:
+	-@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlalchemy/*.so
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+do-test:
+.if ${PYTHON_REL} >= 3000
+	${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/test
+.endif
+	@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.post.mk>


Property changes on: trunk/databases/py-sqlalchemy10/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy10/distinfo
===================================================================
--- trunk/databases/py-sqlalchemy10/distinfo	                        (rev 0)
+++ trunk/databases/py-sqlalchemy10/distinfo	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1471897566
+SHA256 (SQLAlchemy-1.0.14.tar.gz) = da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3
+SIZE (SQLAlchemy-1.0.14.tar.gz) = 4765726


Property changes on: trunk/databases/py-sqlalchemy10/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy10/pkg-descr
===================================================================
--- trunk/databases/py-sqlalchemy10/pkg-descr	                        (rev 0)
+++ trunk/databases/py-sqlalchemy10/pkg-descr	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,10 @@
+The Python SQL Toolkit and Object Relational Mapper
+
+SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
+gives application developers the full power and flexibility of SQL.
+
+It provides a full suite of well known enterprise-level persistence
+patterns, designed for efficient and high-performing database access,
+adapted into a simple and Pythonic domain language.
+
+WWW: http://www.sqlalchemy.org/


Property changes on: trunk/databases/py-sqlalchemy10/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy11/Makefile
===================================================================
--- trunk/databases/py-sqlalchemy11/Makefile	                        (rev 0)
+++ trunk/databases/py-sqlalchemy11/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,51 @@
+# $MidnightBSD$
+
+PORTNAME=	sqlalchemy
+PORTVERSION=	1.1.18
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	11
+DISTNAME=	SQLAlchemy-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python SQL toolkit and Object Relational Mapper 1.1.x
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}pytest>=2.5.2:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}sqlalchemy1[02]
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_MULTI=	BACKEND
+OPTIONS_MULTI_BACKEND=	MSSQL MYSQL PGSQL SQLITE SYBASE
+OPTIONS_DEFAULT=SQLITE
+
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+MSSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymssql>=0:databases/py-pymssql
+MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql
+PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.0:databases/py-psycopg2
+SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3
+SYBASE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sybase>=0:databases/py-sybase
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlalchemy/*.so
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/databases/py-sqlalchemy11/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy11/distinfo
===================================================================
--- trunk/databases/py-sqlalchemy11/distinfo	                        (rev 0)
+++ trunk/databases/py-sqlalchemy11/distinfo	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520432826
+SHA256 (SQLAlchemy-1.1.18.tar.gz) = 8b0ec71af9291191ba83a91c03d157b19ab3e7119e27da97932a4773a3f664a9
+SIZE (SQLAlchemy-1.1.18.tar.gz) = 5286357


Property changes on: trunk/databases/py-sqlalchemy11/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy11/pkg-descr
===================================================================
--- trunk/databases/py-sqlalchemy11/pkg-descr	                        (rev 0)
+++ trunk/databases/py-sqlalchemy11/pkg-descr	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,10 @@
+The Python SQL Toolkit and Object Relational Mapper
+
+SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
+application developers the full power and flexibility of SQL.
+
+It provides a full suite of well known enterprise-level persistence patterns,
+designed for efficient and high-performing database access, adapted into a
+simple and Pythonic domain language.
+
+WWW: https://www.sqlalchemy.org/


Property changes on: trunk/databases/py-sqlalchemy11/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy12/Makefile
===================================================================
--- trunk/databases/py-sqlalchemy12/Makefile	                        (rev 0)
+++ trunk/databases/py-sqlalchemy12/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,51 @@
+# $MidnightBSD$
+
+PORTNAME=	sqlalchemy
+PORTVERSION=	1.2.8
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	12
+DISTNAME=	SQLAlchemy-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python SQL toolkit and Object Relational Mapper 1.2.x
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}pytest>=2.5.2:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}sqlalchemy1[01]
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_MULTI=	BACKEND
+OPTIONS_MULTI_BACKEND=	MSSQL MYSQL PGSQL SQLITE SYBASE
+OPTIONS_DEFAULT=SQLITE
+
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+MSSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymssql>=0:databases/py-pymssql
+MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql
+PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.0:databases/py-psycopg2
+SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3
+SYBASE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sybase>=0:databases/py-sybase
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlalchemy/*.so
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/databases/py-sqlalchemy12/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy12/distinfo
===================================================================
--- trunk/databases/py-sqlalchemy12/distinfo	                        (rev 0)
+++ trunk/databases/py-sqlalchemy12/distinfo	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527609754
+SHA256 (SQLAlchemy-1.2.8.tar.gz) = 2d5f08f714a886a1382c18be501e614bce50d362384dc089474019ce0768151c
+SIZE (SQLAlchemy-1.2.8.tar.gz) = 5586724


Property changes on: trunk/databases/py-sqlalchemy12/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sqlalchemy12/pkg-descr
===================================================================
--- trunk/databases/py-sqlalchemy12/pkg-descr	                        (rev 0)
+++ trunk/databases/py-sqlalchemy12/pkg-descr	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,10 @@
+The Python SQL Toolkit and Object Relational Mapper
+
+SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
+application developers the full power and flexibility of SQL.
+
+It provides a full suite of well known enterprise-level persistence patterns,
+designed for efficient and high-performing database access, adapted into a
+simple and Pythonic domain language.
+
+WWW: https://www.sqlalchemy.org/


Property changes on: trunk/databases/py-sqlalchemy12/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sybase/Makefile
===================================================================
--- trunk/databases/py-sybase/Makefile	                        (rev 0)
+++ trunk/databases/py-sybase/Makefile	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,56 @@
+# $MidnightBSD$
+
+PORTNAME=	sybase
+PORTVERSION=	0.37
+CATEGORIES=	databases python
+MASTER_SITES=	http://object-craft.com.au/projects/sybase/download/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-html${EXTRACT_SUFX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python Database API interface to the Sybase RDBMS
+
+LICENSE=	bsd3
+
+LIB_DEPENDS=	libct.so:databases/freetds
+
+USES=		python:2.7
+USE_PYTHON=	distutils
+
+OPTIONS_DEFINE=	DOCS THREADS EXAMPLES
+OPTIONS_DEFAULT=THREADS
+
+.if defined(TDS_VERSION)
+TDS_SUF="=${TDS_VERSION}"
+.else
+
+.include <bsd.port.options.mk>
+
+pre-build:
+	@V=`${PKG_INFO} | ${SED} -ne 's/^freetds-0.\(..\).*/\1/p'` ; \
+	if [ $$V -le 60 ]; then \
+		${ECHO_MSG} "Suggest you update your FreeTDS port to at least version 0.61" ; \
+		${ECHO_MSG} "Otherwise, you will need to add TDS_VERSION=$$V to the Make command" ; \
+		exit 1 ;\
+	fi
+.endif	# defined(TDS_VERSION)
+
+MAKE_ENV+=	SYBASE=${LOCALBASE}
+
+.if ${PORT_OPTIONS:MTHREADS}
+BUILDARGS=	-D WANT_THREADS -U WANT_BULKCOPY -D HAVE_FREETDS${TDS_SUF}
+.else
+BUILDARGS=	-U WANT_BULKCOPY -D HAVE_FREETDS${TDS_SUF}
+.endif
+
+# Need this because -D<> args needed for build_ext but illegal for build
+do-build:
+	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${BUILDARGS} )
+	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build)
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
+	@${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} -xf - -C ${STAGEDIR}${EXAMPLESDIR}
+	@${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/databases/py-sybase/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sybase/distinfo
===================================================================
--- trunk/databases/py-sybase/distinfo	                        (rev 0)
+++ trunk/databases/py-sybase/distinfo	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,4 @@
+SHA256 (sybase-0.37.tar.gz) = 4bcf2658ea51a17f132a1d3d8c75a09d90377f9441c0813366b4fbb976300084
+SIZE (sybase-0.37.tar.gz) = 95081
+SHA256 (sybase-html.tar.gz) = 0cea62ba55c78f1d04283b072582b44217fe4e8866ba1e37477b50d9cf4b2325
+SIZE (sybase-html.tar.gz) = 39956


Property changes on: trunk/databases/py-sybase/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sybase/pkg-descr
===================================================================
--- trunk/databases/py-sybase/pkg-descr	                        (rev 0)
+++ trunk/databases/py-sybase/pkg-descr	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,5 @@
+A Python interface to the Sybase relational database system. The
+Sybase package supports all of the Python Database API, version 2.0
+with extensions.
+
+WWW: http://object-craft.com.au/projects/sybase/


Property changes on: trunk/databases/py-sybase/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/py-sybase/pkg-plist
===================================================================
--- trunk/databases/py-sybase/pkg-plist	                        (rev 0)
+++ trunk/databases/py-sybase/pkg-plist	2018-09-03 16:06:49 UTC (rev 24121)
@@ -0,0 +1,72 @@
+%%PYTHON_SITELIBDIR%%/Sybase.py
+%%PYTHON_SITELIBDIR%%/Sybase.pyc
+%%PYTHON_SITELIBDIR%%/Sybase.pyo
+%%PYTHON_SITELIBDIR%%/sybasect.so
+%%PORTDOCS%%%%DOCSDIR%%/about.html
+%%PORTDOCS%%%%DOCSDIR%%/contents.html
+%%PORTDOCS%%%%DOCSDIR%%/front.html
+%%PORTDOCS%%%%DOCSDIR%%/genindex.html
+%%PORTDOCS%%%%DOCSDIR%%/images.aux
+%%PORTDOCS%%%%DOCSDIR%%/images.idx
+%%PORTDOCS%%%%DOCSDIR%%/images.log
+%%PORTDOCS%%%%DOCSDIR%%/images.tex
+%%PORTDOCS%%%%DOCSDIR%%/img1.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/modimages.idx
+%%PORTDOCS%%%%DOCSDIR%%/module-Sybase.html
+%%PORTDOCS%%%%DOCSDIR%%/module-sybasect.html
+%%PORTDOCS%%%%DOCSDIR%%/node10.html
+%%PORTDOCS%%%%DOCSDIR%%/node12.html
+%%PORTDOCS%%%%DOCSDIR%%/node13.html
+%%PORTDOCS%%%%DOCSDIR%%/node14.html
+%%PORTDOCS%%%%DOCSDIR%%/node15.html
+%%PORTDOCS%%%%DOCSDIR%%/node16.html
+%%PORTDOCS%%%%DOCSDIR%%/node17.html
+%%PORTDOCS%%%%DOCSDIR%%/node18.html
+%%PORTDOCS%%%%DOCSDIR%%/node19.html
+%%PORTDOCS%%%%DOCSDIR%%/node20.html
+%%PORTDOCS%%%%DOCSDIR%%/node21.html
+%%PORTDOCS%%%%DOCSDIR%%/node22.html
+%%PORTDOCS%%%%DOCSDIR%%/node23.html
+%%PORTDOCS%%%%DOCSDIR%%/node3.html
+%%PORTDOCS%%%%DOCSDIR%%/node4.html
+%%PORTDOCS%%%%DOCSDIR%%/node5.html
+%%PORTDOCS%%%%DOCSDIR%%/node6.html
+%%PORTDOCS%%%%DOCSDIR%%/node7.html
+%%PORTDOCS%%%%DOCSDIR%%/node9.html
+%%PORTDOCS%%%%DOCSDIR%%/sybase.css
+%%PORTDOCS%%%%DOCSDIR%%/sybase.html
+%%PORTDOCS%%%%DOCSDIR%%/icons/blank.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/blank.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/contents.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/contents.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/index.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/index.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/modules.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/modules.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/next.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/next.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/previous.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/previous.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/up.gif
+%%PORTDOCS%%%%DOCSDIR%%/icons/up.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/array_bind.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/array_bind.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bulkcopy.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bulkcopy.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cursor_sel.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cursor_upd.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cursor_upd.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diag_example.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_cur.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_ins.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_ins.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mult_text.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mult_text.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/params.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timeout.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timeout.readme


Property changes on: trunk/databases/py-sybase/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list