Date: Fri, 24 Jun 2016 23:02:44 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417450 - in head/textproc: . py-beautifulsoup4 Message-ID: <201606242302.u5ON2iI3026459@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <cpm@FreeBSD.org> +# $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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606242302.u5ON2iI3026459>