View | Details | Raw Unified | Return to bug 186751
Collapse All | Expand All

(-)py-feedparser.new/Makefile (-19 / +19 lines)
Lines 1-36 Link Here
1
# Created by: ijliao
1
# Created by: ijliao
2
# $FreeBSD: head/textproc/py-feedparser/Makefile 341799 2014-01-30 03:13:00Z miwi $
2
# $FreeBSD: head/textproc/py-feedparser/Makefile 341799 2014-01-30 03:13:00Z miwi $
3
3
4
PORTNAME=	feedparser
4
PORTNAME=feedparser
5
PORTVERSION=	5.1.3
5
PORTVERSION=5.1.3
6
PORTREVISION=	1
6
PORTREVISION=2
7
CATEGORIES=	textproc python
7
CATEGORIES=textproc python
8
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=MASTER_SITE_GOOGLE_CODE
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}
10
11
MAINTAINER=	sbz@FreeBSD.org
12
COMMENT=	RSS feed parser written in Python
13
10
14
LICENSE=	BSD
11
MAINTAINER=sbz@FreeBSD.org
12
COMMENT=Newsfeed parser library written in Python
15
13
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet
14
LICENSE=MIT
17
15
18
USE_PYTHON=	yes
16
USE_PYTHON=2.4+
19
USE_BZIP2=	yes
17
USE_BZIP2=yes
20
USE_PYDISTUTILS=yes
18
USE_PYDISTUTILS=yes
21
PYDISTUTILS_AUTOPLIST=	yes
19
PYDISTUTILS_AUTOPLIST=yes
22
20
23
OPTIONS_DEFINE=	DOCS
21
OPTIONS_DEFINE=DOCS
24
22
25
PORTDOCS=	NEWS PKG-INFO README
23
PORTDOCS=NEWS PKG-INFO README
26
24
27
.include <bsd.port.options.mk>
25
.include <bsd.port.options.mk>
28
26
29
post-install:
27
post-install:
30
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
28
.if ${PORT_OPTIONS:MDOCS}
31
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
29
	${MKDIR} ${STAGEDIR}${DOCSDIR}
30
	cd ${WORKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
31
.endif
32
32
33
regression-test: extract
33
regression-test: extract
34
	@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py)
34
	cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py
35
35
36
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)py-feedparser.new/pkg-descr (-13 / +8 lines)
Lines 1-16 Link Here
1
Universal Feed Parser is a Python module for downloading and parsing
1
Feedparser is a Python library that parses feeds in all known formats,
2
syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland
2
including Atom, RSS, and RDF. It runs on Python 2.4 and above.
3
RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, and
4
CDF feeds.
5
3
6
To use Universal Feed Parser, you will need Python 2.1 or later.
4
Feedparser is not meant to run standalone; it is a module for you to
7
Universal Feed Parser is not meant to run standalone; it is a module
5
use as part of a larger Python program.
8
for you to use as part of a larger Python program.
9
6
10
Universal Feed Parser is easy to use; the module is self-contained in
7
Feedparser is easy to use; the module is self-contained in a single
11
a single file, feedparser.py, and it has only one public function,
8
file and it has only one public function. It can parse a URL, a
12
parse.  parse takes a number of arguments, but only one is required,
9
local filename, or a raw string containing feed data in any format.
13
and it can be a URL, a local filename, or a raw string containing feed
14
data in any format.
15
10
16
WWW: http://feedparser.org/
11
WWW: http://code.google.com/p/feedparser/

Return to bug 186751