Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 15:28:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460612 - in head/deskutils/recoll: . files
Message-ID:  <201802011528.w11FSPf8083235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb  1 15:28:25 2018
New Revision: 460612
URL: https://svnweb.freebsd.org/changeset/ports/460612

Log:
  Bring back compiled python files, and add a way to handle them correctyly wrt. python 3

Modified:
  head/deskutils/recoll/Makefile
  head/deskutils/recoll/files/patch-Makefile.in
  head/deskutils/recoll/pkg-plist

Modified: head/deskutils/recoll/Makefile
==============================================================================
--- head/deskutils/recoll/Makefile	Thu Feb  1 15:23:57 2018	(r460611)
+++ head/deskutils/recoll/Makefile	Thu Feb  1 15:28:25 2018	(r460612)
@@ -3,7 +3,7 @@
 
 PORTNAME=	recoll
 PORTVERSION=	1.23.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
 MASTER_SITES=	http://www.lesbonscomptes.com/recoll/
 
@@ -27,6 +27,7 @@ SHEBANG_FILES=	filters/*.py desktop/hotrecoll.py \
 		filters/rclics filters/rclinfo filters/rclkar \
 		filters/rclpython filters/rclrar filters/rcltar \
 		filters/rclwar filters/rclzip
+USE_PYTHON=	py3kplist
 USE_GNOME=	libxslt:run
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-pic

Modified: head/deskutils/recoll/files/patch-Makefile.in
==============================================================================
--- head/deskutils/recoll/files/patch-Makefile.in	Thu Feb  1 15:23:57 2018	(r460611)
+++ head/deskutils/recoll/files/patch-Makefile.in	Thu Feb  1 15:28:25 2018	(r460612)
@@ -5,7 +5,7 @@
  @MAKEPYTHON_TRUE@        fi; \
  @MAKEPYTHON_TRUE@        set -x; \
 -@MAKEPYTHON_TRUE@        python setup.py install \
-+@MAKEPYTHON_TRUE@        ${PYTHON_CMD} setup.py install --no-compile \
++@MAKEPYTHON_TRUE@        ${PYTHON_CMD} setup.py install \
  @MAKEPYTHON_TRUE@         --prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON})
  @MAKEPYTHON_TRUE@clean-local: recollpython-clean
  @MAKEPYTHON_TRUE@recollpython-clean:

Modified: head/deskutils/recoll/pkg-plist
==============================================================================
--- head/deskutils/recoll/pkg-plist	Thu Feb  1 15:23:57 2018	(r460611)
+++ head/deskutils/recoll/pkg-plist	Thu Feb  1 15:28:25 2018	(r460612)
@@ -2,7 +2,9 @@
 bin/recollindex
 %%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
 %%PYTHON_SITELIBDIR%%/recoll/__init__.py
+%%PYTHON_SITELIBDIR%%/recoll/__init__.pyc
 %%PYTHON_SITELIBDIR%%/recoll/rclconfig.py
+%%PYTHON_SITELIBDIR%%/recoll/rclconfig.pyc
 %%PYTHON_SITELIBDIR%%/recoll/rclextract.so
 %%PYTHON_SITELIBDIR%%/recoll/recoll.so
 lib/recoll/librecoll-%%VERSION%%.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802011528.w11FSPf8083235>