Import of py-imdb-1.2

IMDbPY aims to provide an easy way to access the IMDb's database using a
Python script.  Platform-independent and written in pure Python, it's
theoretically independent from the data source (since IMDb provides two
or three different interfaces to their database).

ok sturm@.
This commit is contained in:
xsa 2004-05-07 14:14:06 +00:00
parent 51c5170041
commit dab5c14683
4 changed files with 90 additions and 0 deletions

43
misc/py-imdb/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/05/07 14:14:06 xsa Exp $
COMMENT= "Python package to retrieve data of the IMDb movie database"
V= 1.2
DISTNAME= imdbpy-${V}
PKGNAME= py-imdb-${V}
CATEGORIES= misc
HOMEPAGE= http://imdbpy.sourceforge.net/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imdbpy/}
MODULES= python
WRKDIST= ${WRKDIR}/IMDbPY-${V}
DOCDIR= ${PREFIX}/share/doc/py-imdb
EXAMPLESDIR= ${PREFIX}/share/examples/py-imdb
TESTS= test_imdb.py test_movie.py test_person.py test_utils.py
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README* ${DOCDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/bin/* ${EXAMPLESDIR}
do-regress: fake
.for t in ${TESTS}
@cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./${t}
.endfor
.include <bsd.port.mk>

3
misc/py-imdb/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (imdbpy-1.2.tar.gz) = 0dfd175efa468926fd2753cf2130de5d
RMD160 (imdbpy-1.2.tar.gz) = 06c228a9834b1817e24d2bce5abbd60c1ddcd7d1
SHA1 (imdbpy-1.2.tar.gz) = ca09f719b9949489f18663fd3457c9ea361cfb1f

4
misc/py-imdb/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
IMDbPY aims to provide an easy way to access the IMDb's database using a
Python script. Platform-independent and written in pure Python, it's
theoretically independent from the data source (since IMDb provides two
or three different interfaces to their database).

40
misc/py-imdb/pkg/PLIST Normal file
View File

@ -0,0 +1,40 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/07 14:14:06 xsa Exp $
lib/python${MODPY_VERSION}/site-packages/imdb/Movie.py
lib/python${MODPY_VERSION}/site-packages/imdb/Movie.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/Person.py
lib/python${MODPY_VERSION}/site-packages/imdb/Person.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/__init__.py
lib/python${MODPY_VERSION}/site-packages/imdb/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/_exceptions.py
lib/python${MODPY_VERSION}/site-packages/imdb/_exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/__init__.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/__init__.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/movieParser.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/movieParser.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/personParser.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/personParser.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchMovieParser.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchMovieParser.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchPersonParser.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/searchPersonParser.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/utils.py
lib/python${MODPY_VERSION}/site-packages/imdb/parser/http/utils.pyc
lib/python${MODPY_VERSION}/site-packages/imdb/utils.py
lib/python${MODPY_VERSION}/site-packages/imdb/utils.pyc
share/doc/py-imdb/README.devel
share/doc/py-imdb/README.package
share/doc/py-imdb/README.txt
share/doc/py-imdb/README.users
share/examples/py-imdb/get_first_movie
share/examples/py-imdb/get_first_person
share/examples/py-imdb/get_movie
share/examples/py-imdb/get_person
share/examples/py-imdb/search_movie
share/examples/py-imdb/search_person
@dirrm share/examples/py-imdb
@dirrm share/doc/py-imdb
@dirrm lib/python${MODPY_VERSION}/site-packages/imdb/parser/http
@dirrm lib/python${MODPY_VERSION}/site-packages/imdb/parser
@dirrm lib/python${MODPY_VERSION}/site-packages/imdb