pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-cherrypy py-cherrypy: updated to 12.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8d85eb1f061
branches:  trunk
changeset: 372212:f8d85eb1f061
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 29 14:09:55 2017 +0000

description:
py-cherrypy: updated to 12.0.1

v12.0.1
* Fixed issues importing cherrypy.test.webtest (by creating
  a module and importing classes from cheroot) and added a
  corresponding DeprecationWarning.

diffstat:

 www/py-cherrypy/Makefile |  28 +++++++++++++++++-----------
 www/py-cherrypy/PLIST    |  10 +++++-----
 www/py-cherrypy/distinfo |  10 +++++-----
 3 files changed, 27 insertions(+), 21 deletions(-)

diffs (83 lines):

diff -r 0e95b822f436 -r f8d85eb1f061 www/py-cherrypy/Makefile
--- a/www/py-cherrypy/Makefile  Wed Nov 29 14:09:10 2017 +0000
+++ b/www/py-cherrypy/Makefile  Wed Nov 29 14:09:55 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2017/07/19 17:32:38 adam Exp $
+# $NetBSD: Makefile,v 1.22 2017/11/29 14:09:55 adam Exp $
 
-DISTNAME=      CherryPy-11.0.0
+DISTNAME=      CherryPy-12.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/CherryPy/}
@@ -10,16 +10,22 @@
 COMMENT=       CherryPy is a pythonic, object-oriented HTTP framework
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         # none
-
-REPLACE_PYTHON+=       cherrypy/test/sessiondemo.py
+DEPENDS+=      ${PYPKGPREFIX}-cheroot>=5.9.1:../../www/py-cheroot
+DEPENDS+=      ${PYPKGPREFIX}-jaraco.classes-[0-9]*:../../devel/py-jaraco.classes
+DEPENDS+=      ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-portend>=2.1.1:../../net/py-portend
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+# TEST
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
 
-DEPENDS+=      ${PYPKGPREFIX}-cheroot>=5.2.0:../../www/py-cheroot
-DEPENDS+=      ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
-DEPENDS+=      ${PYPKGPREFIX}-portend>=2.1.1:../../net/py-portend
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} cherryd cherryd${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0e95b822f436 -r f8d85eb1f061 www/py-cherrypy/PLIST
--- a/www/py-cherrypy/PLIST     Wed Nov 29 14:09:10 2017 +0000
+++ b/www/py-cherrypy/PLIST     Wed Nov 29 14:09:55 2017 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.12 2017/04/23 07:03:16 wiz Exp $
-bin/cherryd
+@comment $NetBSD: PLIST,v 1.13 2017/11/29 14:09:55 adam Exp $
+bin/cherryd${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -231,9 +231,9 @@
 ${PYSITELIB}/cherrypy/test/test_httpauth.py
 ${PYSITELIB}/cherrypy/test/test_httpauth.pyc
 ${PYSITELIB}/cherrypy/test/test_httpauth.pyo
-${PYSITELIB}/cherrypy/test/test_httplib.py
-${PYSITELIB}/cherrypy/test/test_httplib.pyc
-${PYSITELIB}/cherrypy/test/test_httplib.pyo
+${PYSITELIB}/cherrypy/test/test_httputil.py
+${PYSITELIB}/cherrypy/test/test_httputil.pyc
+${PYSITELIB}/cherrypy/test/test_httputil.pyo
 ${PYSITELIB}/cherrypy/test/test_iterator.py
 ${PYSITELIB}/cherrypy/test/test_iterator.pyc
 ${PYSITELIB}/cherrypy/test/test_iterator.pyo
diff -r 0e95b822f436 -r f8d85eb1f061 www/py-cherrypy/distinfo
--- a/www/py-cherrypy/distinfo  Wed Nov 29 14:09:10 2017 +0000
+++ b/www/py-cherrypy/distinfo  Wed Nov 29 14:09:55 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2017/07/19 17:32:38 adam Exp $
+$NetBSD: distinfo,v 1.16 2017/11/29 14:09:55 adam Exp $
 
-SHA1 (CherryPy-11.0.0.tar.gz) = f1a97e0b8f94b5bfdb0d321603d4f095e2d1c66d
-RMD160 (CherryPy-11.0.0.tar.gz) = 097cdb2f7be28792abcf1673314c68d1af9edb4b
-SHA512 (CherryPy-11.0.0.tar.gz) = 0b32cc82584a76a369bd03f381610edfcebcd610f30014a7eb18d8ea2a28ec0bf78217b0d595a38241f76138087aaee1e19dff3f78872f4cd7605dcbd557d4fb
-Size (CherryPy-11.0.0.tar.gz) = 688710 bytes
+SHA1 (CherryPy-12.0.1.tar.gz) = 77e47df5dd990283f33cabf7cec93e054f48e1bd
+RMD160 (CherryPy-12.0.1.tar.gz) = d846e47468445b994cb2f84772a7dc20321e58ea
+SHA512 (CherryPy-12.0.1.tar.gz) = ab83fa86273126463a488621937aaea2691715073dea10fc56ffcd7a13574b718af5b441f4feda434791dc922187079ba76c1227c5dd6ff6410da99048cf1149
+Size (CherryPy-12.0.1.tar.gz) = 686320 bytes



Home | Main Index | Thread Index | Old Index