From owner-svn-ports-all@freebsd.org Tue Jun 6 09:56:51 2017 Return-Path: Delivered-To: svn-ports-all@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 776A8BFB909; Tue, 6 Jun 2017 09:56:51 +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 5339A13AF; Tue, 6 Jun 2017 09:56:51 +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 v569uovD026178; Tue, 6 Jun 2017 09:56:50 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v569uo5S026176; Tue, 6 Jun 2017 09:56:50 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201706060956.v569uo5S026176@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 6 Jun 2017 09:56:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442754 - in head/textproc: py-chardet py3-chardet X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 09:56:51 -0000 Author: koobs Date: Tue Jun 6 09:56:50 2017 New Revision: 442754 URL: https://svnweb.freebsd.org/changeset/ports/442754 Log: textproc/py3-chardet: Convert to slave port The last update to www/py-requests [1] requires chardet >= 3.0.2. This commit resulted in pkg-fallout notifications for the www/py3-requests port indicating that the dependency version could not be satisfied: py36-requests-2.17.3 depends on package: py36-chardet>=3.0.2 - not found The textproc/py-chardet port version is 3.0.2, satisfying the dependency and its minimum version requirement, but the textproc/py3-chardet port version is 2.3.0. This is due to the py3-chardet being a copy of, not a slave of, and inheriting values from py-chardet. py3-foo ports are currently a workaround, used to provide Python 3.x versions of dependencies for those ports that are built with Python 3.x. They must be equivalent (in particular in version) to the original port except for overriding the version of python that it will be built with, and any dependencies. Convert textproc/py3-chardet to a slave port accordingly [1] https://svnweb.freebsd.org/changeset/ports/442565 Reported by: pkg-fallout Approved by: koobs (python, with hat) Modified: head/textproc/py-chardet/Makefile head/textproc/py3-chardet/Makefile Modified: head/textproc/py-chardet/Makefile ============================================================================== --- head/textproc/py-chardet/Makefile Tue Jun 6 09:01:17 2017 (r442753) +++ head/textproc/py-chardet/Makefile Tue Jun 6 09:56:50 2017 (r442754) @@ -13,12 +13,12 @@ COMMENT= Universal encoding detector for Python 2 and LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner +BUILD_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis NO_ARCH= yes -USES= python +USES?= python USE_PYTHON= autoplist concurrent distutils do-test: Modified: head/textproc/py3-chardet/Makefile ============================================================================== --- head/textproc/py3-chardet/Makefile Tue Jun 6 09:01:17 2017 (r442753) +++ head/textproc/py3-chardet/Makefile Tue Jun 6 09:56:50 2017 (r442754) @@ -1,21 +1,10 @@ # Created by: Muhammad Moinur Rahman # $FreeBSD$ -PORTNAME= chardet -PORTVERSION= 2.3.0 -PORTREVISION= 1 -CATEGORIES= textproc python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +MASTERDIR= ${.CURDIR}/../py-chardet -MAINTAINER= bofh@FreeBSD.org -COMMENT= Universal encoding detector for Python 3 +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py3-pytest-runner -LICENSE= LGPL21 -LICENSE_FILE= ${WRKSRC}/LICENSE - USES= python:3.3+ -USE_PYTHON= autoplist concurrent distutils -NO_ARCH= yes -.include +.include "${MASTERDIR}/Makefile"