560888cf08
2.10.2 - Update travis-ci build scripts to use Postgres 9.6 and test against Python 3.6. - Added support for returning namedtuple objects when iterating over a cursor. - Added support for specifying the "object id" attribute used when declaring a foreign key. By default, it is foreign-key-name_id, but it can now be customized. - Fixed small bug in the calculation of search scores when using the SQLite C extension or the sqlite_ext module. - Support literal column names with the dataset module. 2.10.1 - Removed AESEncryptedField.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2017/10/13 14:19:05 fhajny Exp $
|
|
|
|
DISTNAME= peewee-2.10.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/}
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= http://www.peewee-orm.com/
|
|
COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite
|
|
LICENSE= mit
|
|
|
|
GITHUB_PROJECT= peewee
|
|
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= bash
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
|
|
MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
|
|
|
|
FILES_SUBST+= PKGMANDIR=${PKGMANDIR}
|
|
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
REPLACE_BASH+= playhouse/berkeley_build.sh
|
|
REPLACE_PYTHON+= pwiz.py
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/pskel \
|
|
${DESTDIR}${PREFIX}/bin/pskel${PYVERSSUFFIX}
|
|
${MV} ${DESTDIR}${PREFIX}/bin/pwiz.py \
|
|
${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
|
|
|
|
.include "../../devel/py-cython/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|