View | Details | Raw Unified | Return to bug 225424
Collapse All | Expand All

(-)b/databases/py-sqlalchemy12/Makefile (+52 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	sqlalchemy
4
PORTVERSION=	1.2.1
5
PORTREVISION=	0
6
CATEGORIES=	databases python
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMESUFFIX=	12
10
DISTNAME=	SQLAlchemy-${PORTVERSION}
11
12
MAINTAINER=	vishwin@vishwin.info
13
COMMENT=	Python SQL toolkit and Object Relational Mapper 1.2.x
14
15
LICENSE=	MIT
16
LICENSE_FILE=	${WRKSRC}/LICENSE
17
18
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}pytest>=2.5.2:devel/py-pytest@${FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${FLAVOR}
21
22
CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}sqlalchemy1[01]
23
24
OPTIONS_DEFINE=	DOCS EXAMPLES
25
OPTIONS_MULTI=	BACKEND
26
OPTIONS_MULTI_BACKEND=	MSSQL MYSQL PGSQL SQLITE SYBASE
27
OPTIONS_DEFAULT=SQLITE
28
29
USE_PYTHON=	autoplist concurrent distutils
30
USES=		python:2.7+
31
32
PORTDOCS=	*
33
PORTEXAMPLES=	*
34
35
MSSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mssql>=0:databases/py-pymssql@${FLAVOR}
36
MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql@${FLAVOR}
37
PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.0:databases/py-psycopg2@${FLAVOR}
38
SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${FLAVOR}
39
SYBASE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sybase>=0:databases/py-sybase@${FLAVOR}
40
41
post-install:
42
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlalchemy/*.so
43
44
post-install-DOCS-on:
45
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
46
	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
47
48
post-install-EXAMPLES-on:
49
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
50
	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
51
52
.include <bsd.port.mk>
(-)b/databases/py-sqlalchemy12/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1516788465
2
SHA256 (SQLAlchemy-1.2.1.tar.gz) = 9ede7070d6fd18f28058be88296ed67893e2637465516d6a596cd9afea97b154
3
SIZE (SQLAlchemy-1.2.1.tar.gz) = 5457455
(-)b/databases/py-sqlalchemy12/pkg-descr (-1 / +10 lines)
Added Link Here
0
- 
1
The Python SQL Toolkit and Object Relational Mapper
2
3
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
4
application developers the full power and flexibility of SQL.
5
6
It provides a full suite of well known enterprise-level persistence patterns,
7
designed for efficient and high-performing database access, adapted into a
8
simple and Pythonic domain language.
9
10
WWW: https://www.sqlalchemy.org/

Return to bug 225424