summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-22 12:40:01 +0000
committeradam <adam@pkgsrc.org>2017-07-22 12:40:01 +0000
commit81235a71169f2d0986127e9947f25de64dad60dc (patch)
treeaaf74bf90faeed025c3304a32b8ea8cdcd4dc4a8
parentc0221f3adf31e6378e145755833d9965cd90bf47 (diff)
downloadpkgsrc-81235a71169f2d0986127e9947f25de64dad60dc.tar.gz
Release 0.10.2
- fix recognizing whether mocked object is a method or not on Python 3 Release 0.10.1 - fix decode problem in setup.py on Python 3 Release 0.10.0 - new official upstream repository: https://github.com/bkabrda/flexmock/ - new official homepage: https://flexmock.readthedocs.org - adopted the official BSD 2-clause license - add support for calling flexmock module directly - add support for mocking keyword-only args - add support for Python 3.4 and 3.5 - drop support for Python 2.4, 2.5, 3.1 and 3.2 - add ``__version__`` attribute to flexmock module - add various metadata to the package archive - fix properly find out whether function is method or not and thanks to that don't strip first args of functions - fix should_call to work when function returns ``None`` or ``False`` - fix various py.test issues - fix ``CallOrderError`` with same subsequent mocking calls - fix PyPy support issues - various code style issues were fixed, 4-spaces indent is now used
-rw-r--r--devel/py-flexmock/Makefile8
-rw-r--r--devel/py-flexmock/PLIST7
-rw-r--r--devel/py-flexmock/distinfo10
3 files changed, 14 insertions, 11 deletions
diff --git a/devel/py-flexmock/Makefile b/devel/py-flexmock/Makefile
index d9d1859c4d7..d596b5ebfcf 100644
--- a/devel/py-flexmock/Makefile
+++ b/devel/py-flexmock/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.2 2016/06/08 17:43:28 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/07/22 12:40:01 adam Exp $
-DISTNAME= flexmock-0.9.7
+DISTNAME= flexmock-0.10.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/flexmock/}
MAINTAINER= rodent@NetBSD.org
-HOMEPAGE= http://has207.github.com/flexmock
+HOMEPAGE= https://github.com/bkabrda/flexmock/
COMMENT= Mock/Stub/Spy library for Python
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-flexmock/PLIST b/devel/py-flexmock/PLIST
index 0f2b150f583..450793d7e5a 100644
--- a/devel/py-flexmock/PLIST
+++ b/devel/py-flexmock/PLIST
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2014/06/14 13:53:44 rodent Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.2 2017/07/22 12:40:01 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/flexmock.py
${PYSITELIB}/flexmock.pyc
${PYSITELIB}/flexmock.pyo
diff --git a/devel/py-flexmock/distinfo b/devel/py-flexmock/distinfo
index 0e082b019e2..411b2ffc1d8 100644
--- a/devel/py-flexmock/distinfo
+++ b/devel/py-flexmock/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:29:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/07/22 12:40:01 adam Exp $
-SHA1 (flexmock-0.9.7.tar.gz) = b0fcd20d3755e6d4d008e15a9eda583e702e6ae9
-RMD160 (flexmock-0.9.7.tar.gz) = 079d0ffa06749b17d9cb65d8270c46f5298c96a2
-SHA512 (flexmock-0.9.7.tar.gz) = 87e9f9595c3ce7c948b45fbfef320aa068a5178e4413f11f1a612a7fe704016f1f2ffa7d0b192cf23664303b0f95a588f0585992ca8d3a660a35afa61de8fa79
-Size (flexmock-0.9.7.tar.gz) = 24997 bytes
+SHA1 (flexmock-0.10.2.tar.gz) = 4645c1d86b4976a873ab5922342f31bc28d41ac9
+RMD160 (flexmock-0.10.2.tar.gz) = 030d39b99996c1387967cd40d1be6eeee281e554
+SHA512 (flexmock-0.10.2.tar.gz) = 6824da47af260a93ad685b66bcbd2d9a93f98eec218242e0dd9ef885594d9218e4c7170c832a0b3ea3cf201896ec1efc2afacbffe1fc5dab032240369d7b3ac3
+Size (flexmock-0.10.2.tar.gz) = 44425 bytes