From owner-svn-ports-all@freebsd.org Fri Jun 24 23:02:45 2016 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 BA150B80320; Fri, 24 Jun 2016 23:02:45 +0000 (UTC) (envelope-from cpm@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 751C9187B; Fri, 24 Jun 2016 23:02:45 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5ON2ihT026464; Fri, 24 Jun 2016 23:02:44 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5ON2iI3026459; Fri, 24 Jun 2016 23:02:44 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201606242302.u5ON2iI3026459@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Fri, 24 Jun 2016 23:02:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417450 - in head/textproc: . py-beautifulsoup4 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.22 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, 24 Jun 2016 23:02:45 -0000 Author: cpm Date: Fri Jun 24 23:02:44 2016 New Revision: 417450 URL: https://svnweb.freebsd.org/changeset/ports/417450 Log: New port: textproc/py-beautifulsoup4 Beautiful Soup is a Python library designed for quick turnaround projects like screen-scraping. Three features make it powerful: Beautiful Soup provides a few simple methods and Pythonic idioms for navigating, searching, and modifying a parse tree: a toolkit for dissecting a document and extracting what you need. It doesn't take much code to write an application. Beautiful Soup automatically converts incoming documents to Unicode and outgoing documents to UTF-8. You don't have to think about encodings, unless the document doesn't specify an encoding and Beautiful Soup can't detect one. Then you just have to specify the original encoding. Beautiful Soup sits on top of popular Python parsers like lxml and html5lib, allowing you to try out different parsing strategies or trade speed for flexibility. WWW: https://www.crummy.com/software/BeautifulSoup/ Submitted by: me Reviewed by: amdmi3, feld (mentors) Approved by: amdmi3, feld (mentors) Differential Revision: D6937 Added: head/textproc/py-beautifulsoup4/ head/textproc/py-beautifulsoup4/Makefile (contents, props changed) head/textproc/py-beautifulsoup4/distinfo (contents, props changed) head/textproc/py-beautifulsoup4/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Fri Jun 24 21:27:50 2016 (r417449) +++ head/textproc/Makefile Fri Jun 24 23:02:44 2016 (r417450) @@ -1219,6 +1219,7 @@ SUBDIR += py-acora SUBDIR += py-alabaster SUBDIR += py-asv + SUBDIR += py-beautifulsoup4 SUBDIR += py-bugzillatools SUBDIR += py-chardet SUBDIR += py-cloud_sptheme Added: head/textproc/py-beautifulsoup4/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-beautifulsoup4/Makefile Fri Jun 24 23:02:44 2016 (r417450) @@ -0,0 +1,35 @@ +# Created by: Carlos J. Puga Medina +# $FreeBSD$ + +PORTNAME= beautifulsoup4 +PORTVERSION= 4.4.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= cpm@FreeBSD.org +COMMENT= Python screen-scraping library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING.txt + +OPTIONS_DEFINE= DOCS + +DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx +DOCS_PORTDOCS= * +DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_ext + +USES= python:3 +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-build-DOCS-on: + (cd ${WRKSRC}/doc ; ${MAKE} html) + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/build/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") + +.include Added: head/textproc/py-beautifulsoup4/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-beautifulsoup4/distinfo Fri Jun 24 23:02:44 2016 (r417450) @@ -0,0 +1,3 @@ +TIMESTAMP = 1466692802 +SHA256 (beautifulsoup4-4.4.1.tar.gz) = 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4 +SIZE (beautifulsoup4-4.4.1.tar.gz) = 152140 Added: head/textproc/py-beautifulsoup4/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-beautifulsoup4/pkg-descr Fri Jun 24 23:02:44 2016 (r417450) @@ -0,0 +1,18 @@ +Beautiful Soup is a Python library designed for quick turnaround projects like +screen-scraping. + +Three features make it powerful: + +1. Beautiful Soup provides a few simple methods and Pythonic idioms for +navigating, searching, and modifying a parse tree: a toolkit for dissecting +a document and extracting what you need. It doesn't take much code to write +an application. +2. Beautiful Soup automatically converts incoming documents to Unicode and +outgoing documents to UTF-8. You don't have to think about encodings, unless +the document doesn't specify an encoding and Beautiful Soup can't detect one. +Then you just have to specify the original encoding. +3. Beautiful Soup sits on top of popular Python parsers like lxml and html5lib, +allowing you to try out different parsing strategies or trade speed for +flexibility. + +WWW: https://www.crummy.com/software/BeautifulSoup/