py-peewee: updated to 3.6.4 3.6.4: Take a whole new approach, following what simplejson does. Allow the build_ext command class to fail, and retry without extensions in the event we run into issues building extensions. 3.6.3: Add check in setup.py to determine if a C compiler is available before building C extensions. 3.6.2: Use ctypes.util.find_library to determine if libsqlite3 is installed. Should fix problems people are encountering installing when SQLite3 is not available. 3.6.1: Fixed issue with setup script. 3.6.0: * Support for Python 3.7, including bugfixes related to new StopIteration handling inside of generators. * Support for specifying ROWS or RANGE window frame types. * Add APIs for user-defined window functions if using [pysqlite3](https://github.com/coleifer/pysqlite3) and sqlite 3.25.0 or newer. * TimestampField now uses 64-bit integer data-type for storage. * Added support to pwiz and playhouse.reflection to enable generating models from VIEWs. * Added lower-level database API for introspecting VIEWs. * Revamped continuous integration setup for better coverage, including 3.7 and 3.8-dev. * Allow building C extensions even if Cython is not installed, by distributing pre-generated C source files. * Switch to using setuptools for packaging.diff -r1.42 -r1.43 pkgsrc/databases/py-peewee/Makefile
(adam)
@@ -1,41 +1,42 @@ | @@ -1,41 +1,42 @@ | |||
1 | # $NetBSD: Makefile,v 1.42 2018/07/20 03:34:06 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.43 2018/07/20 09:38:49 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= peewee-3.5.2 | 3 | DISTNAME= peewee-3.6.4 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} | |
8 | 7 | |||
9 | MAINTAINER= filip@joyent.com | 8 | MAINTAINER= filip@joyent.com | |
10 | HOMEPAGE= http://www.peewee-orm.com/ | 9 | HOMEPAGE= http://www.peewee-orm.com/ | |
11 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | 10 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | |
12 | LICENSE= mit | 11 | LICENSE= mit | |
13 | 12 | |||
14 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | 13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | 14 | #TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | |
16 | 15 | |||
17 | MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} | 16 | MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} | |
18 | 17 | |||
19 | FILES_SUBST+= PKGMANDIR=${PKGMANDIR} | 18 | FILES_SUBST+= PKGMANDIR=${PKGMANDIR} | |
20 | MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} | 19 | MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} | |
21 | 20 | |||
22 | REPLACE_PYTHON+= pwiz.py | 21 | REPLACE_PYTHON+= pwiz.py | |
23 | 22 | |||
24 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | 23 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | |
25 | 24 | |||
26 | post-build: | 25 | post-build: | |
27 | cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man | 26 | cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man | |
28 | 27 | |||
29 | post-install: | 28 | post-install: | |
30 | cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz${PYVERSSUFFIX} || ${TRUE} | 29 | cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz${PYVERSSUFFIX} || ${TRUE} | |
31 | ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \ | 30 | ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \ | |
32 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1 | 31 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1 | |
33 | 32 | |||
33 | # tests are not included in 3.6.4 | |||
34 | do-test: | 34 | do-test: | |
35 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py | 35 | # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py | |
36 | ${DO_NADA} | |||
36 | 37 | |||
37 | .include "../../databases/sqlite3/buildlink3.mk" | 38 | .include "../../databases/sqlite3/buildlink3.mk" | |
38 | .include "../../devel/py-cython/buildlink3.mk" | 39 | .include "../../devel/py-cython/buildlink3.mk" | |
39 | .include "../../lang/python/application.mk" | 40 | .include "../../lang/python/application.mk" | |
40 | .include "../../lang/python/distutils.mk" | 41 | .include "../../lang/python/egg.mk" | |
41 | .include "../../mk/bsd.pkg.mk" | 42 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,20 @@ | @@ -1,16 +1,20 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.16 2018/07/04 03:56:46 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.17 2018/07/20 09:38:49 adam Exp $ | |
2 | bin/pwiz${PYVERSSUFFIX} | 2 | bin/pwiz${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_FILE} | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
6 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |||
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
4 | ${PYSITELIB}/peewee.py | 8 | ${PYSITELIB}/peewee.py | |
5 | ${PYSITELIB}/peewee.pyc | 9 | ${PYSITELIB}/peewee.pyc | |
6 | ${PYSITELIB}/peewee.pyo | 10 | ${PYSITELIB}/peewee.pyo | |
7 | ${PYSITELIB}/playhouse/__init__.py | 11 | ${PYSITELIB}/playhouse/__init__.py | |
8 | ${PYSITELIB}/playhouse/__init__.pyc | 12 | ${PYSITELIB}/playhouse/__init__.pyc | |
9 | ${PYSITELIB}/playhouse/__init__.pyo | 13 | ${PYSITELIB}/playhouse/__init__.pyo | |
10 | ${PYSITELIB}/playhouse/_speedups.so | 14 | ${PYSITELIB}/playhouse/_speedups.so | |
11 | ${PYSITELIB}/playhouse/_sqlite_ext.so | 15 | ${PYSITELIB}/playhouse/_sqlite_ext.so | |
12 | ${PYSITELIB}/playhouse/_sqlite_udf.so | 16 | ${PYSITELIB}/playhouse/_sqlite_udf.so | |
13 | ${PYSITELIB}/playhouse/apsw_ext.py | 17 | ${PYSITELIB}/playhouse/apsw_ext.py | |
14 | ${PYSITELIB}/playhouse/apsw_ext.pyc | 18 | ${PYSITELIB}/playhouse/apsw_ext.pyc | |
15 | ${PYSITELIB}/playhouse/apsw_ext.pyo | 19 | ${PYSITELIB}/playhouse/apsw_ext.pyo | |
16 | ${PYSITELIB}/playhouse/dataset.py | 20 | ${PYSITELIB}/playhouse/dataset.py |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.38 2018/07/04 03:56:46 adam Exp $ | 1 | $NetBSD: distinfo,v 1.39 2018/07/20 09:38:49 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (peewee-3.5.2.tar.gz) = 6b0f5fbad8a923edf4d2a25f99e3dbd066a13127 | 3 | SHA1 (peewee-3.6.4.tar.gz) = 74ee91e99de078fdd1707de0cd93ea977ea00efc | |
4 | RMD160 (peewee-3.5.2.tar.gz) = 1b0f9ef34c7462884a0cbb2bb646fe53014d4fcb | 4 | RMD160 (peewee-3.6.4.tar.gz) = 3fb31b0e3cd2b4daa295e30200b17d83f3740d8a | |
5 | SHA512 (peewee-3.5.2.tar.gz) = 85a7f55ce0b81175a6a00ecaef928263a1290dfb3a3845a55f5f4b0808cf6ada583fd8cd744ea3e80009c023b6876523a4738b185bd3f8f2a3274b8762184da2 | 5 | SHA512 (peewee-3.6.4.tar.gz) = ece645742f1b3eaea646fa596c802cb5a867829fb29399185f5e1689f82ca46a3ad2bb3aa10f9bcf010214bce8a2c898a582e8ea7496b175b86d8dffc0f50ee8 | |
6 | Size (peewee-3.5.2.tar.gz) = 1884452 bytes | 6 | Size (peewee-3.6.4.tar.gz) = 2083203 bytes |