Date: Thu, 24 Nov 2016 15:33:57 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427026 - in head/databases: . py-sqlalchemy11 Message-ID: <201611241533.uAOFXvh0000629@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Nov 24 15:33:57 2016 New Revision: 427026 URL: https://svnweb.freebsd.org/changeset/ports/427026 Log: - Add py-sqlalchemy11 1.1.4 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/ Added: head/databases/py-sqlalchemy11/ - copied from r426364, head/databases/py-sqlalchemy10/ Modified: head/databases/Makefile head/databases/py-sqlalchemy11/Makefile head/databases/py-sqlalchemy11/distinfo head/databases/py-sqlalchemy11/pkg-descr Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Thu Nov 24 15:13:22 2016 (r427025) +++ head/databases/Makefile Thu Nov 24 15:33:57 2016 (r427026) @@ -776,6 +776,7 @@ SUBDIR += py-sqlalchemy08 SUBDIR += py-sqlalchemy09 SUBDIR += py-sqlalchemy10 + SUBDIR += py-sqlalchemy11 SUBDIR += py-sqlite3 SUBDIR += py-sqlite3dbm SUBDIR += py-sqlobject Modified: head/databases/py-sqlalchemy11/Makefile ============================================================================== --- head/databases/py-sqlalchemy10/Makefile Sat Nov 19 12:57:24 2016 (r426364) +++ head/databases/py-sqlalchemy11/Makefile Thu Nov 24 15:33:57 2016 (r427026) @@ -1,81 +1,51 @@ -# Created by: Dryice Dong Liu <dryice@dryice.name> # $FreeBSD$ PORTNAME= sqlalchemy -PORTVERSION= 1.0.14 +PORTVERSION= 1.1.4 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -PKGNAMESUFFIX= 10 -DISTNAME= SQLAlchemy-${DISTVERSION} +PKGNAMESUFFIX= 11 +DISTNAME= SQLAlchemy-${PORTVERSION} -MAINTAINER= m.tsatsenko@gmail.com -COMMENT= Python SQL toolkit and Object Relational Mapper 1.0.x +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python SQL toolkit and Object Relational Mapper 1.1.x LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ - ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock +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 -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]* +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}sqlalchemy0 ${PYTHON_PKGNAMEPREFIX}sqlalchemy10- -OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONS_MULTI= BACKEND +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE -OPTIONS_DEFAULT= SQLITE +OPTIONS_DEFAULT=SQLITE -MSSQL_DESC= MS SQL Server backend -SYBASE_DESC= Sybase backend +USE_PYTHON= autoplist distutils +USES= python + +PORTDOCS= * +PORTEXAMPLES= * -MSSQL_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pymssql.py:databases/py-mssql -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 +MSSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mssql>=0:databases/py-mssql +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 -# 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 + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlalchemy/*.so post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${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> +.include <bsd.port.mk> Modified: head/databases/py-sqlalchemy11/distinfo ============================================================================== --- head/databases/py-sqlalchemy10/distinfo Sat Nov 19 12:57:24 2016 (r426364) +++ head/databases/py-sqlalchemy11/distinfo Thu Nov 24 15:33:57 2016 (r427026) @@ -1,3 +1,3 @@ -TIMESTAMP = 1471897566 -SHA256 (SQLAlchemy-1.0.14.tar.gz) = da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3 -SIZE (SQLAlchemy-1.0.14.tar.gz) = 4765726 +TIMESTAMP = 1479757093 +SHA256 (SQLAlchemy-1.1.4.tar.gz) = 701b57d628b9fa1cfb82f10665e7214d5d2db23251ca6f23b91c5f56fcdbdeb5 +SIZE (SQLAlchemy-1.1.4.tar.gz) = 5117489 Modified: head/databases/py-sqlalchemy11/pkg-descr ============================================================================== --- head/databases/py-sqlalchemy10/pkg-descr Sat Nov 19 12:57:24 2016 (r426364) +++ head/databases/py-sqlalchemy11/pkg-descr Thu Nov 24 15:33:57 2016 (r427026) @@ -1,10 +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. +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. +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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611241533.uAOFXvh0000629>