From owner-svn-ports-head@freebsd.org Thu Dec 7 16:00:26 2017 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 150ECE8AEE9; Thu, 7 Dec 2017 16:00:26 +0000 (UTC) (envelope-from sunpoet@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 4661869BD1; Thu, 7 Dec 2017 16:00:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB7G0Nqt087693; Thu, 7 Dec 2017 16:00:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB7G0Nex087690; Thu, 7 Dec 2017 16:00:23 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201712071600.vB7G0Nex087690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 7 Dec 2017 16:00:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455712 - in head/ftp/py-pycurl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/ftp/py-pycurl: . files X-SVN-Commit-Revision: 455712 X-SVN-Commit-Repository: ports 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.25 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: Thu, 07 Dec 2017 16:00:26 -0000 Author: sunpoet Date: Thu Dec 7 16:00:23 2017 New Revision: 455712 URL: https://svnweb.freebsd.org/changeset/ports/455712 Log: Add DOCS option - Fix documentation installation: - Avoid conflicts between FLAVORS - Do not install license files - Bump PORTREVISION for package change PR: 224108 Reported by: Ting-Wei Lan Added: head/ftp/py-pycurl/files/ head/ftp/py-pycurl/files/patch-setup.py (contents, props changed) Modified: head/ftp/py-pycurl/Makefile Modified: head/ftp/py-pycurl/Makefile ============================================================================== --- head/ftp/py-pycurl/Makefile Thu Dec 7 16:00:18 2017 (r455711) +++ head/ftp/py-pycurl/Makefile Thu Dec 7 16:00:23 2017 (r455712) @@ -3,6 +3,7 @@ PORTNAME= pycurl PORTVERSION= 7.43.0 +PORTREVISION= 1 CATEGORIES= ftp python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,10 +18,18 @@ LICENSE_MIT= ${WRKSRC}/COPYING-MIT LIB_DEPENDS= libcurl.so:ftp/curl +OPTIONS_DEFINE= DOCS + USE_PYTHON= autoplist concurrent distutils USES= python ssl +PORTDOCS= AUTHORS INSTALL.rst README.rst RELEASE-NOTES.rst + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}.so + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Added: head/ftp/py-pycurl/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/py-pycurl/files/patch-setup.py Thu Dec 7 16:00:23 2017 (r455712) @@ -0,0 +1,10 @@ +--- setup.py.orig 2016-02-04 04:39:06 UTC ++++ setup.py +@@ -815,7 +815,6 @@ if __name__ == "__main__": + elif len(sys.argv) > 1 and sys.argv[1] == 'docstrings-sources': + gen_docstrings_sources() + else: +- setup_args['data_files'] = get_data_files() + if 'PYCURL_RELEASE' in os.environ and os.environ['PYCURL_RELEASE'].lower() in ['1', 'yes', 'true']: + split_extension_source = False + else: