From owner-svn-ports-all@freebsd.org Fri Aug 28 15:22:36 2015 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 277639C47CE; Fri, 28 Aug 2015 15:22:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 0B918186E; Fri, 28 Aug 2015 15:22:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7SFMZkF036612; Fri, 28 Aug 2015 15:22:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7SFMYIv036608; Fri, 28 Aug 2015 15:22:34 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201508281522.t7SFMYIv036608@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 28 Aug 2015 15:22:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395496 - in head: . www www/pelican www/py-pelican 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.20 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: Fri, 28 Aug 2015 15:22:36 -0000 Author: koobs Date: Fri Aug 28 15:22:34 2015 New Revision: 395496 URL: https://svnweb.freebsd.org/changeset/ports/395496 Log: www/pelican: Prefix according to Python conventions - Rename (move) according to Python package naming conventions [1] - Switch temporarily to GITHUB for source files until missing content files for the test suite is merged/fixed [2] - Add python (virtual category) to CATEGORIES - Add LICENSE_FILE - Add OPTIONS for Markdown and Syntax Highlighting, they are OPTION'al features - Add MARKDOWN and SYNTAX to OPTIONS_DEFAULT (for package convenience). - Use OPTIONS helpers for TESTS option. - Refactor TEST_DEPENDS so it only declares tests_require, moving the RUN_DEPENDS assignment to TESTS_BUILD_DEPENDS. - Rename TEST option to TESTS to match other Python ports, and tweak description to canonicalize - Deprecate OPTIONSFILE override (no longer necessary) - Canonicalize regression-test target, so it gets the setuptools wrapped setup.py arguments for proper 'test' command support. - Re-order makefile sections (DEPENDS|USES|OPTIONS) While here: - Add MOVED entry - Update www/Makefile [1] https://wiki.freebsd.org/Python/PortsPolicy [2] https://github.com/getpelican/pelican/pull/1793 Reviewed by: jlaffaye (maintainer) Approved by: jlaffaye (maintainer) Differential Revision: https://reviews.freebsd.org/D3328 Added: head/www/py-pelican/ - copied from r395493, head/www/pelican/ Deleted: head/www/pelican/ Modified: head/MOVED head/www/Makefile head/www/py-pelican/Makefile head/www/py-pelican/distinfo Modified: head/MOVED ============================================================================== --- head/MOVED Fri Aug 28 15:19:55 2015 (r395495) +++ head/MOVED Fri Aug 28 15:22:34 2015 (r395496) @@ -7848,3 +7848,4 @@ print/ghostscript9|print/ghostscript9-ba print/ghostscript9-nox11|print/ghostscript9-base|2015-08-22|Integrated into print/ghostscript9-base print/ghostscript9-agpl|print/ghostscript9-agpl-base|2015-08-22|Split into print/ghostscript9-agpl-base and print/ghostscript9-agpl-x11 print/ghostscript9-agpl-nox11|print/ghostscript9-agpl-base|2015-08-22|Integrated into print/ghostscript9-agpl-base +www/pelican|www/py-pelican|2015-08-29|Rename to match Python naming conventions Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Aug 28 15:19:55 2015 (r395495) +++ head/www/Makefile Fri Aug 28 15:22:34 2015 (r395496) @@ -1434,7 +1434,6 @@ SUBDIR += pecl-yaf SUBDIR += pecl-yar SUBDIR += pecl-zendopcache - SUBDIR += pelican SUBDIR += perlbal SUBDIR += pglogd SUBDIR += phalcon @@ -1618,6 +1617,7 @@ SUBDIR += py-paste SUBDIR += py-pastedeploy SUBDIR += py-pastescript + SUBDIR += py-pelican SUBDIR += py-plone.alterego SUBDIR += py-plone.app.blob SUBDIR += py-plone.app.caching Modified: head/www/py-pelican/Makefile ============================================================================== --- head/www/pelican/Makefile Fri Aug 28 14:57:29 2015 (r395493) +++ head/www/py-pelican/Makefile Fri Aug 28 15:22:34 2015 (r395496) @@ -3,40 +3,43 @@ PORTNAME= pelican PORTVERSION= 3.6.3 -CATEGORIES= www textproc -MASTER_SITES= CHEESESHOP +CATEGORIES= www textproc python MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Static site generator written in Python LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rst2html:${PORTSDIR}/textproc/py-docutils \ - ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:${PORTSDIR}/devel/py-Jinja2 \ - ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:${PORTSDIR}/textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.6:${PORTSDIR}/www/py-feedgenerator \ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker \ ${PYTHON_PKGNAMEPREFIX}unidecode>0:${PORTSDIR}/converters/py-unidecode \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:${PORTSDIR}/devel/py-six \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock -TEST_DEPENDS:= ${RUN_DEPENDS} \ - ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils -OPTIONS_DEFINE= TEST +GH_ACCOUNT= getpelican -.include +OPTIONS_DEFINE= MARKDOWN SYNTAX TESTS +OPTIONS_DEFAULT= MARKDOWN SYNTAX -USES=python -USE_PYTHON=autoplist distutils +MARKDOWN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown -.if ${PORT_OPTIONS:MTEST} -BUILD_DEPENDS:= ${TEST_DEPENDS} -.endif +SYNTAX_DESC= Syntax Highlighting (via pygments) +SYNTAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:${PORTSDIR}/textproc/py-pygments + +TESTS_DESC= Install test suite requirements +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} \ + ${RUN_DEPENDS} regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Modified: head/www/py-pelican/distinfo ============================================================================== --- head/www/pelican/distinfo Fri Aug 28 14:57:29 2015 (r395493) +++ head/www/py-pelican/distinfo Fri Aug 28 15:22:34 2015 (r395496) @@ -1,2 +1,2 @@ -SHA256 (pelican-3.6.3.tar.gz) = 13b9c41ea3342b7eb0fd7f74078b5a8d5035632f05d8680266f50f4c5626c9c2 -SIZE (pelican-3.6.3.tar.gz) = 264389 +SHA256 (getpelican-pelican-3.6.3_GH0.tar.gz) = d19bc7df61afc5b68eba028f0cf0832ee2a12a04a01d7fe11bdfdd847ddd417b +SIZE (getpelican-pelican-3.6.3_GH0.tar.gz) = 775060