aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-24 23:33:57 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-24 23:33:57 +0800
commitb26f78713f0277331c5354b9b010bbcb6a4370ad (patch)
tree3fe19fecae16c357adf7f28844db49d2bda325ce /databases
parent22aca8445dffb0e342dd769bbe97b90e12e2f3ac (diff)
downloadfreebsd-ports-gnome-b26f78713f0277331c5354b9b010bbcb6a4370ad.tar.gz
freebsd-ports-gnome-b26f78713f0277331c5354b9b010bbcb6a4370ad.tar.zst
freebsd-ports-gnome-b26f78713f0277331c5354b9b010bbcb6a4370ad.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/
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-sqlalchemy11/Makefile51
-rw-r--r--databases/py-sqlalchemy11/distinfo3
-rw-r--r--databases/py-sqlalchemy11/pkg-descr10
4 files changed, 65 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index d59c87dc7474..08a88ab40432 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -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
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>
diff --git a/databases/py-sqlalchemy11/distinfo b/databases/py-sqlalchemy11/distinfo
new file mode 100644
index 000000000000..e4a87976d069
--- /dev/null
+++ b/databases/py-sqlalchemy11/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479757093
+SHA256 (SQLAlchemy-1.1.4.tar.gz) = 701b57d628b9fa1cfb82f10665e7214d5d2db23251ca6f23b91c5f56fcdbdeb5
+SIZE (SQLAlchemy-1.1.4.tar.gz) = 5117489
diff --git a/databases/py-sqlalchemy11/pkg-descr b/databases/py-sqlalchemy11/pkg-descr
new file mode 100644
index 000000000000..f795415c0d8c
--- /dev/null
+++ b/databases/py-sqlalchemy11/pkg-descr
@@ -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/