diff options
author | mva <mva@FreeBSD.org> | 2014-05-31 16:31:00 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-05-31 16:31:00 +0800 |
commit | 4793b101d87458a38c4c587c5b4f13d651172406 (patch) | |
tree | 47fc039f1985db31848448cd3d079faf6855c470 /databases/py-peewee | |
parent | a6cba685a6298234940fa9ef68a78955819910d2 (diff) | |
download | freebsd-ports-gnome-4793b101d87458a38c4c587c5b4f13d651172406.tar.gz freebsd-ports-gnome-4793b101d87458a38c4c587c5b4f13d651172406.tar.zst freebsd-ports-gnome-4793b101d87458a38c4c587c5b4f13d651172406.zip |
Peewee is a MIT licensed object relational mapper for Python. It allows access
of relational databases (MySQL / MariaDB, PostgreSQL, SQLite3) in a pretty
object oriented way. There is usually no need to write SQL.
PR: ports/185470
Submitted by: Matthias Petermann <matthias@petermann-it.de>
Diffstat (limited to 'databases/py-peewee')
-rw-r--r-- | databases/py-peewee/Makefile | 26 | ||||
-rw-r--r-- | databases/py-peewee/distinfo | 2 | ||||
-rw-r--r-- | databases/py-peewee/pkg-descr | 4 |
3 files changed, 32 insertions, 0 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile new file mode 100644 index 000000000000..38497dfb24e6 --- /dev/null +++ b/databases/py-peewee/Makefile @@ -0,0 +1,26 @@ +# Created by: Matthias Petermann <matthias@petermann-it.de> +# $FreeBSD$ + +PORTNAME= peewee +PORTVERSION= 2.2.2 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthias@petermann-it.de +COMMENT= Small, expressive Python ORM + +LICENSE= MIT + +OPTIONS_DEFINE= DOCS SQLITE MYSQL PGSQL +OPTIONS_DEFAULT= SQLITE + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +SQLITE_BUILD_DEPENDS= ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 +MYSQL_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb +PGSQL_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.1:${PORTSDIR}/databases/py-psycopg2 + +.include <bsd.port.mk> diff --git a/databases/py-peewee/distinfo b/databases/py-peewee/distinfo new file mode 100644 index 000000000000..f1e480a5d34f --- /dev/null +++ b/databases/py-peewee/distinfo @@ -0,0 +1,2 @@ +SHA256 (peewee-2.2.2.tar.gz) = 1aeeb2ece13bee36bc8ea69fbb76a4f1abda0deea0797d56c9d3f9f271690371 +SIZE (peewee-2.2.2.tar.gz) = 980043 diff --git a/databases/py-peewee/pkg-descr b/databases/py-peewee/pkg-descr new file mode 100644 index 000000000000..da4ae733e7d5 --- /dev/null +++ b/databases/py-peewee/pkg-descr @@ -0,0 +1,4 @@ +Peewee is a small, expressive ORM written in Python. It supports +PostgreSQL, MySQL and SQLite. + +WWW: http://peewee.readthedocs.org |