mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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>
This commit is contained in:
parent
3c79f3a6ab
commit
9f90cca55f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355944
4 changed files with 33 additions and 0 deletions
|
@ -734,6 +734,7 @@
|
|||
SUBDIR += py-mysql2pgsql
|
||||
SUBDIR += py-odbc
|
||||
SUBDIR += py-oops
|
||||
SUBDIR += py-peewee
|
||||
SUBDIR += py-pg8000
|
||||
SUBDIR += py-pg_pqueue
|
||||
SUBDIR += py-pgxnclient
|
||||
|
|
26
databases/py-peewee/Makefile
Normal file
26
databases/py-peewee/Makefile
Normal file
|
@ -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>
|
2
databases/py-peewee/distinfo
Normal file
2
databases/py-peewee/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (peewee-2.2.2.tar.gz) = 1aeeb2ece13bee36bc8ea69fbb76a4f1abda0deea0797d56c9d3f9f271690371
|
||||
SIZE (peewee-2.2.2.tar.gz) = 980043
|
4
databases/py-peewee/pkg-descr
Normal file
4
databases/py-peewee/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Peewee is a small, expressive ORM written in Python. It supports
|
||||
PostgreSQL, MySQL and SQLite.
|
||||
|
||||
WWW: http://peewee.readthedocs.org
|
Loading…
Add table
Reference in a new issue