From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 4 18:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A6C9616 for ; Sat, 4 Jan 2014 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6392A1488 for ; Sat, 4 Jan 2014 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s04IA0fY031513 for ; Sat, 4 Jan 2014 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s04IA0Ax031511; Sat, 4 Jan 2014 18:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 4 Jan 2014 18:10:00 GMT Resent-Message-Id: <201401041810.s04IA0Ax031511@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Petermann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E76E508 for ; Sat, 4 Jan 2014 18:04:25 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 295591469 for ; Sat, 4 Jan 2014 18:04:25 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s04I4OsP084728 for ; Sat, 4 Jan 2014 18:04:24 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s04I4ONL084719; Sat, 4 Jan 2014 18:04:24 GMT (envelope-from nobody) Message-Id: <201401041804.s04I4ONL084719@oldred.freebsd.org> Date: Sat, 4 Jan 2014 18:04:24 GMT From: Matthias Petermann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185470: [NEW PORT] devel/py-peewee (a small, expressive Python ORM) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 18:10:00 -0000 >Number: 185470 >Category: ports >Synopsis: [NEW PORT] devel/py-peewee (a small, expressive Python ORM) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 04 18:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthias Petermann >Release: 9.2 >Organization: >Environment: FreeBSD workstation.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 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. There are some alternatives out there: * SQLAlchemy (databases/py-sqlalchemy) * SQLObject (databases/py-sqlobject) * Storm (not ported yet) Peewee can be distinguished from the above by the following facts: * portable (no native bindings required) * small The attached shar archive contains the port. I'd really appreciate it if someone could commit it. Best regards, Matthias >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ./py-peewee/ # ./py-peewee/Makefile # ./py-peewee/distinfo # ./py-peewee/pkg-descr # ./py-peewee/pkg-plist # echo c - ./py-peewee/ mkdir -p ./py-peewee/ > /dev/null 2>&1 echo x - ./py-peewee/Makefile sed 's/^X//' >./py-peewee/Makefile << '4addf5fbe286ecb1f9859e2dfcbc7f6b' X# Created by: Matthias Petermann X# $FreeBSD$ X XPORTNAME= peewee XPORTVERSION= 2.1.7 XCATEGORIES= databases python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= matthias@petermann-it.de XCOMMENT= A small, expressive Python ORM X XLICENSE= MIT X XOPTIONS_DEFINE= DOCS SQLITE MYSQL PGSQL XOPTIONS_DEFAULT= SQLITE XDOCS_DESC= Install Documentation XSQLITE_DESC= Add runtime support for SQLite XMYSQL_DESC= Add runtime support for MySQL / MariaDB XPGSQL_DESC= Add runtime support for PostgreSQL X XUSE_PYTHON= 2.6+ XUSE_PYDISTUTILS= easy_install X X.include X X.if ${PORT_OPTIONS:MSQLITE} XRUN_DEPENDS+= ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 X.endif X X.if ${PORT_OPTIONS:MMYSQL} XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb X.endif X X.if ${PORT_OPTIONS:MPGSQL} XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.1:${PORTSDIR}/databases/py-psycopg2 X.endif X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}/* ${STAGEDIR}${DOCSDIR} X.endif X X.include 4addf5fbe286ecb1f9859e2dfcbc7f6b echo x - ./py-peewee/distinfo sed 's/^X//' >./py-peewee/distinfo << 'f33bbe31493b0580e6929dbc0f91c05c' XSHA256 (peewee-2.1.7.tar.gz) = dd3f694817d940db77e312778424e622bf9d0ce01863dae73fa4d83bd4bb0411 XSIZE (peewee-2.1.7.tar.gz) = 1109242 f33bbe31493b0580e6929dbc0f91c05c echo x - ./py-peewee/pkg-descr sed 's/^X//' >./py-peewee/pkg-descr << '7d112efbc0dcc8a1113a7c9b604cc285' XPeewee is a small, expressive ORM written in Python. It supports XPostgreSQL, MySQL and SQLite. X XWWW: http://peewee.readthedocs.org 7d112efbc0dcc8a1113a7c9b604cc285 echo x - ./py-peewee/pkg-plist sed 's/^X//' >./py-peewee/pkg-plist << '222e8c477d629d5dc715053b711015a1' Xbin/pwiz.py X%%PYTHON_SITELIBDIR%%/peewee-2.1.7-py2.7.egg X%%PORTDOCS%%%%DOCSDIR%%/README.rst X%%PORTDOCS%%%%DOCSDIR%%/api.rst X%%PORTDOCS%%%%DOCSDIR%%/cookbook.rst X%%PORTDOCS%%%%DOCSDIR%%/database.rst X%%PORTDOCS%%%%DOCSDIR%%/example.rst X%%PORTDOCS%%%%DOCSDIR%%/expressions.rst X%%PORTDOCS%%%%DOCSDIR%%/installation.rst X%%PORTDOCS%%%%DOCSDIR%%/models.rst X%%PORTDOCS%%%%DOCSDIR%%/playhouse.rst X%%PORTDOCS%%%%DOCSDIR%%/querying.rst X%%PORTDOCS%%%%DOCSDIR%%/quickstart.rst X%%PORTDOCS%%%%DOCSDIR%%/schema.jpg X%%PORTDOCS%%%%DOCSDIR%%/tweepee.jpg X%%PORTDOCS%%%%DOCSDIR%%/upgrading.rst X%%PORTDOCS%%@dirrm %%DOCSDIR%% 222e8c477d629d5dc715053b711015a1 exit >Release-Note: >Audit-Trail: >Unformatted: