maintenance update to py-peewee-2.8.3
while there: - add a test target - disable the use of cython
This commit is contained in:
parent
e97f84e130
commit
279bfe472f
@ -1,12 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2016/04/16 19:06:25 shadchin Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2016/09/17 15:33:39 danj Exp $
|
||||
|
||||
PKG_ARCH= *
|
||||
COMMENT= small expressive ORM
|
||||
|
||||
MODPY_EGG_VERSION= 2.8.0
|
||||
MODPY_EGG_VERSION= 2.8.3
|
||||
DISTNAME= peewee-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
REVISION= 1
|
||||
|
||||
GH_ACCOUNT= coleifer
|
||||
GH_PROJECT= peewee
|
||||
GH_TAGNAME= ${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES= databases
|
||||
|
||||
@ -15,11 +18,7 @@ HOMEPAGE= http://docs.peewee-orm.com/
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
GH_ACCOUNT= coleifer
|
||||
GH_PROJECT= peewee
|
||||
GH_TAGNAME= ${MODPY_EGG_VERSION}
|
||||
|
||||
BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
|
||||
BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
|
||||
|
||||
FLAVORS= python3
|
||||
FLAVOR?=
|
||||
@ -41,4 +40,7 @@ post-install:
|
||||
cd ${WRKSRC}/examples && pax -rw * ${EXAMPLES}
|
||||
mv ${PREFIX}/bin/pwiz.py ${PREFIX}/bin/pwiz${MODPY_BIN_SUFFIX}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${MODPY_BIN} tests.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (peewee-2.8.0.tar.gz) = XuJx1MobGQTdep2ZEr3CpaR7e1SsHo5pUNuhtbdGoNE=
|
||||
SIZE (peewee-2.8.0.tar.gz) = 615679
|
||||
SHA256 (peewee-2.8.3.tar.gz) = NW3QQbn6Ztbny8T/ROyHhFq/fXRxQn13vvD4+jye2dw=
|
||||
SIZE (peewee-2.8.3.tar.gz) = 639529
|
||||
|
@ -1,14 +1,25 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1 2016/04/06 17:47:59 danj Exp $
|
||||
$OpenBSD: patch-setup_py,v 1.2 2016/09/17 15:33:39 danj Exp $
|
||||
|
||||
For option --single-version-externally-managed
|
||||
1. For option --single-version-externally-managed
|
||||
2. Disable cython
|
||||
|
||||
--- setup.py.orig Fri Apr 1 20:25:54 2016
|
||||
+++ setup.py Fri Apr 1 20:26:10 2016
|
||||
@@ -1,6 +1,6 @@
|
||||
--- setup.py.orig Thu Aug 25 20:17:54 2016
|
||||
+++ setup.py Sun Aug 28 10:12:56 2016
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
-from distutils.core import setup
|
||||
+from setuptools import setup
|
||||
from distutils.extension import Extension
|
||||
from distutils.version import StrictVersion
|
||||
|
||||
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
|
||||
@@ -28,7 +28,7 @@ else:
|
||||
'C extensions, install Cython >=' + cython_min_version +
|
||||
'.')
|
||||
else:
|
||||
- cython_installed = True
|
||||
+ cython_installed = False
|
||||
|
||||
speedups_ext_module = Extension(
|
||||
'playhouse._speedups',
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.8 2016/04/15 08:53:49 shadchin Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.9 2016/09/17 15:33:39 danj Exp $
|
||||
bin/pwiz${MODPY_BIN_SUFFIX}
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}peewee.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pwiz.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@ -33,6 +33,7 @@ lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}shortcuts.${M
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}signals.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}sqlcipher_ext.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}sqlite_ext.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}sqlite_udf.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/${MODPY_PYCACHE}test_utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/apsw_ext.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/berkeleydb.py
|
||||
@ -55,6 +56,7 @@ lib/python${MODPY_VERSION}/site-packages/playhouse/shortcuts.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/signals.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/sqlcipher_ext.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/sqlite_ext.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/sqlite_udf.py
|
||||
lib/python${MODPY_VERSION}/site-packages/playhouse/test_utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pwiz.py
|
||||
share/doc/${MODPY_PY_PREFIX}peewee/
|
||||
|
Loading…
Reference in New Issue
Block a user