diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-11-24 15:33:57 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-11-24 15:33:57 +0000 |
commit | e279ecb88a423587e5771e04f872044d1c3ab27d (patch) | |
tree | 3fe19fecae16c357adf7f28844db49d2bda325ce /databases/py-sqlalchemy11/Makefile | |
parent | 21df432fcac9cb01948e86e4fee08ed7b48da709 (diff) | |
download | ports-e279ecb88a423587e5771e04f872044d1c3ab27d.tar.gz ports-e279ecb88a423587e5771e04f872044d1c3ab27d.zip |
- 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/
Notes
Notes:
svn path=/head/; revision=427026
Diffstat (limited to 'databases/py-sqlalchemy11/Makefile')
-rw-r--r-- | databases/py-sqlalchemy11/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/databases/py-sqlalchemy11/Makefile b/databases/py-sqlalchemy11/Makefile new file mode 100644 index 000000000000..3b63a01d0770 --- /dev/null +++ b/databases/py-sqlalchemy11/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= sqlalchemy +PORTVERSION= 1.1.4 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 11 +DISTNAME= SQLAlchemy-${PORTVERSION} + +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}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}sqlalchemy0 ${PYTHON_PKGNAMEPREFIX}sqlalchemy10- + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_MULTI= BACKEND +OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE +OPTIONS_DEFAULT=SQLITE + +USE_PYTHON= autoplist distutils +USES= python + +PORTDOCS= * +PORTEXAMPLES= * + +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 + +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> |