From 4793b101d87458a38c4c587c5b4f13d651172406 Mon Sep 17 00:00:00 2001 From: mva Date: Sat, 31 May 2014 08:31:00 +0000 Subject: 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 --- databases/py-peewee/Makefile | 26 ++++++++++++++++++++++++++ databases/py-peewee/distinfo | 2 ++ databases/py-peewee/pkg-descr | 4 ++++ 3 files changed, 32 insertions(+) create mode 100644 databases/py-peewee/Makefile create mode 100644 databases/py-peewee/distinfo create mode 100644 databases/py-peewee/pkg-descr (limited to 'databases/py-peewee') 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 +# $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 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 -- cgit