Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162201989
D6937.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D6937.id.diff
View Options
Index: head/textproc/Makefile
===================================================================
--- head/textproc/Makefile
+++ head/textproc/Makefile
@@ -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
Index: head/textproc/py-beautifulsoup4/Makefile
===================================================================
--- head/textproc/py-beautifulsoup4/Makefile
+++ head/textproc/py-beautifulsoup4/Makefile
@@ -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>
Index: head/textproc/py-beautifulsoup4/distinfo
===================================================================
--- head/textproc/py-beautifulsoup4/distinfo
+++ head/textproc/py-beautifulsoup4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1466692802
+SHA256 (beautifulsoup4-4.4.1.tar.gz) = 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4
+SIZE (beautifulsoup4-4.4.1.tar.gz) = 152140
Index: head/textproc/py-beautifulsoup4/pkg-descr
===================================================================
--- head/textproc/py-beautifulsoup4/pkg-descr
+++ head/textproc/py-beautifulsoup4/pkg-descr
@@ -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/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 11, 8:42 PM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34973462
Default Alt Text
D6937.id.diff (2 KB)
Attached To
Mode
D6937: [NEW PORT] textproc/py-beautifulsoup4: Python screen-scraping library
Attached
Detach File
Event Timeline
Log In to Comment