Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 15:08:17 +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: r434538 - in head/devel: . py-setproctitle py3-setproctitle
Message-ID:  <201702211508.v1LF8Hwu029756@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Feb 21 15:08:16 2017
New Revision: 434538
URL: https://svnweb.freebsd.org/changeset/ports/434538

Log:
  - Add py3-setproctitle, python counterpart of py-setproctitle
  - While here, fix PYTHON_SITELIBDIR misuse, don't install license with docs and add PyPi WWW

Added:
  head/devel/py3-setproctitle/
  head/devel/py3-setproctitle/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile
  head/devel/py-setproctitle/Makefile
  head/devel/py-setproctitle/pkg-descr

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Feb 21 14:41:16 2017	(r434537)
+++ head/devel/Makefile	Tue Feb 21 15:08:16 2017	(r434538)
@@ -4909,6 +4909,7 @@
     SUBDIR += py3-python-magic
     SUBDIR += py3-pytz
     SUBDIR += py3-rubymarshal
+    SUBDIR += py3-setproctitle
     SUBDIR += py3-simplejson
     SUBDIR += py3-threema-msgapi
     SUBDIR += py3-vcversioner

Modified: head/devel/py-setproctitle/Makefile
==============================================================================
--- head/devel/py-setproctitle/Makefile	Tue Feb 21 14:41:16 2017	(r434537)
+++ head/devel/py-setproctitle/Makefile	Tue Feb 21 15:08:16 2017	(r434538)
@@ -13,15 +13,15 @@ COMMENT=	Python module to customize the 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-USES=		python
+USES?=		python
 USE_PYTHON=	autoplist distutils
 
-PORTDOCS=	COPYRIGHT HISTORY.rst README.rst
+PORTDOCS=	HISTORY.rst README.rst
 
 OPTIONS_DEFINE=	DOCS
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/setproctitle.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/setproctitle.so
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/devel/py-setproctitle/pkg-descr
==============================================================================
--- head/devel/py-setproctitle/pkg-descr	Tue Feb 21 14:41:16 2017	(r434537)
+++ head/devel/py-setproctitle/pkg-descr	Tue Feb 21 15:08:16 2017	(r434538)
@@ -3,4 +3,5 @@ A setproctitle implementation for Python
 The library allows a process to change its title (as displayed by system tools
 such as ps(1) and top(1).
 
+WWW: https://pypi.python.org/pypi/setproctitle
 WWW: https://github.com/dvarrazzo/py-setproctitle

Added: head/devel/py3-setproctitle/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-setproctitle/Makefile	Tue Feb 21 15:08:16 2017	(r434538)
@@ -0,0 +1,8 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-setproctitle
+
+USES=		python:3
+
+.include "${MASTERDIR}/Makefile"



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