Add new port databases/py-pony
Using Pony object-relational mapper you can concentrate on writing business logic of your application and use Python syntax for interacting with the database. Pony translates such queries into SQL and executes them in the database in the most efficient way. WWW: https://ponyorm.org/ PR: 242767 Submitted by: Goran Mekić <meka@tilda.center>
This commit is contained in:
parent
f5c9f39cfc
commit
1a7a7b16f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520778
@ -811,6 +811,7 @@
|
||||
SUBDIR += py-pgxnclient
|
||||
SUBDIR += py-pickledb
|
||||
SUBDIR += py-pickleshare
|
||||
SUBDIR += py-pony
|
||||
SUBDIR += py-postgresql
|
||||
SUBDIR += py-psycogreen
|
||||
SUBDIR += py-psycopg2
|
||||
|
27
databases/py-pony/Makefile
Normal file
27
databases/py-pony/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pony
|
||||
PORTVERSION= 0.7.11
|
||||
CATEGORIES= databases devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= meka@tilda.center
|
||||
COMMENT= Pony ORM is easy to use and powerful object-relational mapper
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
TEST_ENV= PYTHONPATH=${WRKSRC}/src
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py test
|
||||
|
||||
.include <bsd.port.mk>
|
3
databases/py-pony/distinfo
Normal file
3
databases/py-pony/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1576935531
|
||||
SHA256 (pony-0.7.11.tar.gz) = d1008d465d3c5db435fe2636f4c9e1a4a04a24f27c5d7cb4943ba5c596de7e17
|
||||
SIZE (pony-0.7.11.tar.gz) = 285530
|
6
databases/py-pony/pkg-descr
Normal file
6
databases/py-pony/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Using Pony object-relational mapper you can concentrate on writing business
|
||||
logic of your application and use Python syntax for interacting with the
|
||||
database. Pony translates such queries into SQL and executes them in the
|
||||
database in the most efficient way.
|
||||
|
||||
WWW: https://ponyorm.org/
|
Loading…
Reference in New Issue
Block a user