[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-peewee

File: [cvs.NetBSD.org] / pkgsrc / databases / py-peewee / Makefile (download)

Revision 1.38, Mon May 14 10:54:19 2018 UTC (20 months, 1 week ago) by fhajny
Branch: MAIN
Changes since 1.37: +2 -2 lines

databases/py-peewee: Update to 3.3.4.

3.3.4
- Added a BinaryUUIDField class for efficiently storing UUIDs in
  16-bytes.
- Fix dataset's update_cache() logic so that when updating a single
  table that was newly-added, we also ensure that all dependent tables
  are updated at the same time.

3.3.3
- More efficient implementation of model dependency-graph generation.
  Improves performance of recursively deleting related objects by
  omitting unnecessary subqueries.
- Added union(), union_all(), intersect() and except_() to the
  Model-specific query implementations. This was an oversight that
  should have been patched in 3.3.2, but is fixed in 3.3.3.
- Major cleanup to test runner and standardized test skipping logic to
  integrate with standard-library unittest conventions.

3.3.2
- Add methods for union(), union_all, intersect() and except_().
  Previously, these methods were only available as operator overloads.
- Removed some Python 2.6-specific support code, as 2.6 is no longer
  officially supported.
- Fixed model-graph resolution logic for deferred foreign-keys.
- Better support for UPDATE...FROM queries (Postgresql).

# $NetBSD: Makefile,v 1.38 2018/05/14 10:54:19 fhajny Exp $

DISTNAME=	peewee-3.3.4
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	databases python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/peewee/}

MAINTAINER=	filip@joyent.com
HOMEPAGE=	http://www.peewee-orm.com/
COMMENT=	Small, expressive ORM for PostgreSQL, MySQL and SQLite
LICENSE=	mit

GITHUB_PROJECT=	peewee

BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
TEST_DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3

MAKE_FLAGS+=	SPHINXBUILD=sphinx-build${PYVERSSUFFIX}

FILES_SUBST+=	PKGMANDIR=${PKGMANDIR}
MESSAGE_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}

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/pwiz.py \
		${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX}
	${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"