From owner-svn-ports-head@freebsd.org Fri Jul 12 17:20:34 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DC2915D08D6; Fri, 12 Jul 2019 17:20:34 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83A5682600; Fri, 12 Jul 2019 17:20:33 +0000 (UTC) (envelope-from kai@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E67D19850; Fri, 12 Jul 2019 17:20:33 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6CHKXrb098093; Fri, 12 Jul 2019 17:20:33 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6CHKX3c098082; Fri, 12 Jul 2019 17:20:33 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201907121720.x6CHKX3c098082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Fri, 12 Jul 2019 17:20:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506483 - head/textproc/py-ocrmypdf X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: head/textproc/py-ocrmypdf X-SVN-Commit-Revision: 506483 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 83A5682600 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Fri, 12 Jul 2019 17:20:34 -0000 Author: kai Date: Fri Jul 12 17:20:32 2019 New Revision: 506483 URL: https://svnweb.freebsd.org/changeset/ports/506483 Log: textproc/py-ocrmypdf: Apply workaround for missing files a bit earlier * The post-stage target runs very late in the install process and should be only used if the post-install target ran too early. Thus place the workaround that copes with the missing files to the post-install target where it fits better. Suggested by: mat Modified: head/textproc/py-ocrmypdf/Makefile Modified: head/textproc/py-ocrmypdf/Makefile ============================================================================== --- head/textproc/py-ocrmypdf/Makefile Fri Jul 12 16:56:53 2019 (r506482) +++ head/textproc/py-ocrmypdf/Makefile Fri Jul 12 17:20:32 2019 (r506483) @@ -62,7 +62,7 @@ NO_ARCH= yes # # See here for a related issue from another port (audio/py-sounddevice): # https://github.com/spatialaudio/python-sounddevice/issues/116 -post-stage: +post-install: ${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.opt-1.pyc" >> ${_PYTHONPKGLIST} ${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.pyc" >> ${_PYTHONPKGLIST} ${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/_leptonica.py" >> ${_PYTHONPKGLIST}