aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-sqlalchemy13/Makefile51
-rw-r--r--databases/py-sqlalchemy13/distinfo3
-rw-r--r--databases/py-sqlalchemy13/pkg-descr10
4 files changed, 65 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 8925c82517d6..bc4228d1991d 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -843,6 +843,7 @@
SUBDIR += py-sqlalchemy10
SUBDIR += py-sqlalchemy11
SUBDIR += py-sqlalchemy12
+ SUBDIR += py-sqlalchemy13
SUBDIR += py-sqlite3
SUBDIR += py-sqlite3dbm
SUBDIR += py-sqlobject
diff --git a/databases/py-sqlalchemy13/Makefile b/databases/py-sqlalchemy13/Makefile
new file mode 100644
index 000000000000..a24bdec4d3e0
--- /dev/null
+++ b/databases/py-sqlalchemy13/Makefile
@@ -0,0 +1,51 @@
+# $FreeBSD$
+
+PORTNAME= sqlalchemy
+PORTVERSION= 1.3.1
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 13
+DISTNAME= SQLAlchemy-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python SQL toolkit and Object Relational Mapper 1.3.x
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=2.5.2:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR}
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}sqlalchemy1[012]
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_MULTI= BACKEND
+OPTIONS_MULTI_BACKEND= MSSQL MYSQL PGSQL SQLITE SYBASE
+OPTIONS_DEFAULT=SQLITE
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+PORTDOCS= *
+PORTEXAMPLES= *
+
+MSSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymssql>=0:databases/py-pymssql@${PY_FLAVOR}
+MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql@${PY_FLAVOR}
+PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.0:databases/py-psycopg2@${PY_FLAVOR}
+SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
+SYBASE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sybase>=0:databases/py-sybase@${PY_FLAVOR}
+
+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-sqlalchemy13/distinfo b/databases/py-sqlalchemy13/distinfo
new file mode 100644
index 000000000000..750f03af55bc
--- /dev/null
+++ b/databases/py-sqlalchemy13/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552204169
+SHA256 (SQLAlchemy-1.3.1.tar.gz) = 781fb7b9d194ed3fc596b8f0dd4623ff160e3e825dd8c15472376a438c19598b
+SIZE (SQLAlchemy-1.3.1.tar.gz) = 5864223
diff --git a/databases/py-sqlalchemy13/pkg-descr b/databases/py-sqlalchemy13/pkg-descr
new file mode 100644
index 000000000000..af68df3b6dbb
--- /dev/null
+++ b/databases/py-sqlalchemy13/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: https://www.sqlalchemy.org/