pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-flexmock



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jul 22 12:40:01 UTC 2017

Modified Files:
        pkgsrc/devel/py-flexmock: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-flexmock/Makefile \
    pkgsrc/devel/py-flexmock/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-flexmock/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-flexmock/Makefile
diff -u pkgsrc/devel/py-flexmock/Makefile:1.2 pkgsrc/devel/py-flexmock/Makefile:1.3
--- pkgsrc/devel/py-flexmock/Makefile:1.2       Wed Jun  8 17:43:28 2016
+++ pkgsrc/devel/py-flexmock/Makefile   Sat Jul 22 12:40:01 2017
@@ -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@localhost
-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"
Index: pkgsrc/devel/py-flexmock/distinfo
diff -u pkgsrc/devel/py-flexmock/distinfo:1.2 pkgsrc/devel/py-flexmock/distinfo:1.3
--- pkgsrc/devel/py-flexmock/distinfo:1.2       Tue Nov  3 03:29:07 2015
+++ pkgsrc/devel/py-flexmock/distinfo   Sat Jul 22 12:40:01 2017
@@ -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

Index: pkgsrc/devel/py-flexmock/PLIST
diff -u pkgsrc/devel/py-flexmock/PLIST:1.1 pkgsrc/devel/py-flexmock/PLIST:1.2
--- pkgsrc/devel/py-flexmock/PLIST:1.1  Sat Jun 14 13:53:44 2014
+++ pkgsrc/devel/py-flexmock/PLIST      Sat Jul 22 12:40:01 2017
@@ -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



Home | Main Index | Thread Index | Old Index