From owner-svn-ports-head@freebsd.org Sat Oct 22 10:55:55 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27045C1DDA5; Sat, 22 Oct 2016 10:55:55 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 021E413A; Sat, 22 Oct 2016 10:55:54 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9MAtsSX086116; Sat, 22 Oct 2016 10:55:54 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9MAtrCp086113; Sat, 22 Oct 2016 10:55:53 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201610221055.u9MAtrCp086113@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 22 Oct 2016 10:55:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424464 - in head/devel/py-simplejson: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 10:55:55 -0000 Author: koobs Date: Sat Oct 22 10:55:53 2016 New Revision: 424464 URL: https://svnweb.freebsd.org/changeset/ports/424464 Log: devel/py-simplejson: Update to 3.9.0 - Update PORTVERSION and distinfo checksum (3.9.0) - Add USES=python comment about specific versions supported - Add LICENSE_FILE - Patch setup.py to run tests properly using test_suite - Update test target to use PYDISTUTILS_SETUP (not PYSETUP) https://github.com/simplejson/simplejson/blob/v3.9.0/CHANGES.txt Reported by: portscout Approved by: python (maintainer, with hat) Added: head/devel/py-simplejson/files/ head/devel/py-simplejson/files/patch-setup.py (contents, props changed) Modified: head/devel/py-simplejson/Makefile head/devel/py-simplejson/distinfo Modified: head/devel/py-simplejson/Makefile ============================================================================== --- head/devel/py-simplejson/Makefile Sat Oct 22 10:48:35 2016 (r424463) +++ head/devel/py-simplejson/Makefile Sat Oct 22 10:55:53 2016 (r424464) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= simplejson -PORTVERSION= 3.8.2 +PORTVERSION= 3.9.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +12,9 @@ COMMENT= Simple, fast, extensible JSON e # dual-licensed under MIT and Academic Free License version 2.1 LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt +# 2.5-2.7,3.3+ USES= python USE_PYTHON= autoplist distutils @@ -20,6 +22,6 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/simplejson/_speedups.so do-test: - cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Modified: head/devel/py-simplejson/distinfo ============================================================================== --- head/devel/py-simplejson/distinfo Sat Oct 22 10:48:35 2016 (r424463) +++ head/devel/py-simplejson/distinfo Sat Oct 22 10:55:53 2016 (r424464) @@ -1,2 +1,3 @@ -SHA256 (simplejson-3.8.2.tar.gz) = d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f -SIZE (simplejson-3.8.2.tar.gz) = 76578 +TIMESTAMP = 1477131606 +SHA256 (simplejson-3.9.0.tar.gz) = e9abeee37424f4bfcd27d001d943582fb8c729ffc0b74b72bd0e9b626ed0d1b6 +SIZE (simplejson-3.9.0.tar.gz) = 77211 Added: head/devel/py-simplejson/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-simplejson/files/patch-setup.py Sat Oct 22 10:55:53 2016 (r424464) @@ -0,0 +1,37 @@ +--- setup.py.orig 2016-10-21 07:55:07 UTC ++++ setup.py +@@ -64,25 +64,8 @@ class ve_build_ext(build_ext): + raise BuildFailed() + + +-class TestCommand(Command): +- user_options = [] +- +- def initialize_options(self): +- pass +- +- def finalize_options(self): +- pass +- +- def run(self): +- import sys, subprocess +- raise SystemExit( +- subprocess.call([sys.executable, +- # Turn on deprecation warnings +- '-Wd', +- 'simplejson/tests/__init__.py'])) +- + def run_setup(with_binary): +- cmdclass = dict(test=TestCommand) ++ cmdclass = dict() + if with_binary: + kw = dict( + ext_modules = [ +@@ -105,6 +88,7 @@ def run_setup(with_binary): + license="MIT License", + packages=['simplejson', 'simplejson.tests'], + platforms=['any'], ++ test_suite='simplejson.tests', + **kw) + + try: